Function at 0x424440
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4646c5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x47e700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call fcn.00425800
mov esi, dword [ebp + 0xc]
add esp, 4
mov ecx, dword [esi]
dec ecx
cmp ecx, 0xc
ja case.0x424483.5
jmp dword [ecx*4 + 0x424abc]
cmp dword [esi + 4], 0xc350
jne 0x4244b4
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push edi
mov dword [ebp + 0xc], 0
call dword [eax + 0x90]
cmp dword [ebp + 0xc], 0
je 0x4244b4
push 0
jmp 0x424a8a
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x4698cc
push 0x2710
push edi
mov dword [ebp - 4], 1
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4244e6
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 2
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x4698dc
push 0x271f
push edi
mov dword [ebp - 4], 4
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42453f
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 5
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0x4698cc
push 0x2710
push edi
mov dword [ebp - 4], 8
call dword [eax + 0x38]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x424597
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
jmp 0x4245d4
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x4698ec
push 0x2715
push edi
mov byte [ebp - 4], 0xa
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4245c6
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4245d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xc
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x4698ec
push 0x2715
push edi
mov dword [ebp - 4], 0xf
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x424630
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x10
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
cmp ecx, 0xc368
jne 0x4246c6
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x4698fc
push 0x271a
push edi
mov dword [ebp - 4], 0x13
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x424691
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 1
push edi
call fcn.00424100
add esp, 8
mov dword [ebp - 4], 0x14
mov eax, dword [ebp + 0xc]
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
cmp ecx, 0xc352
jne 0x42474f
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x16
push ecx
push 0x4698dc
push 0x271f
push edi
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x424728
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x14], 1
je 0x424725
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x424725
push 0
push dword [esi + 0x2c]
push dword [esi + 0x28]
push edi
call fcn.00424200
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x17
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x19
push ecx
push 0x4698fc
push 0x271a
push edi
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42477f
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x1a
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
cmp ecx, 0xc368
jne 0x4247f7
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x4698fc
push 0x271a
push edi
mov dword [ebp - 4], 0x1c
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4247e0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 0
push edi
call fcn.00424100
add esp, 8
mov dword [ebp - 4], 0x1d
jmp 0x4246a3
mov eax, dword [edi]
cmp ecx, 0xc352
jne 0x424880
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x1f
push ecx
push 0x4698dc
push 0x271f
push edi
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x424859
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x14], 0
je 0x424856
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x424856
push 0
push dword [esi + 0x2c]
push dword [esi + 0x28]
push edi
call fcn.00424200
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x20
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x22
push ecx
push 0x4698fc
push 0x271a
push edi
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4248b0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x23
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0xc353
lea ebx, [esi + 0x14]
jne 0x424905
push dword [ebx]
push 0
push 0x14d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401710
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov dword [ebp - 4], 0x24
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42493c
push 0x104
lea ecx, [ebp - 0x10]
call fcn.004081f0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 0x104
jl 0x424ab0
push 0x104
mov dword [esi - 0xc], 0x104
xor eax, eax
push esi
mov word [esi + 0x208], ax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esi - 8]
push esi
call fcn.00440963
add esp, 8
test eax, eax
js 0x424ab0
cmp eax, dword [esi - 8]
jg 0x424ab0
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov dword [ebp + 0xc], ecx
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x46990c
push 0x2712
push edi
mov byte [ebp - 4], 0x26
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4249f2
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebx, eax
test ebx, ebx
je 0x424aab
mov eax, dword [ebp + 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push ebx
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x4249ef
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401710
push edi
call fcn.00425d90
add esp, 8
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x27
test eax, eax
je 0x424a00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0x46991c
push 0x2714
push edi
mov dword [ebp - 4], 0x29
call dword [eax + 0x38]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x424a65
movsd xmm0, qword [0x469930]
sub esp, 0x10
mov ecx, dword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [esp], xmm0
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0x2a
test eax, eax
je case.0x424483.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push dword [esi + 0x2c]
push dword [esi + 0x28]
push edi
call fcn.00424200
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00409700
push 0x80070057
call fcn.00403310
nop
mov al, byte [edx + eax*2]
lodsd eax, dword [esi]
inc esp
inc edx
add byte [eax - 0x28ffbdb6], cl
dec eax
inc edx
add byte [ecx + 0x5700424a], bl
inc esi
inc edx
add byte [esi + 0xd004247], ah
inc ebp
inc edx
add byte [esi + 0x45], ah
inc edx
add dh, bh
inc ebp
inc edx
add byte [edx], bl
dec edx
inc edx
add byte [ecx - 0x66ffbdb6], bl
dec edx
inc edx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp