Function at 0x4e3e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0x5758]
push edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
push edx
push eax
xor edi, edi
push esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call fcn.004f88e0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push esi
call fcn.004f6e40
mov edx, dword [esp + 0x78]
mov ebx, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x54]
push ecx
add edx, 1
push edx
push esi
call fcn.004f88e0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push esi
call fcn.004f6e40
mov ebp, eax
add esp, 0x38
sub ebp, ebx
mov dword [esp + 0x44], ebp
jns 0x4e3e85
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret
cmp dword [esp + 0x54], edi
je 0x4e3eb4
mov edi, dword [esp + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x20], eax
add eax, 1
push eax
call fcn.004e27e0
add esp, 4
push edi
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4e3ed0
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
push esi
call fcn.004f40a0
add esp, 0x10
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
cmp ebp, edi
jge 0x4e3eda
mov edi, ebp
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + ebx]
push ecx
push esi
call fcn.004f88e0
add dword [esi + 0x114], 1
add esp, 0x10
test edi, edi
mov dword [esp + 0x24], 0
jle 0x4e4073
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
push 0x44
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push esi
call fcn.004fa650
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
add esp, 0x18
cmp edx, ebx
mov edi, edx
mov dword [esp + 0x30], edi
jg 0x4e4052
lea ecx, [ecx]
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4e4043
xor ebp, ebp
cmp edi, edx
mov dword [esp + 0x5c], eax
jne 0x4e3f62
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
jne 0x4e3f6e
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ebx, dword [ecx]
push edi
push esi
call fcn.004ad140
add esp, 8
cmp dword [esp + 0x10], 0
mov dword [esp + 0x2c], eax
je 0x4e3f93
push edi
push esi
call fcn.004abf50
add esp, 8
mov dword [esp + 0x3c], eax
cmp ebp, dword [esp + 0x5c]
jne 0x4e3f9c
mov byte [ebx], 0
jge 0x4e401c
mov ecx, dword [esp + 0x3c]
sub ecx, ebx
lea edi, [ebx + ebp]
mov dword [esp + 0x40], ecx
nop
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esp + 0x20]
jge 0x4e4002
mov eax, dword [esp + 0x14]
mov dl, byte [ebx + eax]
mov byte [edi], dl
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e3fd1
mov al, byte [ebx + eax]
mov byte [ecx + edi], al
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4e3fdf
movzx eax, word [eax + ebx*2]
jmp 0x4e3fe1
xor eax, eax
mov ecx, dword [esp + 0x2c]
movzx edx, word [ecx + ebp*2]
push eax
push edx
push esi
call fcn.004ab7a0
mov ecx, dword [esp + 0x38]
mov word [ecx + ebp*2], ax
mov ecx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4e4005
mov byte [edi], 0
add ebp, 1
add ebx, 1
add edi, 1
cmp ebp, dword [esp + 0x5c]
mov dword [esp + 0x24], ebx
jl 0x4e3fb0
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x10], 0
je 0x4e402d
push edi
push esi
call fcn.004abee0
add esp, 8
push edi
push esi
call fcn.004ad1d0
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
add esp, 8
add edi, 1
cmp edi, ebx
mov dword [esp + 0x30], edi
jle 0x4e3f40
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
push 0x49
push ecx
mov dword [esi + 0x5758], eax
mov eax, dword [esp + 0x24]
push ebx
push eax
push edx
push esi
call fcn.004fa650
add esp, 0x18
mov eax, dword [esp + 0x20]
cmp ebp, eax
je 0x4e41b0
jle 0x4e40f2
mov eax, dword [esp + 0x34]
mov edi, dword [esi + 0xa17c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
mov dword [esi + 0x4b40], eax
push 0
mov dword [esi + 0x4b3c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x4b4c], edx
mov edx, dword [esp + 0x2c]
mov eax, edi
or eax, 0x1000
push 0
push esi
mov dword [esi + 0x4b48], 2
mov dword [esi + 0x4b50], ecx
mov dword [esi + 0x5758], edx
mov dword [esi + 0xa17c], eax
call fcn.004cf7c0
add esp, 0xc
mov dword [esi + 0xa17c], edi
mov dword [esi + 0x4b48], 0
jmp 0x4e41b0
cmp dword [esi + 0x5be4], 0
mov ecx, dword [esi + 0x5e0]
mov edx, dword [esi + 0x2b2c]
mov eax, dword [esp + 0x4c]
mov edi, dword [esi + 0x5d8]
mov ebp, dword [esi + 0x47c]
mov ebx, dword [esi + 0x5d4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov dword [esi + 0x5d8], eax
mov dword [esi + 0x47c], ecx
jne 0x4e4146
push ecx
push eax
push esi
call fcn.004a0ca0
add esp, 0xc
mov dword [esi + 0x2b2c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x5758], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e4161
lea ecx, [edx + eax]
jmp 0x4e4163
xor ecx, ecx
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4e4170
lea eax, [eax + edx*2]
jmp 0x4e4172
xor eax, eax
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x24]
push eax
add edx, ecx
push edx
push esi
call fcn.004cdf90
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x60]
add esp, 0x1c
mov dword [esi + 0x5d8], edi
mov dword [esi + 0x5d4], ebx
mov dword [esi + 0x47c], ebp
mov dword [esi + 0x2b2c], edx
mov dword [esi + 0x5e0], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e41c1
push eax
call fcn.004e2860
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e41d2
push eax
call fcn.004e2860
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret