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

Disassembly:
push 0xffffffffffffffff
push 0x4a0048
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x4c2c40]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2c40]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1b8]
fldz
mov ebp, dword [esp + 0x1bc]
fst qword [esp + 0x8c]
mov edi, dword [esp + 0x1b4]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, 7
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], bl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov dword [esp + 0x1ac], ebx
fstp qword [esp + 0x94]
lea esi, [edi + 0x100]
mov ecx, esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], 0x64
call fcn.00419360
mov dword [esp + 0x14], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 0x18], edx
fild qword [esp + 0x14]
and eax, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
fild qword [esp + 0x14]
mov ecx, 0x72
lea edx, [esp + 0x40]
fchs
faddp st(1)
fstp qword [esp + 0x8c]
call fcn.00432a50
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1b4], 1
call fcn.00401b70
cmp dword [esp + 0x58], 8
jb 0x40b8a9
mov eax, dword [esp + 0x44]
push eax
call fcn.0045a870
add esp, 4
lea eax, [esp + 0x10c]
call fcn.004163e0
push esi
lea edx, [esp + 0x80]
lea ecx, [edi + 0x40]
push edx
mov byte [esp + 0x1b4], 2
mov eax, dword [edi + 0x64]
push ecx
lea esi, [esp + 0x118]
call fcn.00416530
lea eax, [esp + 0x7c]
push eax
call fcn.0041a6c0
add esp, 4
cmp byte [esp + 0xd4], bl
je 0x40b9b5
push ebx
push 0x4a9c14
lea esi, [esp + 0x48]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.00401c20
mov edx, dword [esp + 0x1c]
mov ecx, esi
push ecx
mov byte [esp + 0x1b0], 3
push ebp
mov ecx, 0xa
mov dword [edi + 0x70], 0xc
call fcn.0040d380
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x40b94c
mov edx, dword [esp + 0x44]
push edx
call fcn.0045a870
add esp, 4
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ac], bl
call fcn.00416460
cmp dword [esp + 0xd0], esi
jb 0x40b978
mov eax, dword [esp + 0xbc]
push eax
call fcn.0045a870
add esp, 4
cmp dword [esp + 0xb4], esi
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
jb 0x40b9ab
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0045a870
add esp, 4
mov eax, 0xc
jmp 0x40bc61
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea ebp, [edi + 0x104]
mov byte [esp + 0x1ac], 4
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x40b9dc
call fcn.00478a25
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
mov dword [esp + 0x3c], eax
jbe 0x40b9f1
call fcn.00478a25
cmp ebp, ebp
je 0x40b9fa
call fcn.00478a25
cmp esi, dword [esp + 0x3c]
je 0x40ba33
cmp esi, dword [ebp + 8]
jb 0x40ba0a
call fcn.00478a25
mov edx, dword [esi + 4]
add edx, 0x1c
push edx
lea esi, [esp + 0x2c]
call fcn.00401650
mov eax, dword [esp + 0x18]
cmp eax, dword [ebp + 8]
jb 0x40ba28
call fcn.00478a25
add dword [esp + 0x18], 8
mov esi, dword [esp + 0x18]
jmp 0x40b9e0
mov esi, 7
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x5c]
push ecx
lea eax, [edi + 0x40]
push eax
push edx
lea eax, [edi + 0x80]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x1c4], 6
lea edx, [esp + 0x40]
mov dword [esp + 0x74], 3
call fcn.00411940
add esp, 0x18
cmp dword [esp + 0x74], ebx
jne 0x40bb7e
mov ecx, dword [esp + 0xe4]
cmp ecx, ebx
je 0x40bad9
mov edx, dword [esp + 0xe8]
sub edx, ecx
sar edx, 2
jne 0x40bb7e
mov edx, 0x4a9c14
lea eax, [esp + 0x40]
call fcn.004015e0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
mov byte [esp + 0x1ac], 7
mov dword [edi + 0x70], 0xa
push eax
push ecx
mov edi, 8
mov ecx, edi
call fcn.0040d380
cmp dword [esp + 0x58], edi
jb 0x40bb23
mov edx, dword [esp + 0x44]
push edx
call fcn.0045a870
add esp, 4
cmp dword [esp + 0x78], edi
jb 0x40bb36
mov eax, dword [esp + 0x64]
push eax
call fcn.0045a870
add esp, 4
lea edi, [esp + 0xe0]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00433d80
lea esi, [esp + 0x28]
call fcn.004019a0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ac], bl
call fcn.00416460
lea esi, [esp + 0x7c]
call fcn.00413a60
mov eax, 0xa
jmp 0x40bc61
cmp eax, ebx
je 0x40bbfa
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x60]
push ecx
push edx
mov edx, dword [esp + 0x24]
mov ecx, 9
mov dword [edi + 0x70], 0xb
call fcn.0040d380
cmp dword [esp + 0x78], 8
jb 0x40bbb5
mov eax, dword [esp + 0x64]
push eax
call fcn.0045a870
add esp, 4
lea edi, [esp + 0xe0]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00433d80
lea esi, [esp + 0x28]
call fcn.004019a0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ac], bl
call fcn.00416460
lea esi, [esp + 0x7c]
call fcn.00413a60
mov eax, 0xb
jmp 0x40bc61
add edi, 0x24
push edi
lea eax, [esp + 0xe4]
call fcn.00433e80
cmp dword [esp + 0x78], 8
jb 0x40bc1e
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0045a870
add esp, 4
lea edi, [esp + 0xe0]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00433d80
lea esi, [esp + 0x28]
call fcn.004019a0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1ac], bl
call fcn.00416460
lea esi, [esp + 0x7c]
call fcn.00413a60
mov eax, 1
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.00478599
add esp, 0x19c
ret 0xc