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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4562d9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4569b1
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00421bf4
mov edx, eax
add edx, 4
lea eax, [ebp - 0x14]
mov ecx, 0x4569c4
call fcn.00405160
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
lea edx, [ebp - 0x48]
xor ecx, ecx
mov eax, 0x4569dc
call fcn.00408284
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor edx, edx
push ebp
push 0x456937
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00407b78
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00456e78
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4563ec
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
call fcn.00407af8
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x40]
xor edx, edx
call fcn.00407a30
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00456e78
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 8]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x74]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
call fcn.00407b30
mov eax, dword [ebp - 0x40]
mov edx, 0x4569f8
call fcn.004074d8
test eax, eax
jne 0x4563e8
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00456e78
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov dword [eax + 0x14], 1
mov bl, 1
jmp 0x4563ee
xor ebx, ebx
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00456e78
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
call fcn.0040786c
test al, al
jne 0x45646d
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
lea edx, [ebp - 0x48]
xor ecx, ecx
mov eax, 0x456a08
call fcn.00408284
mov eax, dword [ebp - 0x40]
push eax
push 0x456a28
push 0x456a30
lea eax, [ebp - 0x60]
call fcn.00429fcc
lea eax, [ebp - 0x60]
push eax
push 0
call fcn.00404784
add esp, 0x14
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x20]
call fcn.00456ea0
call fcn.004034b8
jmp 0x45693e
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00428c70
test al, al
jne 0x4564c4
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov edx, 0x456a5c
call fcn.00403ca4
mov eax, dword [ebp - 0x40]
push eax
push 0x456a28
push 0x456a68
lea eax, [ebp - 0x60]
call fcn.00429fcc
lea eax, [ebp - 0x60]
push eax
push 0
call fcn.00404784
add esp, 0x14
mov dword [ebp - 0x10], 1
call fcn.004034b8
jmp 0x45693e
mov eax, dword [0x459c10]
mov edx, dword [ebp - 0xc]
call fcn.00403fec
call fcn.0040548d
call fcn.004027a8
test bl, bl
jne 0x4564f7
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00456e8c
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.00407af8
mov eax, dword [ebp - 0x40]
mov edx, 0x456a94
call fcn.004074d8
test eax, eax
jne 0x456520
mov eax, dword [ebp - 0x20]
add eax, 0x18
call fcn.004039dc
jmp 0x456530
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov edx, 0x456a94
call fcn.00403a30
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00453268
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov ecx, 0x456a9c
call fcn.00405160
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [0x4504d0]
call fcn.00402ee0
mov esi, eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
mov ecx, 0x456a9c
call fcn.00405160
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [0x4506c0]
call fcn.00402ee0
mov ebx, eax
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x32], 0
xor eax, eax
mov dword [esi + 0x38], eax
mov word [esi + 0x3c], 1
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.00451af4
call fcn.004051f4
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 1
jne 0x45688f
mov eax, ebx
call fcn.00451b68
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.00451af4
call fcn.004051f4
mov eax, ebx
call fcn.00451b68
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.00451af4
call fcn.004051f4
jmp 0x45688f
mov eax, ebx
call fcn.00450ac8
cmp al, 1
jne 0x4566bf
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x38], eax
mov ax, word [esi + 0x3c]
mov word [ebp - 0x3a], ax
mov byte [ebp - 0x32], 1
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00451be4
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
call fcn.0040747c
cmp byte [ebp - 0x31], 0
jne 0x45667a
mov eax, dword [ebp - 0x18]
mov edx, 0x456ab4
call fcn.00403d68
jne 0x45667a
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x38], eax
mov ax, word [ebp - 0x3a]
mov word [esi + 0x3c], ax
lea eax, [ebp - 0x18]
call fcn.004039dc
mov edx, eax
mov eax, ebx
call fcn.00452678
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov edx, dword [ebp - 0x18]
call fcn.00403c60
jmp 0x456875
cmp byte [ebp - 0x31], 0
jne 0x456875
mov eax, dword [ebp - 0x18]
mov edx, 0x456ac4
call fcn.00403d68
jne 0x456875
mov byte [ebp - 0x31], 1
lea eax, [ebp - 0x18]
call fcn.004039dc
mov edx, eax
mov eax, ebx
call fcn.00452678
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov edx, dword [ebp - 0x18]
call fcn.00403c60
jmp 0x456875
cmp byte [ebp - 0x32], 0
je 0x45685a
mov eax, ebx
call fcn.00450ac8
cmp al, 0x3d
jne 0x45685a
mov edi, dword [esi + 0x38]
mov ax, word [esi + 0x3c]
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x38], eax
mov ax, word [ebp - 0x3a]
mov word [esi + 0x3c], ax
lea eax, [ebp - 0x2c]
call fcn.004039dc
push eax
lea eax, [ebp - 0x28]
call fcn.004039dc
push eax
lea eax, [ebp - 0x24]
call fcn.004039dc
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004520ec
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x456846
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.004051f4
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
lea edx, [ebp - 0x84]
mov ecx, 1
mov eax, 0x456adc
call fcn.00408284
mov edx, dword [ebp - 0x40]
mov eax, dword [0x459c10]
call fcn.00403fec
call fcn.0040548d
call fcn.004027a8
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.004051f4
fild dword [ebp - 0x88]
fstp xword [ebp - 0x94]
wait
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.004051f4
fild dword [ebp - 0x98]
fld xword [ebp - 0x94]
fdivrp st(1)
fmul dword [0x456ae8]
call fcn.00402910
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00456e8c
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x70]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00456e8c
mov eax, dword [ebp - 0x64]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x7c]
add eax, 0x18
mov edx, dword [ebp - 0x2c]
call fcn.00403a30
jmp 0x456871
mov dword [esi + 0x38], edi
mov ax, word [ebp - 0x3c]
mov word [esi + 0x3c], ax
mov eax, ebx
call fcn.00451b68
jmp 0x456871
lea edx, [ebp - 0x40]
mov eax, esi
call fcn.00450a48
mov eax, dword [ebp - 0x40]
call fcn.00403c58
inc eax
mov word [esi + 0x3c], ax
mov byte [ebp - 0x32], 0
mov eax, ebx
call fcn.00450ac8
test al, al
je 0x45688f
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.00451af4
call fcn.004051f4
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.004051f4
cmp word [ebp - 0x74], 0
je 0x4565fd
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.004051f4
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
lea edx, [ebp - 0x84]
mov ecx, 1
mov eax, 0x456af4
call fcn.00408284
mov edx, dword [ebp - 0x40]
mov eax, dword [0x459c10]
call fcn.00403fec
call fcn.004056a7
call fcn.004027a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45693e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x1c]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4569b8
lea eax, [ebp - 0x70]
call fcn.0040512c
lea eax, [ebp - 0x6c]
call fcn.0040512c
lea eax, [ebp - 0x68]
call fcn.0040512c
lea eax, [ebp - 0x64]
call fcn.0040512c
lea eax, [ebp - 0x60]
call fcn.00404d28
lea eax, [ebp - 0x50]
call fcn.004039dc
lea eax, [ebp - 0x4c]
call fcn.0040512c
lea eax, [ebp - 0x40]
call fcn.004039dc
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00403a00
lea eax, [ebp - 0x1c]
call fcn.0040512c
lea eax, [ebp - 0x18]
call fcn.004039dc
lea eax, [ebp - 0x14]
call fcn.0040512c
ret