Function at 0x4e3c90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b5aa
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x587978]
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 0x4e3cf3
mov ecx, dword [8]
cmp ecx, 2
jae 0x4e3cf3
mov eax, dword [edi]
mov edx, ecx
add edx, edx
cmp word [eax + edx*8 - 0x10], 8
je 0x4e3cf3
add ecx, 0xfffffffe
add ecx, ecx
cmp word [eax + ecx*8], 8
jne 0x4e3f5a
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.004095e0
mov byte [ebp - 4], 1
mov ecx, 0x587944
mov eax, dword [0x587944]
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 0x4e3d53
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00406e00
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], 0x104
jge 0x4e3d66
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.004eb8eb
add esp, 8
cmp eax, ebx
jl 0x4e3d5c
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx - 8]
jg 0x4e3d5c
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 0x4e3dca
xor eax, eax
jmp 0x4e3e6c
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 0x4e3e67
cmp eax, 0xffffffff
ja 0x4e3e67
cmp esi, 0x400
jg 0x4e3e14
push esi
call fcn.00408730
add esp, 4
test al, al
je 0x4e3e14
mov eax, esi
call fcn.004ec120
mov dword [ebp - 0x10], esp
mov edi, esp
jmp 0x4e3e36
or edx, 0xffffffff
sub edx, esi
cmp edx, 8
jb 0x4e3e5a
lea eax, [esi + 8]
push eax
call fcn.004eb04a
add esp, 4
cmp eax, ebx
je 0x4e3e64
mov dword [eax], ebx
mov dword [ebp - 0x24], eax
lea edi, [eax + 8]
cmp edi, ebx
je 0x4e3e64
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 0x4e3e69
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.00406730
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov eax, dword [edi + 8]
cmp eax, 2
jbe 0x4e4027
mov ecx, dword [edi]
lea edx, [eax - 3]
add edx, edx
cmp word [ecx + edx*8], 9
jne 0x4e3f83
add eax, eax
cmp dword [ecx + eax*8 - 0x28], ebx
je 0x4e3f83
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 0x55f800
push ecx
mov ecx, dword [edx]
call ecx
cmp eax, ebx
jl 0x4e3ed0
cmp dword [ebp - 0x20], ebx
jne 0x4e4027
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4e3ee3
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 0x4e3f06
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 0x4e3f29
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 0x4e3f4b
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.00406d00
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.004eaf3b
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4e3f96
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 0x4e3fb9
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 0x4e3fdc
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 0x4e3ffe
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 0x4e3f5a
lea ecx, [ecx]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004eaf4a
add esp, 4
cmp esi, ebx
jne 0x4e4010
jmp 0x4e3f5a
lea ecx, [ebp - 0x3c]
call fcn.004e9510
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004e9520
test al, al
jne 0x4e40fc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004e9550
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4e4066
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 0x4e4089
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 0x4e40ac
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 0x4e40ce
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 0x4e40f2
lea esp, [esp]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004eaf4a
add esp, 4
cmp esi, ebx
jne 0x4e40e0
mov eax, 0x80004005
jmp 0x4e3f5f
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 0x4e45d6
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 0x4e4190
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x6c]
jge 0x4e45d6
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.004e3640
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 0x4e4552
lea ecx, [ebp - 0x30]
call fcn.004585a0
test eax, eax
je 0x4e4552
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xac]
push ecx
call fcn.004e3930
add esp, 4
mov byte [ebp - 4], 0x1b
cmp edi, ebx
je 0x4e420b
mov ecx, dword [edi]
jmp 0x4e420d
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ebb0d
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xac]
call fcn.004064c0
cmp byte [ebp - 0x15], bl
je 0x4e4345
cmp word [ebp - 0x58], 8
je 0x4e4257
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x58]
push edx
jmp 0x4e455a
mov eax, dword [ebp - 0x50]
mov edi, eax
cmp eax, ebx
jne 0x4e4264
xor eax, eax
jmp 0x4e42bf
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.00408690
add esp, 0xc
test eax, eax
jns 0x4e4286
xor eax, eax
jmp 0x4e42bf
mov esi, dword [ebp - 0x70]
cmp esi, 0x400
jg 0x4e42ac
push esi
call fcn.00408730
add esp, 4
test al, al
je 0x4e42ac
mov eax, esi
call fcn.004ec120
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x4e42b5
push esi
lea ecx, [ebp - 0x34]
call fcn.004088e0
push 3
push esi
push edi
push eax
call fcn.0041d7b0
push eax
lea ecx, [ebp - 0x74]
call fcn.00406730
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.004e3bf0
mov dword [ebp - 0xd0], 8
push eax
lea ecx, [ebp - 0xa8]
call fcn.004177b0
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x68]
call fcn.004e35f0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x74]
call fcn.004064c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406d00
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.0045c430
inc dword [ebp - 0x44]
mov esi, dword [ebp - 0x24]
jmp 0x4e4190
lea eax, [ebp - 0xc0]
push eax
call fcn.004e3a80
add esp, 4
mov byte [ebp - 4], 0x1d
cmp edi, ebx
je 0x4e4360
mov ecx, dword [edi]
jmp 0x4e4362
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ebb0d
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xc0]
call fcn.004064c0
cmp byte [ebp - 0x15], bl
je 0x4e4405
cmp word [ebp - 0x58], 8
je 0x4e43a8
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
push ecx
jmp 0x4e455a
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x78]
call fcn.004095e0
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
call fcn.0041c590
mov dword [ebp - 0xc8], 0xa
push eax
lea ecx, [ebp - 0x90]
call fcn.004177b0
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x68]
call fcn.004e35f0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x78]
call fcn.004064c0
jmp 0x4e4314
lea edx, [ebp - 0xb4]
push edx
call fcn.004e3710
add esp, 4
mov byte [ebp - 4], 0x1f
cmp edi, ebx
je 0x4e4420
mov ecx, dword [edi]
jmp 0x4e4422
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ebb0d
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xb4]
call fcn.004064c0
cmp byte [ebp - 0x15], bl
je 0x4e4474
mov dword [ebp - 0xe0], 5
lea ecx, [ebp - 0x58]
call fcn.004586a0
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x68]
call fcn.004e35f0
jmp 0x4e4314
lea ecx, [ebp - 0xb0]
push ecx
call fcn.004e3820
add esp, 4
mov byte [ebp - 4], 0x20
cmp edi, ebx
je 0x4e448f
mov edi, dword [edi]
jmp 0x4e4491
xor edi, edi
mov eax, dword [eax]
push edi
push eax
call fcn.004ebb0d
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xb0]
call fcn.004064c0
cmp byte [ebp - 0x15], bl
je 0x4e4314
cmp word [ebp - 0x58], 9
jne 0x4e438f
cmp dword [ebp - 0x50], ebx
je 0x4e438f
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 0x55f810
push eax
mov edx, dword [edx]
call edx
cmp eax, ebx
jl 0x4e453a
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x4e453a
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.004e35f0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
call fcn.00408220
jmp 0x4e4314
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
call fcn.00408220
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406d00
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.0045c430
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x68]
call fcn.0042c200
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
call fcn.0041ad00
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x90]
call fcn.0041ad00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004e9550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00408220
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004064c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004064c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.004064c0
jmp 0x4e3f4b
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.004e9810
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4e4627
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.0042c200
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
call fcn.0041ad00
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x90]
call fcn.0041ad00
mov dword [ebp - 4], 0xf
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004e9550
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4e4677
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 0x4e469a
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 0x4e46bd
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 0x4e46df
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 0x4e4702
lea ebx, [ebx]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004eaf4a
add esp, 4
cmp esi, ebx
jne 0x4e46f0
mov eax, ebx
jmp 0x4e3f5f