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

Disassembly:
sub esp, 0x60
push esi
push edi
mov edi, dword [esp + 0x7c]
test edi, edi
mov esi, ecx
jne 0x4e4ce9
pop edi
xor eax, eax
pop esi
add esp, 0x60
ret 0x38
push ebx
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x4e4d1f
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x850]
test ecx, ecx
je 0x4e4d2f
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call dword [edx + 0xc0]
cmp dword [esp + 0x64], 2
lea ecx, [esp + 0x30]
jne 0x4e4d2a
call fcn.0043b4e0
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x60
ret 0x38
call fcn.0043b4e0
push ebp
mov ebp, dword [esp + 0x78]
push edi
push ebp
push ebx
mov ecx, esi
call fcn.004db9e0
test eax, eax
jne 0x4e4e3e
push 0x690d24
push ebx
call fcn.004418d0
add esp, 8
test eax, eax
je 0x4e4d70
mov edx, dword [esi]
push ebp
push ebx
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, eax
call fcn.0051b010
test al, al
jne 0x4e4e3e
push 0x690d24
push ebx
call fcn.004418d0
add esp, 8
test eax, eax
jne 0x4e4e3e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
test eax, eax
je 0x4e4e4a
mov ecx, dword [esi + 0x814]
test ecx, ecx
je 0x4e4e4a
call fcn.00420e90
test eax, eax
je 0x4e4e4a
mov ecx, dword [0x7f0b64]
push 0x54
call fcn.00410fe0
test eax, eax
je 0x4e4dd0
push esi
mov ecx, eax
call fcn.004d2f30
mov edi, eax
jmp 0x4e4dd2
xor edi, edi
push ebx
call fcn.00441c80
push ebp
mov dword [edi + 0x20], eax
call fcn.00441c80
mov ecx, dword [esp + 0x90]
add esp, 8
push ecx
lea ecx, [edi + 0x38]
mov dword [edi + 0x24], eax
call fcn.00585ce0
mov edx, dword [esp + 0x7c]
push edx
call fcn.00441c80
movzx ecx, word [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x84]
push edx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], ecx
call fcn.00441c80
add esp, 8
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x84]
push edi
mov ecx, esi
mov dword [edi + 0x48], eax
call fcn.004db6d0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x60
ret 0x38
mov eax, dword [esp + 0x88]
test eax, eax
mov dword [esp + 0x74], 2
je 0x4e4e69
push eax
lea ecx, [esp + 0x78]
call fcn.00488ac0
jmp 0x4e4ebc
push esi
push 0
push ebp
call fcn.004cce00
add esp, 0xc
test eax, eax
mov dword [esp + 0x84], eax
jl 0x4e4e9c
fild dword [esp + 0x84]
push esi
sub esp, 8
lea ecx, [esp + 0x80]
fstp qword [esp]
call fcn.00488a30
jmp 0x4e4ebc
test byte [esp + 0x8c], 0x40
je 0x4e4ebc
mov ecx, esi
call fcn.004ce980
push eax
push ebp
push esi
lea ecx, [esp + 0x80]
call fcn.00488930
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0xc]
push ebx
call fcn.004cdc20
test al, al
je 0x4e4f54
push 0
push edi
mov ecx, esi
call fcn.004d2a80
test al, al
jne 0x4e4f54
mov al, byte [esi + 0x8a8]
test al, al
je 0x4e4f48
mov ecx, dword [esi]
push 0x74
push 3
push esi
call dword [ecx + 0xe0]
mov eax, dword [esi + 0xc70]
mov ecx, dword [eax*4 + 0x690244]
mov edx, dword [esi]
push ebx
push ecx
push 0x78
push 3
push esi
call dword [edx + 0xe0]
lea edi, [esi + 0x28]
add esp, 0x20
mov ecx, edi
call fcn.00465700
test eax, eax
je 0x4e4f48
push 0x74
push 3
push edi
call fcn.00465bc0
mov edx, dword [esi + 0xc70]
mov eax, dword [edx*4 + 0x690244]
push ebx
push eax
push 0x78
push 3
push edi
call fcn.00465bc0
add esp, 0x20
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x60
ret 0x38
lea ecx, [esp + 0x74]
call fcn.00405630
cmp eax, 2
jne 0x4e5006
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0xc]
push ebp
call fcn.004cdd70
test al, al
je 0x4e5006
push 1
push edi
mov ecx, esi
call fcn.004d2a80
test al, al
jne 0x4e5006
mov al, byte [esi + 0x8a8]
test al, al
je 0x4e4ffa
mov ecx, dword [esi]
push 0x74
push 3
push esi
call dword [ecx + 0xe0]
mov eax, dword [esi + 0xc70]
mov ecx, dword [eax*4 + 0x690244]
mov edx, dword [esi]
push ebx
push ecx
push ebp
push 0xac
push 3
push esi
call dword [edx + 0xe0]
lea edi, [esi + 0x28]
add esp, 0x24
mov ecx, edi
call fcn.00465700
test eax, eax
je 0x4e4ffa
push 0x74
push 3
push edi
call fcn.00465bc0
mov edx, dword [esi + 0xc70]
mov eax, dword [edx*4 + 0x690244]
push ebx
push eax
push ebp
push 0xac
push 3
push edi
call fcn.00465bc0
add esp, 0x24
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x60
ret 0x38
test ebp, ebp
mov eax, ebp
jne 0x4e5011
mov eax, 0x68ae2b
push eax
lea ecx, [esp + 0x14]
call fcn.00441f50
test ebp, ebp
je 0x4e508f
cmp byte [ebp], 0
je 0x4e508f
lea ecx, [esp + 0x74]
call fcn.00405630
cmp eax, 2
jne 0x4e508f
test byte [esp + 0x8c], 0x20
jne 0x4e508f
mov ecx, edi
call fcn.004991c0
cmp eax, 1
jne 0x4e508f
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0xc]
push ebp
call fcn.004cdd70
test al, al
jne 0x4e508f
push 0x68c384
push ebp
call fcn.00442120
add esp, 8
test al, al
jne 0x4e508f
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.004ce590
push eax
lea ecx, [esp + 0x14]
call fcn.00441f70
lea ecx, [esp + 0x28]
call fcn.00405670
push ebx
lea ecx, [esp + 0x20]
call fcn.00441f50
mov ecx, edi
call fcn.004991c0
cmp eax, 1
jne 0x4e50b3
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.004f07a0
add esp, 8
lea ecx, [esp + 0x74]
call fcn.00405630
cmp eax, 2
jne 0x4e5172
test byte [esp + 0x8c], 0x20
jne 0x4e5172
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call dword [edx + 0xbc]
mov eax, dword [esp + 0x34]
cmp byte [eax], 0
mov ebp, eax
je 0x4e5123
mov eax, dword [esi + 0xc74]
test eax, eax
je 0x4e514a
mov ecx, edi
call fcn.00498020
test eax, eax
jne 0x4e514a
mov ecx, edi
call fcn.0050a530
mov edx, dword [eax]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0xc]
push 0xad
push edx
push ebx
push esi
call fcn.004ccc60
lea ecx, [esp + 0x34]
call fcn.0043b4e0
lea ecx, [esp + 0x1c]
call fcn.00405670
lea ecx, [esp + 0x10]
call fcn.00405670
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x60
ret 0x38
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x80]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push ebp
mov ecx, esi
call dword [edx + 0x4c]
jmp 0x4e5123
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
push ecx
push edx
mov edx, dword [esi]
lea eax, [esp + 0x9c]
push eax
push ebx
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, eax
call fcn.004e49a0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00405670
lea ecx, [esp + 0x10]
call fcn.00405670
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x60
ret 0x38