Function at 0x4e3ed0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b78a
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 0x4e3f33
mov ecx, dword [8]
cmp ecx, 2
jae 0x4e3f33
mov eax, dword [edi]
mov edx, ecx
add edx, edx
cmp word [eax + edx*8 - 0x10], 8
je 0x4e3f33
add ecx, 0xfffffffe
add ecx, ecx
cmp word [eax + ecx*8], 8
jne 0x4e419a
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.00409590
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 0x4e3f93
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00406d20
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], 0x104
jge 0x4e3fa6
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.004ebabf
add esp, 8
cmp eax, ebx
jl 0x4e3f9c
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx - 8]
jg 0x4e3f9c
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 0x4e400a
xor eax, eax
jmp 0x4e40ac
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 0x4e40a7
cmp eax, 0xffffffff
ja 0x4e40a7
cmp esi, 0x400
jg 0x4e4054
push esi
call fcn.00408680
add esp, 4
test al, al
je 0x4e4054
mov eax, esi
call fcn.004ec350
mov dword [ebp - 0x10], esp
mov edi, esp
jmp 0x4e4076
or edx, 0xffffffff
sub edx, esi
cmp edx, 8
jb 0x4e409a
lea eax, [esi + 8]
push eax
call fcn.004eb27a
add esp, 4
cmp eax, ebx
je 0x4e40a4
mov dword [eax], ebx
mov dword [ebp - 0x24], eax
lea edi, [eax + 8]
cmp edi, ebx
je 0x4e40a4
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 0x4e40a9
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.004066f0
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov eax, dword [edi + 8]
cmp eax, 2
jbe 0x4e4267
mov ecx, dword [edi]
lea edx, [eax - 3]
add edx, edx
cmp word [ecx + edx*8], 9
jne 0x4e41c3
add eax, eax
cmp dword [ecx + eax*8 - 0x28], ebx
je 0x4e41c3
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 0x4e4110
cmp dword [ebp - 0x20], ebx
jne 0x4e4267
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4e4123
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 0x4e4146
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 0x4e4169
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 0x4e418b
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.00406c40
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.004eb16b
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4e41d6
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 0x4e41f9
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 0x4e421c
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 0x4e423e
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 0x4e419a
lea ecx, [ecx]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004eb17a
add esp, 4
cmp esi, ebx
jne 0x4e4250
jmp 0x4e419a
lea ecx, [ebp - 0x3c]
call fcn.004e9740
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004e9750
test al, al
jne 0x4e433c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004e9780
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4e42a6
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 0x4e42c9
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 0x4e42ec
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 0x4e430e
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 0x4e4332
lea esp, [esp]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004eb17a
add esp, 4
cmp esi, ebx
jne 0x4e4320
mov eax, 0x80004005
jmp 0x4e419f
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 0x4e4816
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 0x4e43d0
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x6c]
jge 0x4e4816
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.004e3870
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 0x4e4792
lea ecx, [ebp - 0x30]
call fcn.004584c0
test eax, eax
je 0x4e4792
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xac]
push ecx
call fcn.004e3b60
add esp, 4
mov byte [ebp - 4], 0x1b
cmp edi, ebx
je 0x4e444b
mov ecx, dword [edi]
jmp 0x4e444d
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ebce1
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xac]
call fcn.00406ef0
cmp byte [ebp - 0x15], bl
je 0x4e4585
cmp word [ebp - 0x58], 8
je 0x4e4497
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406c40
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x58]
push edx
jmp 0x4e479a
mov eax, dword [ebp - 0x50]
mov edi, eax
cmp eax, ebx
jne 0x4e44a4
xor eax, eax
jmp 0x4e44ff
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.00408610
add esp, 0xc
test eax, eax
jns 0x4e44c6
xor eax, eax
jmp 0x4e44ff
mov esi, dword [ebp - 0x70]
cmp esi, 0x400
jg 0x4e44ec
push esi
call fcn.00408680
add esp, 4
test al, al
je 0x4e44ec
mov eax, esi
call fcn.004ec350
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x4e44f5
push esi
lea ecx, [ebp - 0x34]
call fcn.00408830
push 3
push esi
push edi
push eax
call fcn.0041db50
push eax
lea ecx, [ebp - 0x74]
call fcn.004066f0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.004e3e20
mov dword [ebp - 0xd0], 8
push eax
lea ecx, [ebp - 0xa8]
call fcn.00417b50
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x68]
call fcn.004e3820
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x74]
call fcn.00406ef0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406c40
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.0045c350
inc dword [ebp - 0x44]
mov esi, dword [ebp - 0x24]
jmp 0x4e43d0
lea eax, [ebp - 0xc0]
push eax
call fcn.004e3cb0
add esp, 4
mov byte [ebp - 4], 0x1d
cmp edi, ebx
je 0x4e45a0
mov ecx, dword [edi]
jmp 0x4e45a2
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ebce1
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xc0]
call fcn.00406ef0
cmp byte [ebp - 0x15], bl
je 0x4e4645
cmp word [ebp - 0x58], 8
je 0x4e45e8
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406c40
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
push ecx
jmp 0x4e479a
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x78]
call fcn.00409590
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
call fcn.0041c930
mov dword [ebp - 0xc8], 0xa
push eax
lea ecx, [ebp - 0x90]
call fcn.00417b50
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x68]
call fcn.004e3820
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x78]
call fcn.00406ef0
jmp 0x4e4554
lea edx, [ebp - 0xb4]
push edx
call fcn.004e3940
add esp, 4
mov byte [ebp - 4], 0x1f
cmp edi, ebx
je 0x4e4660
mov ecx, dword [edi]
jmp 0x4e4662
xor ecx, ecx
mov eax, dword [eax]
push ecx
push eax
call fcn.004ebce1
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xb4]
call fcn.00406ef0
cmp byte [ebp - 0x15], bl
je 0x4e46b4
mov dword [ebp - 0xe0], 5
lea ecx, [ebp - 0x58]
call fcn.004585c0
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x68]
call fcn.004e3820
jmp 0x4e4554
lea ecx, [ebp - 0xb0]
push ecx
call fcn.004e3a50
add esp, 4
mov byte [ebp - 4], 0x20
cmp edi, ebx
je 0x4e46cf
mov edi, dword [edi]
jmp 0x4e46d1
xor edi, edi
mov eax, dword [eax]
push edi
push eax
call fcn.004ebce1
add esp, 8
test eax, eax
sete byte [ebp - 0x15]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xb0]
call fcn.00406ef0
cmp byte [ebp - 0x15], bl
je 0x4e4554
cmp word [ebp - 0x58], 9
jne 0x4e45cf
cmp dword [ebp - 0x50], ebx
je 0x4e45cf
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 0x4e477a
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x4e477a
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.004e3820
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
call fcn.00438080
jmp 0x4e4554
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
call fcn.00438080
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34]
call fcn.00406c40
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.0045c350
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x68]
call fcn.004e3760
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
call fcn.0041b0a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x90]
call fcn.0041b0a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004e9780
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00438080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00406ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00406ef0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00406ef0
jmp 0x4e418b
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.004e9a40
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4e4867
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.004e3760
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
call fcn.0041b0a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x90]
call fcn.0041b0a0
mov dword [ebp - 4], 0xf
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004e9780
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4e48b7
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 0x4e48da
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 0x4e48fd
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 0x4e491f
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 0x4e4942
lea ebx, [ebx]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x24], esi
call fcn.004eb17a
add esp, 4
cmp esi, ebx
jne 0x4e4930
mov eax, ebx
jmp 0x4e419f