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

Disassembly:
sub esp, 0x58
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov ebx, edx
movzx eax, byte [ebx + 0x30]
push esi
push edi
mov edi, ecx
push eax
mov eax, ebx
mov edx, ebp
mov dword [esp + 0x1c], edi
mov byte [esp + 0x1a], 0
call fcn.004639f0
test al, al
jne 0x45ba81
mov dx, word [ebx]
mov eax, dword [ebp + 0xdc]
mov edi, dword [edi + 0xdc]
mov ecx, 0x513
mov word [esp + 0x2c], cx
mov cl, byte [ebx + 2]
mov byte [esp + 0x39], cl
xor ecx, ecx
mov word [esp + 0x3c], cx
mov ecx, dword [ebp + 0xe0]
mov word [esp + 0x37], dx
xor edx, edx
mov byte [esp + 0x2e], 3
mov dword [esp + 0x2f], eax
mov dword [esp + 0x33], edi
mov word [esp + 0x3a], dx
mov word [esp + 0x3e], dx
test ecx, ecx
je 0x45ba6a
fld dword [0x574168]
push 5
push edi
push eax
push ecx
fstp dword [esp]
add ebp, 0xd0
push ebp
push 0x14
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.00427cf0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0051a8be
add esp, 0x58
ret 4
mov eax, edi
call fcn.0049ad20
cmp dword [edi + 0x558c], 0
je 0x45baa5
mov ecx, dword [edi + 0x5594]
cmp ecx, dword [ebp + 0xdc]
je 0x45baa5
push edi
call fcn.0048b570
movzx ecx, byte [ebx + 0x30]
mov eax, edi
call fcn.0045a150
movzx edx, byte [ebx + 0x30]
push edx
mov byte [esp + 0x1b], al
push edi
lea esi, [esp + 0x28]
mov eax, ebp
call fcn.00463dc0
mov byte [esp + 0x1f], al
test al, al
je 0x45bae8
cmp dword [ebp + 0x5954], 0
jne 0x45bae8
mov edx, dword [ebp + 0x1d4]
mov ecx, 5
mov eax, ebp
call fcn.004682a0
cmp byte [esp + 0x17], 0
jne 0x45bb23
mov ecx, dword [ebp + 0xdc]
lea eax, [esp + 0x20]
push eax
push ecx
push 1
call fcn.004581f0
mov byte [esp + 0x16], al
test al, al
je 0x45bb23
mov eax, ebp
call fcn.0049ace0
mov edx, dword [ebp + 0xdc]
push 0
push edx
push 1
mov ecx, edi
call fcn.004654c0
cmp byte [esp + 0x17], 0
movzx ecx, byte [esp + 0x1f]
mov esi, dword [edi + 0xdc]
mov dx, word [ebx]
mov eax, 0x513
mov byte [esp + 0x2e], cl
movzx ecx, byte [ebx + 2]
mov word [esp + 0x2c], ax
mov eax, dword [ebp + 0xdc]
mov dword [esp + 0x2f], eax
mov dword [esp + 0x33], esi
mov word [esp + 0x37], dx
mov byte [esp + 0x39], cl
jne 0x45bb81
movzx edx, word [esp + 0x20]
mov cx, word [esp + 0x24]
mov word [esp + 0x3a], dx
movzx edx, word [esp + 0x28]
mov word [esp + 0x3c], cx
mov word [esp + 0x3e], dx
jmp 0x45bb94
xor ecx, ecx
xor edx, edx
mov word [esp + 0x3a], cx
mov word [esp + 0x3c], dx
mov word [esp + 0x3e], cx
mov ecx, dword [ebp + 0xe0]
test ecx, ecx
je 0x45bbc0
fld dword [0x574168]
push 5
push esi
push eax
push ecx
fstp dword [esp]
lea edx, [ebp + 0xd0]
push edx
push 0x14
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.00427cf0
movzx eax, word [ebx + 0x76]
test ax, ax
jne 0x45bbd9
cmp word [ebx + 0x78], ax
jne 0x45bbd9
cmp word [ebx + 0x7a], ax
je 0x45bcb0
cmp byte [esp + 0x16], 0
jne 0x45bcb0
movzx edx, word [ebx + 0x78]
movzx ecx, ax
movzx eax, word [ebx + 0x7a]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0xdc]
push ecx
push edx
push 1
mov dword [esp + 0x54], eax
call fcn.004581f0
mov byte [esp + 0x16], al
test al, al
je 0x45bc31
mov eax, ebp
call fcn.0049ace0
mov eax, dword [ebp + 0xdc]
mov ecx, dword [esp + 0x18]
push 0
push eax
push 1
call fcn.004654c0
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0xdc]
mov dl, byte [ebx + 2]
mov eax, dword [ebp + 0xdc]
mov ecx, 0x514
mov word [esp + 0x50], cx
movzx ecx, word [ebx]
mov word [esp + 0x5a], cx
movzx ecx, word [esp + 0x40]
mov word [esp + 0x5d], cx
movzx ecx, word [esp + 0x48]
mov word [esp + 0x61], cx
mov ecx, dword [ebp + 0xe0]
mov byte [esp + 0x5c], dl
mov dx, word [esp + 0x44]
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], esi
mov word [esp + 0x5f], dx
test ecx, ecx
je 0x45bcac
fld dword [0x574168]
push 5
push esi
push eax
push ecx
fstp dword [esp]
lea edx, [ebp + 0xd0]
push edx
push 0x13
lea eax, [esp + 0x68]
push eax
push ecx
call fcn.00427cf0
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x17], 0
je 0x45bd4c
cmp byte [esp + 0x16], 0
jne 0x45bd69
mov edx, dword [edi + 0xdc]
lea ecx, [esp + 0x20]
push ecx
push edx
push 1
mov edi, ebp
call fcn.004581f0
mov esi, dword [esp + 0x18]
test al, al
je 0x45bcfc
mov eax, esi
call fcn.0049ace0
mov eax, dword [esi + 0xdc]
push 0
push eax
push 1
mov ecx, ebp
call fcn.004654c0
mov eax, dword [ebp + 0xdc]
mov edx, dword [esi + 0xdc]
mov ecx, 0x515
mov word [esp + 0x40], cx
movzx ecx, word [esp + 0x20]
mov dword [esp + 0x46], eax
mov ax, word [esp + 0x24]
mov word [esp + 0x4c], ax
mov word [esp + 0x4a], cx
movzx ecx, word [esp + 0x28]
push 0x10
lea eax, [esp + 0x44]
push eax
mov eax, ebp
mov dword [esp + 0x4a], edx
mov word [esp + 0x56], cx
call fcn.004d56d0
mov edi, dword [esp + 0x18]
jmp 0x45bd53
cmp byte [esp + 0x16], 0
jne 0x45bd69
cmp byte [ebx + 0x31], 3
jne 0x45bd69
mov ecx, dword [ebp + 0xdc]
push ecx
push 1
push ebx
push edi
call fcn.00493970
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0051a8be
add esp, 0x58
ret 4