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

Disassembly:
sub esp, 0x60
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
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 + 0x18], edi
mov byte [esp + 0x16], 0
call fcn.004639f0
test al, al
jne 0x45b58f
mov dx, word [ebx]
mov eax, dword [ebp + 0xdc]
mov edi, dword [edi + 0xdc]
mov word [esp + 0x37], dx
xor edx, edx
cmp word [ebx + 0x32], 0x1b
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
jne 0x45b51c
mov ecx, 0x512
mov word [esp + 0x2c], cx
mov cl, byte [ebx + 2]
mov byte [esp + 0x39], cl
xor ecx, ecx
mov word [esp + 0x3c], cx
mov word [esp + 0x40], cx
mov word [esp + 0x44], cx
mov ecx, dword [ebp + 0xe0]
mov word [esp + 0x42], dx
test ecx, ecx
je 0x45b560
fld dword [0x574168]
push 5
push edi
push eax
push ecx
fstp dword [esp]
lea edx, [ebp + 0xd0]
push edx
push 0x1a
lea eax, [esp + 0x44]
push eax
jmp 0x45b55a
mov ecx, 0x511
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]
test ecx, ecx
je 0x45b560
fld dword [0x574168]
push 5
push edi
push eax
push ecx
fstp dword [esp]
lea eax, [ebp + 0xd0]
push eax
push 0x14
lea edx, [esp + 0x44]
push edx
push ecx
call fcn.00427cf0
cmp word [ebx], 0x38
jne 0x45b578
movzx eax, byte [ebx + 0x4c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [ebp + 0x556c]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0051a8be
add esp, 0x60
ret 4
mov eax, edi
call fcn.0049ad20
cmp word [ebx], 0x38
jne 0x45b5ae
movzx ecx, byte [ebx + 0x4c]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fstp dword [ebp + 0x556c]
cmp dword [edi + 0x558c], 0
je 0x45b5cb
mov edx, dword [edi + 0x5594]
cmp edx, dword [ebp + 0xdc]
je 0x45b5cb
push edi
call fcn.0048b570
movzx ecx, byte [ebx + 0x30]
mov eax, edi
call fcn.0045a150
mov byte [esp + 0x13], al
movzx eax, byte [ebx + 0x30]
push eax
push edi
lea esi, [esp + 0x24]
mov eax, ebp
call fcn.00463dc0
mov byte [esp + 0x1b], al
test al, al
je 0x45b60e
cmp dword [ebp + 0x5954], 0
jne 0x45b60e
mov edx, dword [ebp + 0x1d4]
mov ecx, 5
mov eax, ebp
call fcn.004682a0
cmp word [ebx + 0x32], 0x1b
jne 0x45b744
cmp byte [esp + 0x13], 0
jne 0x45b67b
mov edx, dword [ebp + 0xdc]
lea ecx, [esp + 0x1c]
push ecx
push edx
push 1
call fcn.004581f0
mov byte [esp + 0x12], al
test al, al
je 0x45b654
mov eax, ebp
call fcn.0049ace0
mov eax, dword [ebp + 0xdc]
push 0
push eax
push 1
mov ecx, edi
call fcn.004654c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
mov edi, ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
call fcn.0045c6c0
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
movzx edx, byte [esp + 0x1b]
mov eax, dword [ebp + 0xdc]
mov esi, dword [edi + 0xdc]
mov ecx, 0x512
mov byte [esp + 0x2e], dl
movzx edx, byte [ebx + 2]
mov word [esp + 0x2c], cx
mov cx, word [ebx]
mov dword [esp + 0x2f], eax
mov dword [esp + 0x33], esi
mov word [esp + 0x37], cx
mov byte [esp + 0x39], dl
jne 0x45b6ed
movzx ecx, word [esp + 0x1c]
movzx edx, word [esp + 0x20]
mov word [esp + 0x3a], cx
movzx ecx, word [esp + 0x24]
mov word [esp + 0x3c], dx
movzx edx, word [esp + 0x48]
mov word [esp + 0x3e], cx
movzx ecx, word [esp + 0x4c]
mov word [esp + 0x40], dx
movzx edx, word [esp + 0x50]
jmp 0x45b705
xor ecx, ecx
xor edx, edx
mov word [esp + 0x3a], cx
mov word [esp + 0x3c], dx
mov word [esp + 0x3e], cx
mov word [esp + 0x40], dx
mov word [esp + 0x42], cx
mov ecx, dword [ebp + 0xe0]
mov word [esp + 0x44], dx
test ecx, ecx
je 0x45b8ee
fld dword [0x574168]
push 5
push esi
push eax
push ecx
fstp dword [esp]
lea eax, [ebp + 0xd0]
push eax
push 0x1a
lea edx, [esp + 0x44]
push edx
push ecx
call fcn.00427cf0
jmp 0x45b8ee
cmp byte [esp + 0x13], 0
jne 0x45b77f
mov ecx, dword [ebp + 0xdc]
lea eax, [esp + 0x1c]
push eax
push ecx
push 1
call fcn.004581f0
mov byte [esp + 0x12], al
test al, al
je 0x45b77f
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 + 0x13], 0
movzx ecx, byte [esp + 0x1b]
mov esi, dword [edi + 0xdc]
mov dx, word [ebx]
mov eax, 0x511
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 0x45b7dd
movzx edx, word [esp + 0x1c]
mov cx, word [esp + 0x20]
mov word [esp + 0x3a], dx
movzx edx, word [esp + 0x24]
mov word [esp + 0x3c], cx
mov word [esp + 0x3e], dx
jmp 0x45b7f0
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 0x45b81c
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 0x45b835
cmp word [ebx + 0x78], ax
jne 0x45b835
cmp word [ebx + 0x7a], ax
je 0x45b8ee
cmp byte [esp + 0x12], 0
jne 0x45b8ee
movzx edx, word [ebx + 0x78]
movzx ecx, ax
movzx eax, word [ebx + 0x7a]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0xdc]
push ecx
push edx
push 1
mov dword [esp + 0x5c], eax
call fcn.004581f0
mov byte [esp + 0x12], al
test al, al
je 0x45b88d
mov eax, ebp
call fcn.0049ace0
mov eax, dword [ebp + 0xdc]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 1
call fcn.004654c0
mov edx, dword [ebp + 0xdc]
mov eax, dword [esp + 0x14]
mov ecx, 0x514
mov word [esp + 0x58], cx
movzx ecx, word [ebx]
mov dword [esp + 0x5a], edx
mov edx, dword [eax + 0xdc]
mov al, byte [ebx + 2]
mov word [esp + 0x62], cx
movzx ecx, word [esp + 0x48]
mov byte [esp + 0x64], al
mov ax, word [esp + 0x4c]
mov word [esp + 0x67], ax
mov word [esp + 0x65], cx
movzx ecx, word [esp + 0x50]
push 0x13
lea eax, [esp + 0x5c]
push eax
mov eax, ebp
mov dword [esp + 0x66], edx
mov word [esp + 0x71], cx
call fcn.004d56d0
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x45b98a
cmp byte [esp + 0x12], 0
jne 0x45b9a7
mov edx, dword [edi + 0xdc]
lea ecx, [esp + 0x1c]
push ecx
push edx
push 1
mov edi, ebp
call fcn.004581f0
mov esi, dword [esp + 0x14]
test al, al
je 0x45b93a
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 + 0x48], cx
movzx ecx, word [esp + 0x1c]
mov dword [esp + 0x4e], eax
mov ax, word [esp + 0x20]
mov word [esp + 0x54], ax
mov word [esp + 0x52], cx
movzx ecx, word [esp + 0x24]
push 0x10
lea eax, [esp + 0x4c]
push eax
mov eax, ebp
mov dword [esp + 0x52], edx
mov word [esp + 0x5e], cx
call fcn.004d56d0
mov edi, dword [esp + 0x14]
jmp 0x45b991
cmp byte [esp + 0x12], 0
jne 0x45b9a7
cmp byte [ebx + 0x31], 3
jne 0x45b9a7
mov ecx, dword [ebp + 0xdc]
push ecx
push 1
push ebx
push edi
call fcn.00493970
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0051a8be
add esp, 0x60
ret 4