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

Disassembly:
sub esp, 0x4c
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, ecx
movzx eax, byte [ebx + 0x30]
push ebp
mov ebp, dword [esp + 0x58]
push esi
push eax
mov eax, ebx
mov ecx, ebp
mov edx, edi
call fcn.00459090
test al, al
jne 0x45c3fe
mov edx, dword [ebp + 0x88]
mov eax, dword [edi + 0xdc]
mov ecx, 0x519
mov word [esp + 0x2c], cx
mov cx, word [ebx]
mov word [esp + 0x37], cx
xor ecx, ecx
mov dword [esp + 0x33], edx
mov dl, byte [ebx + 2]
mov word [esp + 0x3a], cx
mov word [esp + 0x3e], cx
mov ecx, dword [edi + 0xe0]
mov byte [esp + 0x39], dl
xor edx, edx
mov byte [esp + 0x2e], 3
mov dword [esp + 0x2f], eax
mov word [esp + 0x3c], dx
test ecx, ecx
je 0x45c3c0
fld dword [0x574168]
push 5
push edx
push eax
push ecx
fstp dword [esp]
lea edx, [edi + 0xd0]
push edx
push 0x14
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.00427cf0
push 1
push edi
mov ecx, ebp
call fcn.004b4010
cmp dword [ebp + 0x2d8], 0
jne 0x45c3e8
mov byte [ebp + 0x2d7], 1
mov byte [ebp + 0x2d5], 1
mov byte [ebp + 0x2d6], 1
xor al, al
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0051a8be
add esp, 0x4c
ret 4
movzx ecx, byte [ebx + 0x30]
push ecx
push ebp
lea esi, [esp + 0x1c]
mov eax, edi
call fcn.00459490
mov byte [esp + 0x13], al
test al, al
je 0x45c432
cmp dword [edi + 0x5954], 0
jne 0x45c432
mov edx, dword [edi + 0x1d4]
mov ecx, 5
mov eax, edi
call fcn.004682a0
mov esi, dword [edi + 0x17f4]
xor eax, eax
test ebp, ebp
je 0x45c455
test esi, esi
je 0x45c455
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, ebp
call fcn.004a18a0
mov eax, dword [esi + 8]
movzx ecx, word [ebx + 0x64]
mov edx, dword [edi + 0x122c]
push eax
mov eax, dword [edi + 0xdc]
push ecx
push edx
push eax
push 1
push ebp
lea eax, [esp + 0x2c]
call fcn.004a1980
mov byte [esp + 0x12], al
test al, al
je 0x45c494
mov eax, edi
call fcn.0049ace0
mov ecx, dword [edi + 0xdc]
push ecx
push 1
mov ecx, ebp
call fcn.004a1c20
mov ecx, dword [ebp + 0x88]
mov al, byte [esp + 0x13]
mov edx, 0x519
mov word [esp + 0x40], dx
movzx edx, word [ebx]
mov dword [esp + 0x47], ecx
mov cl, byte [ebx + 2]
mov word [esp + 0x4b], dx
movzx edx, word [esp + 0x14]
mov byte [esp + 0x4d], cl
mov cx, word [esp + 0x18]
mov word [esp + 0x4e], dx
movzx edx, word [esp + 0x1c]
mov word [esp + 0x50], cx
mov ecx, dword [edi + 0xe0]
mov byte [esp + 0x42], al
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x43], eax
mov word [esp + 0x52], dx
test ecx, ecx
je 0x45c514
fld dword [0x574168]
push 5
push 0
push eax
push ecx
fstp dword [esp]
lea eax, [edi + 0xd0]
push eax
push 0x14
lea edx, [esp + 0x58]
push edx
push ecx
call fcn.00427cf0
movzx eax, word [ebx + 0x76]
test ax, ax
jne 0x45c52d
cmp word [ebx + 0x78], ax
jne 0x45c52d
cmp word [ebx + 0x7a], ax
je 0x45c625
cmp byte [esp + 0x12], 0
jne 0x45c625
movzx ecx, word [ebx + 0x78]
movzx edx, word [ebx + 0x7a]
mov esi, dword [edi + 0x17f4]
movzx eax, ax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
test esi, esi
je 0x45c56e
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
push ecx
mov eax, ebp
call fcn.004a18a0
mov eax, dword [esi + 8]
movzx edx, word [ebx + 0x64]
mov ecx, dword [edi + 0xdc]
push eax
mov eax, dword [edi + 0x122c]
push edx
push eax
push ecx
push 1
push ebp
lea eax, [esp + 0x38]
call fcn.004a1980
mov byte [esp + 0x12], al
test al, al
je 0x45c5ad
mov eax, edi
call fcn.0049ace0
mov edx, dword [edi + 0xdc]
push edx
push 1
mov ecx, ebp
call fcn.004a1c20
mov ecx, dword [ebp + 0x88]
movzx edx, word [ebx]
mov dword [esp + 0x32], ecx
mov cl, byte [ebx + 2]
mov word [esp + 0x36], dx
movzx edx, word [esp + 0x20]
mov byte [esp + 0x38], cl
mov cx, word [esp + 0x24]
mov eax, 0x51a
mov word [esp + 0x39], dx
movzx edx, word [esp + 0x28]
mov word [esp + 0x3b], cx
mov ecx, dword [edi + 0xe0]
mov word [esp + 0x2c], ax
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x2e], eax
mov word [esp + 0x3d], dx
test ecx, ecx
je 0x45c625
fld dword [0x574168]
push 5
push 0
push eax
push ecx
fstp dword [esp]
lea eax, [edi + 0xd0]
push eax
push 0x13
lea edx, [esp + 0x44]
push edx
push ecx
call fcn.00427cf0
push 1
push edi
mov ecx, ebp
call fcn.004b4010
cmp byte [esp + 0x12], 0
mov byte [ebp + 0x2d7], 1
mov byte [ebp + 0x2d5], 1
mov byte [ebp + 0x2d6], 1
jne 0x45c65f
cmp byte [ebx + 0x31], 3
jne 0x45c65f
mov eax, dword [edi + 0xdc]
push eax
push ebx
push ebp
call fcn.004b4f80
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0051a8be
add esp, 0x4c
ret 4