Function at 0x4a3850
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1a4a
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x52de08]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
jne 0x4a38b3
mov ecx, dword [8]
cmp ecx, 2
jae 0x4a38b3
mov eax, dword [edi]
mov edx, ecx
add edx, edx
cmp word [eax + edx*8 - 0x10], 8
je 0x4a38b3
add ecx, 0xfffffffe
add ecx, ecx
cmp word [eax + ecx*8], 8
jne 0x4a3b1a
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], ebx
mov eax, dword [edi + 8]
add eax, eax
mov ecx, dword [edi]
mov edx, dword [ecx + eax*8 - 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409830
mov byte [ebp - 4], 1
mov ecx, 0x52ddd4
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
mov ecx, 1
sub ecx, dword [edx - 4]
mov eax, dword [edx - 8]
sub eax, 0x104
or eax, ecx
jge 0x4a3913
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00406e80
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], 0x104
jge 0x4a3926
push 0x80070057
call fcn.00406170
mov dword [edx - 0xc], 0x104
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 0x208], ax
push 0x104
push edx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ab44b
add esp, 8
cmp eax, ebx
jl 0x4a391c
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx - 8]
jg 0x4a391c
mov dword [ecx - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov word [edx + eax*2], cx
mov eax, dword [edi + 8]
add eax, eax
mov ecx, dword [edi]
mov eax, dword [ecx + eax*8 - 0x18]
mov dword [ebp - 0x40], eax
cmp eax, ebx
jne 0x4a398a
xor eax, eax
jmp 0x4a3a2c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdq
mov esi, eax
shld edx, esi, 1
add esi, esi
mov eax, esi
add eax, 0x80000000
adc edx, ebx
mov dword [ebp - 0xb8], edx
jne 0x4a3a27
cmp eax, 0xffffffff
ja 0x4a3a27
cmp esi, 0x400
jg 0x4a39d4
push esi
call fcn.00408750
add esp, 4
test al, al
je 0x4a39d4
mov eax, esi
call fcn.004abc80
mov dword [ebp - 0x10], esp
mov edi, esp
jmp 0x4a39f6
or edx, 0xffffffff
sub edx, esi
cmp edx, 8
jb 0x4a3a1a
lea eax, [esi + 8]
push eax
call fcn.004aabaa
add esp, 4
cmp eax, ebx
je 0x4a3a24
mov dword [eax], ebx
mov dword [ebp - 0x24], eax
lea edi, [eax + 8]
cmp edi, ebx
je 0x4a3a24
mov byte [edi], bl
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
mov eax, dword [ebp - 0x40]
push eax
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp + 0xc]
jmp 0x4a3a29
push 0x80070216
call fcn.00406170
mov edi, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.004068c0
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov eax, dword [edi + 8]
cmp eax, 2
jbe 0x4a3be7
mov ecx, dword [edi]
lea edx, [eax - 3]
add edx, edx
cmp word [ecx + edx*8], 9
jne 0x4a3b43
add eax, eax
cmp dword [ecx + eax*8 - 0x28], ebx
je 0x4a3b43
mov eax, dword [edi + 8]
add eax, eax
mov ecx, dword [ecx + eax*8 - 0x28]
mov edx, dword [ecx]
lea eax, [ebp - 0x20]
push eax
push 0x506d8c
push ecx
mov ecx, dword [edx]
call ecx
cmp eax, ebx
jl 0x4a3a90
cmp dword [ebp - 0x20], ebx
jne 0x4a3be7
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4a3aa3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3ac6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3ae9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3b0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00406da0
mov eax, 0x80070057
lea esp, [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004aaa9b
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4a3b56
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3b79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3b9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x4a3b1a
lea ecx, [ecx]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004aaaaa
add esp, 4
cmp esi, ebx
jne 0x4a3bd0
jmp 0x4a3b1a
lea ecx, [ebp - 0x3c]
call fcn.004a90d0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004a90e0
test al, al
jne 0x4a3cbc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004a9110
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4a3c26
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3c49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3c6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a3c8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x4a3cb2
lea esp, [esp]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004aaaaa
add esp, 4
cmp esi, ebx
jne 0x4a3ca0
mov eax, 0x80004005
jmp 0x4a3b1f
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xbc], 5
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov eax, 0xa
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0x15
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4a4196
mov dword [ebp - 0x6c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 0x44], ebx
jmp 0x4a3d50
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x6c]
jge 0x4a4196
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x20]
push ebx
lea ecx, [ebp - 0x30]
call fcn.004a32a0
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
mov edi, dword [ebp - 0x30]
push edi
mov edx, dword [ebp - 0x44]
push edx
push esi
mov eax, dword [eax + 0x10]
call eax
test eax, eax
js 0x4a4112
lea ecx, [ebp - 0x30]
call fcn.00458d60
test eax, eax
je 0x4a4112
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xac]
push ecx
call fcn.004a3590
add esp, 4
mov byte [ebp - 4], 0x1b
cmp edi, ebx
je 0x4a3dcb
mov ecx, dword [edi]
jmp 0x4a3dcd
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ab66d
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xac]
call fcn.00406650
cmp byte [ebp - 0x15], bl
je 0x4a3f05
cmp word [ebp - 0x58], 8
je 0x4a3e17
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406da0
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x58]
push edx
jmp 0x4a411a
mov eax, dword [ebp - 0x50]
mov edi, eax
cmp eax, ebx
jne 0x4a3e24
xor eax, eax
jmp 0x4a3e7f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x70], eax
push 2
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004086b0
add esp, 0xc
test eax, eax
jns 0x4a3e46
xor eax, eax
jmp 0x4a3e7f
mov esi, dword [ebp - 0x70]
cmp esi, 0x400
jg 0x4a3e6c
push esi
call fcn.00408750
add esp, 4
test al, al
je 0x4a3e6c
mov eax, esi
call fcn.004abc80
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x4a3e75
push esi
lea ecx, [ebp - 0x34]
call fcn.00408900
push 3
push esi
push edi
push eax
call fcn.00421e20
push eax
lea ecx, [ebp - 0x74]
call fcn.004068c0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00479710
mov dword [ebp - 0xd0], 8
push eax
lea ecx, [ebp - 0xa8]
call fcn.0041bd60
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x68]
call fcn.004a3250
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x74]
call fcn.00406650
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406da0
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x30]
call fcn.0045cbf0
inc dword [ebp - 0x44]
mov esi, dword [ebp - 0x24]
jmp 0x4a3d50
lea eax, [ebp - 0xc0]
push eax
call fcn.004a36e0
add esp, 4
mov byte [ebp - 4], 0x1d
cmp edi, ebx
je 0x4a3f20
mov ecx, dword [edi]
jmp 0x4a3f22
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ab66d
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xc0]
call fcn.00406650
cmp byte [ebp - 0x15], bl
je 0x4a3fc5
cmp word [ebp - 0x58], 8
je 0x4a3f68
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406da0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
push ecx
jmp 0x4a411a
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x78]
call fcn.00409830
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
call fcn.00420ca0
mov dword [ebp - 0xc8], 0xa
push eax
lea ecx, [ebp - 0x90]
call fcn.0041bd60
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x68]
call fcn.004a3250
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x78]
call fcn.00406650
jmp 0x4a3ed4
lea edx, [ebp - 0xb4]
push edx
call fcn.004a3370
add esp, 4
mov byte [ebp - 4], 0x1f
cmp edi, ebx
je 0x4a3fe0
mov ecx, dword [edi]
jmp 0x4a3fe2
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ab66d
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xb4]
call fcn.00406650
cmp byte [ebp - 0x15], bl
je 0x4a4034
mov dword [ebp - 0xe0], 5
lea ecx, [ebp - 0x58]
call fcn.00458e60
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x68]
call fcn.004a3250
jmp 0x4a3ed4
lea ecx, [ebp - 0xb0]
push ecx
call fcn.004a3480
add esp, 4
mov byte [ebp - 4], 0x20
cmp edi, ebx
je 0x4a404f
mov edi, dword [edi]
jmp 0x4a4051
xor edi, edi
mov eax, dword [eax]
push edi
push eax
call fcn.004ab66d
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xb0]
call fcn.00406650
cmp byte [ebp - 0x15], bl
je 0x4a3ed4
cmp word [ebp - 0x58], 9
jne 0x4a3f4f
cmp dword [ebp - 0x50], ebx
je 0x4a3f4f
mov dword [ebp - 0x48], ebx
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
push 0x506d9c
push eax
mov edx, dword [edx]
call edx
cmp eax, ebx
jl 0x4a40fa
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x4a40fa
mov dword [ebp - 0x40], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 0xd8], 0xc
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xd4], ecx
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x68]
call fcn.004a3250
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
call fcn.00439310
jmp 0x4a3ed4
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
call fcn.00439310
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406da0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x30]
call fcn.0045cbf0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x68]
call fcn.0042db70
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
call fcn.0041f410
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x90]
call fcn.0041f410
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004a9110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00439310
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00406650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00406650
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00406650
jmp 0x4a3b0b
lea ecx, [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004a9370
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4a41e7
mov edx, 3
mov word [ebp - 0x58], dx
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 0x23
lea edx, [ebp - 0x58]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x68]
call fcn.0042db70
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
call fcn.0041f410
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x90]
call fcn.0041f410
mov dword [ebp - 4], 0xf
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004a9110
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4a4237
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a425a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a427d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a429f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x4a42c2
lea ebx, [ebx]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004aaaaa
add esp, 4
cmp esi, ebx
jne 0x4a42b0
mov eax, ebx
jmp 0x4a3b1f