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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45dd27
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x476458]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x476458]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x404eb6
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x10], 0
je 0x404eb6
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
lea ecx, [eax + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
cmp ebx, dword [eax + 8]
je 0x404eb6
call fcn.0043f5a4
mov edi, eax
mov dword [esp + 0x34], edi
call fcn.0043f363
push 0
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.0043f698
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x404da1
inc eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x30]
call fcn.0043f6c0
xor eax, eax
mov dword [esp + 0x198], eax
push 2
push 0x464b88
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], eax
mov byte [esp + 0x40], al
call fcn.00402d60
lea ecx, [ebx + 0xa0]
lea edx, [esp + 0x38]
mov byte [esp + 0x198], 1
call fcn.00406110
mov byte [esp + 0x198], 0
cmp dword [esp + 0x4c], 0x10
mov esi, eax
jb 0x404e08
mov eax, dword [esp + 0x38]
push eax
call fcn.004410cb
add esp, 4
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
push 0
lea ecx, [esp + 0x34]
mov dword [eax], edi
call fcn.0043f698
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x404e3d
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x30]
call fcn.0043f6c0
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00407a10
add esp, 8
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b], al
mov dword [esp + 0x19c], 0xffffffff
call fcn.0043f698
mov eax, dword [edi + 4]
test eax, eax
je 0x404e7c
cmp eax, 0xffffffff
jae 0x404e7c
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x24]
not esi
call fcn.0043f6c0
and esi, edi
je 0x404e9c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x17], 0
jne 0x404ede
mov ecx, dword [esp + 0x1c]
add ebx, 0x12c
cmp ebx, dword [ecx + 8]
jne 0x404d78
xor al, al
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00440ba3
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.00404170
mov ecx, ebx
mov dword [esp + 0x198], 2
call fcn.00431200
test al, al
je 0x404fbf
mov edx, 0x464b84
lea esi, [esp + 0x38]
call fcn.004010d0
mov edx, esi
lea ecx, [esp + 0xf4]
mov byte [esp + 0x198], 3
call fcn.00406110
mov edi, 0x10
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], edi
jb 0x404f44
mov eax, dword [eax]
lea esi, [esp + 0x38]
mov byte [eax], 0
mov byte [esp + 0x198], 2
call fcn.00408060
mov edx, 0x464b88
lea esi, [esp + 0x38]
call fcn.004010d0
mov edx, esi
lea ecx, [esp + 0xf4]
mov byte [esp + 0x198], 4
call fcn.00406110
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], edi
jb 0x404f8a
mov eax, dword [eax]
lea esi, [esp + 0x38]
mov byte [eax], 0
mov byte [esp + 0x198], 2
call fcn.00408060
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x13c]
add esi, 0x13c
lea edx, [esp + 0x54]
push edx
push eax
lea ebx, [esp + 0x28]
call fcn.00407ba0
jmp 0x405007
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + 0x110]
cmp eax, edx
jne 0x404fdb
mov eax, dword [ebx + 0x78]
push eax
push 1
push 1
jmp 0x404fed
lea edx, [ecx + 0x124]
cmp eax, edx
jne 0x404ff8
mov eax, dword [ebx + 0x78]
push eax
push 3
push 5
lea esi, [ebx + 0xa0]
call fcn.00405030
push ebx
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call fcn.004062e0
lea ecx, [esp + 0x54]
mov dword [esp + 0x198], 0xffffffff
call fcn.00431150
mov al, 1
jmp 0x404eb8