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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56c3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x677d34]
xor ebx, ebx
cmp eax, ebx
je 0x404d23
add eax, 0x7c
call fcn.00403c40
test al, al
jne 0x404d2c
cmp byte [ebp + 0xc], bl
je 0x405094
call fcn.00407d10
mov edi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x40]
call fcn.0049b970
mov byte [esp + 0x78], 1
mov eax, dword [0x677d34]
add eax, 0xf8
call fcn.00403c40
movzx eax, al
push eax
lea ecx, [esp + 0x17]
push ecx
call fcn.0051e010
mov ecx, 3
lea esi, [esp + 0x58]
call fcn.00407e20
mov byte [esp + 0x78], 2
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esp + 0x1c], ebx
call eax
test eax, eax
jle 0x404f91
jmp 0x404d9a
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x3c]
push eax
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
mov ecx, edi
mov dword [esp + 0x30], edi
call edx
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
mov esi, 0x5fece0
call fcn.00495d20
test al, al
jne 0x404f20
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0051f290
mov byte [esp + 0x78], 3
xor ecx, ecx
lea edi, [esp + 0x48]
call fcn.004a89d0
mov byte [esp + 0x78], 4
mov eax, edi
call fcn.00497fe0
mov esi, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], esi
call fcn.00407eb0
push eax
mov eax, esi
call fcn.004a3550
test al, al
jne 0x404ece
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
lea esi, [esp + 0x14]
call fcn.00494a10
mov byte [esp + 0x78], 5
mov ecx, 0x5c
mov eax, esi
call fcn.004952f0
test eax, eax
jl 0x404e74
lea ecx, [esp + 0x28]
push ecx
mov edx, eax
mov ecx, esi
call fcn.00494f40
mov byte [esp + 0x78], 6
mov edi, esi
call fcn.00494c50
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x28]
call fcn.00494b70
jmp 0x404e7d
lea edi, [esp + 0x14]
call fcn.00495360
or edi, 0xffffffff
mov eax, 0x5f7aec
lea esi, [esp + 0x20]
call fcn.00494af0
mov byte [esp + 0x78], 7
mov eax, dword [ebx]
mov edx, esi
push edx
mov edx, dword [eax + 0x28]
push ebx
mov ecx, ebx
call edx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x23]
push ecx
call fcn.0051ec30
mov byte [esp + 0x78], 5
mov ecx, esi
call fcn.00494b70
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x14]
call fcn.00494b70
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
call fcn.00407eb0
push esi
lea esi, [esp + 0x3c]
call fcn.004a3480
mov byte [esp + 0x78], 8
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push 0
mov eax, esi
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x78], 4
mov ecx, esi
call fcn.004a34a0
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x48]
call fcn.004a8b30
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x18]
call fcn.00494b70
mov edi, dword [esp + 0x30]
mov eax, dword [0x677d34]
add eax, 0xbbc
call fcn.00403c40
test al, al
je 0x404f72
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
mov ecx, edi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test al, al
jne 0x404f72
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
test al, al
jne 0x404f72
mov edx, dword [edi]
mov eax, dword [edx + 0x74]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
push eax
lea esi, [esp + 0x5c]
call fcn.00403590
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
inc esi
mov dword [esp + 0x1c], esi
call eax
cmp esi, eax
jl 0x404d97
mov edi, dword [esp + 0x24]
mov eax, dword [0x677d34]
add eax, 0xbbc
call fcn.00403c40
test al, al
je 0x405057
or edi, 0xffffffff
mov eax, 0x5f7aec
lea esi, [esp + 0x1c]
call fcn.00494af0
mov ebx, eax
mov byte [esp + 0x78], 9
or edi, edi
mov eax, 0x5f7aec
lea esi, [esp + 0x20]
call fcn.00494af0
mov dword [esp + 0x30], eax
mov byte [esp + 0x78], 0xa
or edi, 0xffffffff
mov eax, 0x5feabc
lea esi, [esp + 0x28]
call fcn.00494af0
mov byte [esp + 0x78], 0xb
push ebx
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x38]
push edx
call fcn.0049c330
add esp, 0x10
mov byte [esp + 0x78], 0xc
mov ecx, dword [0x677d34]
add ecx, 0xbd0
call fcn.00407e50
mov byte [esp + 0x78], 0xb
lea ecx, [esp + 0x2c]
call fcn.00494b70
mov byte [esp + 0x78], 0xa
mov ecx, esi
call fcn.00494b70
mov byte [esp + 0x78], 9
lea ecx, [esp + 0x20]
call fcn.00494b70
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x1c]
call fcn.00494b70
mov edi, dword [esp + 0x24]
call fcn.0043d610
mov byte [esp + 0x78], 1
lea eax, [esp + 0x58]
call fcn.00403560
mov byte [esp + 0x78], 0
lea eax, [esp + 0x40]
call fcn.0049b990
mov dword [esp + 0x78], 0xffffffff
test edi, edi
je 0x405094
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
mov dword [esp + 0x38], 0
call ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8