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

Disassembly:
push 0xffffffffffffffff
push 0x45ffa5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x484144]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
cmp byte [eax + 0x45], 0
je 0x404651
push 0x1b
xor esi, esi
push 0x46a8e4
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call 0x40585c
mov dword [esp + 0x6c], esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call 0x40592c
push 0x475ce8
lea ecx, [esp + 0x3c]
push ecx
call 0x44dfc3
mov ebp, eax
lea edx, [esp + 0x7c]
mov dword [esp + 0x18], ebp
call fcn.00404d2c
mov eax, dword [ebp]
cmp byte [eax + 0x45], 0
je 0x40466e
mov edi, dword [ebp + 8]
jmp 0x404686
mov edx, dword [ebp + 8]
cmp byte [edx + 0x45], 0
je 0x40467b
mov edi, eax
jmp 0x404686
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
mov edi, dword [ecx + 8]
jne 0x4046fd
cmp byte [edi + 0x45], 0
mov esi, dword [ebp + 4]
jne 0x404692
mov dword [edi + 4], esi
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
cmp dword [eax + 4], ebp
jne 0x4046a3
mov dword [eax + 4], edi
jmp 0x4046ae
cmp dword [esi], ebp
jne 0x4046ab
mov dword [esi], edi
jmp 0x4046ae
mov dword [esi + 8], edi
mov edx, dword [ecx + 4]
cmp dword [edx], ebp
jne 0x4046d8
cmp byte [edi + 0x45], 0
je 0x4046bf
mov ecx, esi
jmp 0x4046d6
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
mov ecx, edi
jne 0x4046d6
lea ecx, [ecx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x4046cc
mov dword [edx], ecx
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 4]
cmp dword [ebx + 8], ebp
jne 0x404759
cmp byte [edi + 0x45], 0
je 0x4046f1
mov eax, esi
mov dword [ebx + 8], eax
jmp 0x404759
mov eax, edi
call fcn.0040499c
mov dword [ebx + 8], eax
jmp 0x404759
mov dword [eax + 4], ecx
mov edx, dword [ebp]
mov dword [ecx], edx
cmp ecx, dword [ebp + 8]
jne 0x40470e
mov esi, ecx
jmp 0x404728
cmp byte [edi + 0x45], 0
mov esi, dword [ecx + 4]
jne 0x40471a
mov dword [edi + 4], esi
mov dword [esi], edi
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
cmp dword [eax + 4], ebp
jne 0x404739
mov dword [eax + 4], ecx
jmp 0x404747
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x404744
mov dword [eax], ecx
jmp 0x404747
mov dword [eax + 8], ecx
mov edx, dword [ebp + 4]
mov dword [ecx + 4], edx
mov dl, byte [ebp + 0x44]
mov al, byte [ecx + 0x44]
mov byte [ecx + 0x44], dl
mov byte [ebp + 0x44], al
mov bl, 1
cmp byte [ebp + 0x44], bl
jne 0x404886
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
cmp edi, dword [ecx + 4]
je 0x404883
jmp 0x40477c
cmp byte [edi + 0x44], bl
jne 0x404883
mov ecx, dword [esi]
cmp edi, ecx
jne 0x404801
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x44], 0
jne 0x4047aa
mov edx, dword [esp + 0x74]
mov byte [ecx + 0x44], bl
push edx
mov ecx, esi
mov byte [esi + 0x44], 0
call fcn.00404a3c
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x45], 0
jne 0x404835
mov eax, dword [ecx]
cmp byte [eax + 0x44], bl
jne 0x4047c3
mov edx, dword [ecx + 8]
cmp byte [edx + 0x44], bl
je 0x404831
mov eax, dword [ecx + 8]
cmp byte [eax + 0x44], bl
jne 0x4047e1
mov edx, dword [ecx]
mov eax, dword [esp + 0x74]
mov byte [edx + 0x44], bl
push eax
mov byte [ecx + 0x44], 0
call fcn.00404a8c
mov ecx, dword [esi + 8]
mov dl, byte [esi + 0x44]
mov byte [ecx + 0x44], dl
mov byte [esi + 0x44], bl
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, esi
mov byte [eax + 0x44], bl
call fcn.00404a3c
jmp 0x404883
cmp byte [ecx + 0x44], 0
jne 0x40481c
mov eax, dword [esp + 0x74]
mov byte [ecx + 0x44], bl
push eax
mov ecx, esi
mov byte [esi + 0x44], 0
call fcn.00404a8c
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
jne 0x404835
mov edx, dword [ecx + 8]
cmp byte [edx + 0x44], bl
jne 0x40484c
mov eax, dword [ecx]
cmp byte [eax + 0x44], bl
jne 0x40484c
mov byte [ecx + 0x44], 0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov edi, esi
cmp edi, dword [edx + 4]
mov esi, dword [esi + 4]
jne 0x40477c
jmp 0x404883
mov edx, dword [ecx]
cmp byte [edx + 0x44], bl
jne 0x404869
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x74]
mov byte [eax + 0x44], bl
push edx
mov byte [ecx + 0x44], 0
call fcn.00404a3c
mov ecx, dword [esi]
mov al, byte [esi + 0x44]
mov edx, dword [esp + 0x74]
mov byte [ecx + 0x44], al
mov byte [esi + 0x44], bl
mov ecx, dword [ecx]
mov byte [ecx + 0x44], bl
push edx
mov ecx, esi
call fcn.00404a8c
mov byte [edi + 0x44], bl
mov dword [esp + 0x6c], 0xffffffff
lea eax, [ebp + 0xc]
push eax
call fcn.00404c6c
push ebp
call 0x44c3bc
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 8]
add esp, 4
test eax, eax
jbe 0x4048b1
add eax, 0xffffffff
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc