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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x4f7580
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x70]
mov ebx, dword [ebp + 0xc]
mov edx, dword fs:[0]
mov dword [esi + 0x70], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi + 4], eax
push ebx
call fcn.004fe950
add esp, 4
cmp eax, 1
je 0x4e3c34
push ebx
call fcn.0047ada0
add esp, 4
cmp eax, 1
jne 0x4e3d56
lea eax, [esi + 4]
mov dword [esi + 0x18], 0x5f664c
mov dword [esi + 0x1c], 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x63], 0
mov dword [esi + 0x5f], 0
mov dword [esi + 0x78], 0
lea ecx, [esi + 8]
mov dword [esi + 0x30], eax
lea eax, [esi + 5]
mov dword [esi + 0x34], fcn.00509680
mov dword [esi + 0x38], eax
lea eax, [esi + 6]
mov dword [esi + 0x3c], fcn.00509680
mov dword [esi + 0x40], eax
lea eax, [esi + 7]
mov dword [esi + 0x44], fcn.00509680
mov dword [esi + 0x48], eax
lea eax, [esi + 0x50]
mov dword [esi + 0x4c], fcn.00509680
mov dword [esi + 8], eax
lea eax, [esi + 0x30]
mov byte [esi + 0xc], 4
mov dword [esi + 0x28], eax
lea eax, [esi + 0x58]
mov dword [esi + 0x2c], 4
mov dword [esi + 0x50], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x54], 0xf
push eax
push 0x5f65f0
push ecx
call fcn.005053c0
add esp, 0xc
mov cl, byte [esi + 0xc]
test al, al
jne 0x4e3dcb
cmp cl, 3
mov ecx, dword [ebp + 0xc]
jne 0x4e3d31
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov dword [esi + 0x14], ecx
mov ecx, dword [ecx + 4]
mov dword [esi + 0x78], 1
push eax
call dword [ecx]
add esp, 4
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4e3d1f
push dword [eax + 8]
push ecx
push dword [edx]
call fcn.0043c2a0
add esp, 0xc
push 4
push 0xc
push dword [esi + 0x10]
call fcn.0043c2a0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, 0xf
mov dword [esi + 0x78], 0xffffffff
sub eax, dword [esi + 0x54]
jb 0x4e3e36
push eax
lea eax, [esi + 0x58]
push eax
push ecx
call fcn.005059b0
add esp, 0xc
jmp 0x4e3db9
lea edi, [esi + 4]
lea eax, [esi + 5]
mov dword [esi + 0x18], 0x5f664c
mov dword [esi + 0x1c], 4
lea ecx, [esi + 6]
lea edx, [esi + 7]
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], fcn.00509680
mov dword [esi + 0x38], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x3c], fcn.00509680
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], fcn.00509680
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], fcn.00509680
mov dword [esi + 0x28], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x2c], 4
push eax
push ebx
call fcn.005060e0
add esp, 8
mov ecx, dword [esi + 0x70]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esi + 0x13]
movzx edx, word [esi + 0x11]
mov edi, 0x5f65d0
movzx ebx, cl
mov dword [esi + 0x78], 2
shl edi, 0x18
or edi, 0x28
shl eax, 0x10
or edx, eax
mov eax, 0x5f65d0
shr eax, 8
cmp cl, 4
mov ecx, 2
cmovne edi, dword [esi + 0xd]
cmovne ecx, ebx
cmovne eax, edx
mov byte [esi + 0x18], cl
mov word [esi + 0x1d], ax
shr eax, 0x10
mov byte [esi + 0x1f], al
mov dword [esi + 0x19], edi
push 0x5f6688
push 0x5f5670
lea eax, [esi + 0x18]
push eax
push 0x2b
push 0x5f5634
call fcn.005708f0
add esp, 0x14
ud2
push 0x5f6698
push 0xf
push eax
call fcn.005709d0
add esp, 0xc
ud2