Function at 0x10029720
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049ddc
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1006106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
mov dword [ebp - 4], 0
call fcn.10008f84
add esp, 4
mov dword [ebp - 0x44], eax
push 0x49f
push 0x10062da0
push str.Through
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 3
push 0x100576f8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005e70
mov byte [ebp - 4], 2
movzx ecx, word [0x100619bc]
call fcn.10029cf0
mov ecx, dword [0x100619d4]
lea ebx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov al, cl
sub al, byte [ebp - 0x29]
sub cl, 0x58
mov dl, al
shl al, 3
add dl, al
mov eax, dword [0x10062080]
add dl, cl
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], dl
mov eax, dword [eax + 4]
add eax, 0x10062080
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x30], eax
cmovae ecx, dword [ebp - 0x28]
add esi, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x48]
cmovae ebx, dword [ebp - 0x28]
call fcn.10007c60
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x40]
mov edx, dword [eax]
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
push esi
push ebx
push ecx
mov ecx, eax
call dword [edx + 0x18]
movzx ebx, byte [ebp - 0x29]
mov ecx, 0x189c
cmp word [0x100619fa], cx
mov eax, 0xba
movzx ecx, word [0x100619bc]
cmove ebx, eax
call fcn.10029cf0
push 0x40
push 1
movzx eax, ax
push str.Born_Qua
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
movzx ecx, word [0x100619f0]
movzx eax, word [0x100619f8]
add ecx, eax
cmp ecx, 0x133
jne 0x10029867
movzx ebx, bl
jmp 0x10029871
mov al, byte [ebp - 0x30]
sub al, bl
sub al, 0x46
movzx ebx, al
mov eax, dword [0x100619d0]
movzx ecx, word [0x100619bc]
add eax, 0xffffffa4
lea ebx, [eax + ebx*2]
mov dword [0x100619d0], ebx
call fcn.10029cf0
movzx eax, ax
mov dword [ebp - 0x30], eax
mov eax, dword [0x100619d4]
mov dl, al
sub dl, byte [ebp - 0x30]
sub bl, al
mov eax, dword [0x10062080]
add dl, 7
add bl, 0x68
mov byte [ebp - 0x29], dl
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x38], 1
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x100620b8]
lea esi, [eax + 0x10062080]
lea eax, [ebp - 0x48]
test edi, edi
push eax
sete byte [ebp - 0x54]
call fcn.10007da0
add esp, 4
lea ecx, [ebp - 0x50]
mov edx, dword [eax]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
push 0
push dword [ebp - 0x54]
push edi
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [0x100619d4]
call fcn.10029cf0
mov di, word [ebp - 0x30]
mov edx, 0x3e
movzx ecx, bl
sub dx, cx
mov dword [ebp - 0x38], eax
mov cl, byte [ebp - 0x29]
mov ch, byte [0x100619c6]
mov dword [0x100619d0], eax
mov eax, dword [0x100619d4]
sub dx, ax
add di, dx
xor edx, edx
mov word [ebp - 0x30], di
cmp cl, ch
je 0x10029954
movzx ecx, byte [edx + 0x100619c0]
imul eax, ecx
mov cl, al
add cl, 0xa
add cl, bl
cmp bl, byte [0x100619c9]
je 0x1002995c
mov ch, byte [0x100619c6]
add edx, 2
cmp edx, 0xc
jl 0x10029931
mov dword [0x100619d4], eax
mov eax, dword [ebp - 0x38]
movzx edx, bl
mov byte [ebp - 0x29], cl
cmp eax, edx
jb 0x10029984
add word [0x100619e6], di
mov eax, edx
movzx ecx, di
sub eax, ecx
add eax, 7
mov dword [0x100619d0], eax
mov edx, dword [0x100619d4]
mov esi, 0xb
mov bl, byte [0x100619c6]
movzx ecx, bl
cmp di, cx
je 0x100299c4
add byte [esi + 0x100619c0], 0xc
mov ecx, 0xffb8
mov bl, byte [0x100619c6]
sub ecx, edx
movzx ecx, cx
mov dword [ebp - 0x30], ecx
mov ecx, 0x20c6
mov di, word [ebp - 0x30]
sub ecx, edx
mov edx, ecx
sub esi, 2
test esi, esi
jg 0x10029995
mov ebx, dword [ebp - 0x34]
mov dword [0x100619d4], edx
mov edx, 0x100619f6
nop dword [eax]
movzx ecx, word [0x100619ec]
cmp eax, ecx
je 0x10029a08
add word [edx], di
movzx ecx, bl
movzx eax, di
sub eax, ecx
mov cl, byte [ebp - 0x30]
sub cl, bl
sub eax, 0x54
sub cl, 0x46
mov dword [0x100619d0], eax
mov bl, cl
sub edx, 4
cmp edx, 0x100619e0
jg 0x100299e0
mov ecx, eax
call fcn.100019b0
movzx ecx, byte [0x100619c8]
mov dh, bl
mov dl, byte [ebp - 0x29]
movzx eax, ax
sub dh, dl
mov dword [ebp - 0x30], eax
movzx eax, byte [0x100619cc]
add ecx, eax
mov eax, dword [0x100619d4]
cmp ecx, 0x133
jne 0x10029a4f
add eax, 0xffffffa4
movzx esi, dl
sub dh, 0x46
jmp 0x10029a58
sub dh, 0x46
add eax, 0xffffffa4
movzx esi, dh
movzx edx, dh
lea esi, [eax + esi*2]
movzx eax, word [ebp - 0x30]
mov ecx, edx
sub ecx, eax
add esi, ecx
mov dword [0x100619d4], esi
cmp esi, edx
jb 0x10029a86
add byte [0x100619c3], bl
movzx eax, bl
sub edx, eax
add edx, 7
mov dword [0x100619d4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10029ad4
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x10029acb
test cl, 0x1f
je 0x10029aa7
call fcn.100158a0
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10029ab3
call fcn.100158a0
sub ecx, eax
cmp ecx, 4
jae 0x10029abf
call fcn.100158a0
cmp ecx, 0x23
jbe 0x10029ac9
call fcn.100158a0
mov ecx, eax
push ecx
call fcn.1000b87b
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x10029b05
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10029b05
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000b832
mov esp, ebp
pop ebp
ret 0xc