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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x444522
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
mov esi, dword [eax]
cmp esi, eax
je 0x404dbc
mov ecx, dword [esp + 0x150]
cmp dword [esi + 8], ecx
je 0x404ddc
mov esi, dword [esi]
cmp esi, eax
jne 0x404db1
mov eax, 0xcb
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret 0xc
lea ecx, [esp + 0xa4]
call fcn.00402890
mov ebx, dword [esp + 0x154]
mov ecx, dword [esp + 0x14c]
lea eax, [esp + 0xa4]
add esi, 8
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004069d0
xor ebp, ebp
cmp eax, ebp
jne 0x404dc1
mov edx, dword [esp + 0xb4]
mov ecx, edi
push edx
call fcn.004052d0
cmp bx, 3
jne 0x405025
mov al, byte [esp + 0x13]
push ebp
push ebp
lea ecx, [esp + 0x94]
mov byte [esp + 0x94], al
call fcn.004054c0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebp
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x9c], cl
push ebp
lea ecx, [esp + 0xa0]
mov dword [esp + 0x14c], ebp
call fcn.00405430
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x144], 1
call fcn.004066e0
lea edx, [esp + 0x4c]
mov bl, 2
push edx
mov ecx, edi
mov byte [esp + 0x148], bl
call fcn.00405340
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00406c00
push ebp
push 3
sub esp, 0x58
lea edx, [esp + 0xac]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00404b20
sub esp, 0x2c
lea eax, [esp + 0xac]
mov ecx, esp
mov dword [esp + 0xa8], esp
push eax
mov byte [esp + 0x1d4], 3
call fcn.00404c50
sub esp, 0x98
mov ecx, 0x26
lea esi, [esp + 0x1c8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x268], bl
call fcn.0040a160
add esp, 0x124
mov eax, dword [esp + 0x44]
mov byte [esp + 0x144], 4
mov esi, eax
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x404f57
lea ecx, [esp + 0x1c]
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.004053f0
mov edx, dword [eax]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.00403ef0
cmp dword [esp + 0x18], esi
jne 0x404f2d
mov eax, dword [esp + 0x44]
push eax
call fcn.004389f9
mov ecx, dword [esp + 0x3c]
add esp, 4
lea edx, [esp + 0x14]
mov dword [esp + 0x44], ebp
push ecx
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], ebp
mov byte [esp + 0x14c], 1
call fcn.00403e90
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00403ea0
mov edx, dword [esp + 0x38]
push edx
call fcn.004389f9
add esp, 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x144], 5
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0xa4]
call fcn.00403ea0
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004389f9
mov eax, dword [esp + 0x94]
add esp, 4
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov ecx, dword [eax]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x98]
mov dword [esp + 0x150], 0xffffffff
call fcn.00405460
mov eax, dword [esp + 0x90]
push eax
call fcn.004389f9
add esp, 4
xor eax, eax
jmp 0x404dc1