Function at 0x45bdd0
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]
push esi
mov esi, edx
movzx eax, byte [esi + 0x30]
push edi
mov edi, ecx
push eax
mov eax, esi
mov ecx, ebp
mov edx, edi
call fcn.00459090
test al, al
jne 0x45bf5e
cmp word [esi + 0x32], 0x1b
jne 0x45be96
mov edx, dword [ebp + 0x88]
mov eax, dword [edi + 0xdc]
mov ecx, 0x518
mov word [esp + 0x34], cx
mov cx, word [esi]
mov word [esp + 0x3f], cx
xor ecx, ecx
mov dword [esp + 0x3b], edx
mov dl, byte [esi + 2]
mov word [esp + 0x42], cx
mov word [esp + 0x46], cx
mov word [esp + 0x4a], cx
mov ecx, dword [edi + 0xe0]
mov byte [esp + 0x41], dl
xor edx, edx
mov byte [esp + 0x36], 3
mov dword [esp + 0x37], eax
mov word [esp + 0x44], dx
mov word [esp + 0x48], dx
mov word [esp + 0x4c], dx
test ecx, ecx
je 0x45bf2f
fld dword [0x574168]
push 5
push edx
push eax
push ecx
fstp dword [esp]
lea eax, [edi + 0xd0]
push eax
push 0x1a
lea edx, [esp + 0x4c]
push edx
push ecx
call fcn.00427cf0
jmp 0x45bf2f
mov ecx, dword [ebp + 0x88]
mov dx, word [esi]
mov dword [esp + 0x57], ecx
mov cl, byte [esi + 2]
mov byte [esp + 0x5d], cl
xor ecx, ecx
mov eax, 0x517
mov word [esp + 0x60], cx
mov ecx, dword [edi + 0xe0]
mov word [esp + 0x50], ax
mov eax, dword [edi + 0xdc]
mov word [esp + 0x5b], dx
xor edx, edx
mov byte [esp + 0x52], 3
mov dword [esp + 0x53], eax
mov word [esp + 0x5e], dx
mov word [esp + 0x62], dx
test ecx, ecx
je 0x45bf07
fld dword [0x574168]
push 5
push edx
push eax
push ecx
fstp dword [esp]
lea eax, [edi + 0xd0]
push eax
push 0x14
lea edx, [esp + 0x68]
push edx
push ecx
call fcn.00427cf0
push 1
push edi
mov ecx, ebp
call fcn.004b4010
cmp dword [ebp + 0x2d8], 0
jne 0x45bf2f
mov byte [ebp + 0x2d7], 1
mov byte [ebp + 0x2d5], 1
mov byte [ebp + 0x2d6], 1
cmp word [esi], 0x38
jne 0x45bf47
movzx eax, byte [esi + 0x4c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [edi + 0x556c]
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 ebx, ebp
call fcn.004b5d50
cmp word [esi], 0x38
jne 0x45bf7d
movzx ecx, byte [esi + 0x4c]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fstp dword [edi + 0x556c]
movzx edx, byte [esi + 0x30]
push edx
mov ebx, esi
push ebp
lea esi, [esp + 0x20]
mov eax, edi
mov dword [esp + 0x1c], 0
call fcn.00459490
mov byte [esp + 0x13], al
test al, al
je 0x45bfbb
cmp dword [edi + 0x5954], 0
jne 0x45bfbb
mov edx, dword [edi + 0x1d4]
mov ecx, 5
mov eax, edi
call fcn.004682a0
mov esi, ebx
cmp word [esi + 0x32], 0x1b
mov ebx, dword [edi + 0x17f4]
jne 0x45c0f4
test ebp, ebp
je 0x45bfeb
test ebx, ebx
je 0x45bfeb
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x18]
push eax
push ecx
mov eax, ebp
call fcn.004a18a0
mov ebx, dword [ebx + 8]
jmp 0x45bfef
mov ebx, dword [esp + 0x14]
movzx edx, word [esi + 0x64]
mov eax, dword [edi + 0x122c]
mov ecx, dword [edi + 0xdc]
push ebx
push edx
push eax
push ecx
push 1
push ebp
lea eax, [esp + 0x30]
call fcn.004a1980
mov bl, al
test bl, bl
je 0x45c02c
mov eax, edi
call fcn.0049ace0
mov edx, dword [edi + 0xdc]
push edx
push 1
mov ecx, ebp
call fcn.004a1c20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.0045c6c0
mov cl, byte [esp + 0x13]
mov edx, dword [ebp + 0x88]
mov byte [esp + 0x36], cl
movzx ecx, word [esi]
mov word [esp + 0x3f], cx
movzx ecx, word [esp + 0x18]
mov dword [esp + 0x3b], edx
mov dl, byte [esi + 2]
mov byte [esp + 0x41], dl
movzx edx, word [esp + 0x1c]
mov word [esp + 0x42], cx
movzx ecx, word [esp + 0x20]
mov word [esp + 0x44], dx
movzx edx, word [esp + 0x24]
mov word [esp + 0x46], cx
movzx ecx, word [esp + 0x28]
mov eax, 0x518
mov word [esp + 0x48], dx
movzx edx, word [esp + 0x2c]
mov word [esp + 0x4a], cx
mov ecx, dword [edi + 0xe0]
mov word [esp + 0x34], ax
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x37], eax
mov word [esp + 0x4c], dx
test ecx, ecx
je 0x45c2c9
fld dword [0x574168]
push 5
push 0
push eax
push ecx
fstp dword [esp]
lea eax, [edi + 0xd0]
push eax
push 0x1a
lea edx, [esp + 0x4c]
push edx
push ecx
call fcn.00427cf0
jmp 0x45c2c9
test ebp, ebp
je 0x45c113
test ebx, ebx
je 0x45c113
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x18]
push eax
push ecx
mov eax, ebp
call fcn.004a18a0
mov edx, dword [ebx + 8]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
movzx ecx, word [esi + 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 + 0x30]
call fcn.004a1980
mov bl, al
test bl, bl
je 0x45c154
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, 0x517
mov word [esp + 0x34], dx
movzx edx, word [esi]
mov dword [esp + 0x3b], ecx
mov cl, byte [esi + 2]
mov word [esp + 0x3f], dx
movzx edx, word [esp + 0x18]
mov byte [esp + 0x41], cl
mov cx, word [esp + 0x1c]
mov word [esp + 0x42], dx
movzx edx, word [esp + 0x20]
mov word [esp + 0x44], cx
mov ecx, dword [edi + 0xe0]
mov byte [esp + 0x36], al
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x37], eax
mov word [esp + 0x46], dx
test ecx, ecx
je 0x45c1d4
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 + 0x4c]
push edx
push ecx
call fcn.00427cf0
movzx eax, word [esi + 0x76]
test ax, ax
jne 0x45c1ed
cmp word [esi + 0x78], ax
jne 0x45c1ed
cmp word [esi + 0x7a], ax
je 0x45c2c9
test bl, bl
jne 0x45c2c9
movzx ecx, word [esi + 0x78]
movzx edx, word [esi + 0x7a]
mov ebx, dword [edi + 0x17f4]
movzx eax, ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
test ebx, ebx
je 0x45c22d
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x18]
push eax
push ecx
mov eax, ebp
call fcn.004a18a0
mov edx, dword [ebx + 8]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
movzx ecx, word [esi + 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 + 0x3c]
call fcn.004a1980
mov bl, al
test bl, bl
je 0x45c26e
mov eax, edi
call fcn.0049ace0
mov ecx, dword [edi + 0xdc]
push ecx
push 1
mov ecx, ebp
call fcn.004a1c20
mov eax, dword [edi + 0xdc]
mov ecx, dword [ebp + 0x88]
mov edx, 0x51a
mov word [esp + 0x50], dx
movzx edx, word [esi]
mov dword [esp + 0x52], eax
mov al, byte [esi + 2]
mov dword [esp + 0x56], ecx
mov cx, word [esp + 0x24]
mov word [esp + 0x5a], dx
movzx edx, word [esp + 0x28]
mov byte [esp + 0x5c], al
mov ax, word [esp + 0x2c]
mov word [esp + 0x5d], cx
push 0x13
lea ecx, [esp + 0x54]
mov word [esp + 0x63], dx
mov word [esp + 0x65], ax
push ecx
xor edx, edx
mov eax, edi
call fcn.004d56d0
push 1
push edi
mov ecx, ebp
call fcn.004b4010
mov byte [ebp + 0x2d7], 1
mov byte [ebp + 0x2d5], 1
mov byte [ebp + 0x2d6], 1
test bl, bl
jne 0x45c300
cmp byte [esi + 0x31], 3
jne 0x45c300
mov edx, dword [edi + 0xdc]
push edx
push esi
push ebp
call fcn.004b4f80
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