Function at 0x4181b0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x8371d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [esp + 0x11c]
fld dword [eax + 8]
push ebp
push esi
push edi
mov ebp, dword [esp + 0x138]
mov esi, eax
mov ecx, 5
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x12c]
mov esi, eax
lea edi, [esp + 0x7c]
fadd dword [ecx + 8]
fld dword [eax + 4]
fadd dword [ecx + 4]
fld dword [eax]
fadd dword [ecx]
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x130]
test eax, eax
mov dword [esp + 0x2c], ecx
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov ecx, 5
lea esi, [esp + 0x24]
lea edi, [esp + 0x90]
mov dword [esp + 0x30], edx
rep movsd dword es:[edi], dword [esi]
jle 0x418551
mov ecx, dword [esp + 0x134]
add ecx, 4
push ebx
mov ebx, dword [esp + 0x140]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4183da
mov ecx, 5
lea esi, [esp + 0x80]
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 5
lea esi, [esp + 0x94]
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4182cb
mov ecx, eax
call fcn.0054f560
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
push ecx
lea ecx, [eax + 4]
call fcn.0054f1b0
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x14]
mov ecx, eax
call fcn.00535300
mov esi, dword [eax + 0x2c]
test esi, esi
mov dword [esp + 0x48], esi
je 0x418536
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
lea edx, [esp + 0xd4]
push edx
push edi
mov dword [esp + 0x12c], eax
call fcn.0059b920
add esp, 8
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0xb0]
call fcn.0040ef50
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0059c890
add esp, 0xc
push eax
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xd4]
push ecx
call fcn.0059c890
add esp, 0xc
push eax
lea ecx, [esp + 0x68]
call fcn.0040ef50
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
shl eax, 4
add eax, ebx
lea ecx, [esp + 0xd4]
mov dword [eax + 4], edx
mov byte [eax], 0
mov dword [esp + 0x124], 0xffffffff
call fcn.0059acd0
jmp 0x4183de
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx - 4]
dec eax
je 0x418480
dec eax
je 0x41843b
dec eax
jne 0x418536
mov di, word [ecx + 8]
mov ecx, dword [esi + 0xc]
movzx eax, di
imul eax, eax, 0x1c
add eax, ecx
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00415590
add esp, 0xc
test al, al
je 0x418536
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 4
add eax, ebx
inc ecx
mov dword [ebp], ecx
mov word [eax + 0xc], di
mov byte [eax], 3
jmp 0x418524
mov di, word [ecx + 6]
movzx eax, di
lea edx, [eax + eax*4]
mov eax, dword [esi + 8]
lea eax, [eax + edx*4]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00417f20
add esp, 0xc
test al, al
je 0x418536
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 4
add eax, ebx
inc ecx
mov dword [ebp], ecx
mov word [eax + 0xa], di
mov byte [eax], 2
jmp 0x418524
mov di, word [ecx + 4]
cmp di, 0x7fff
jae 0x4184d0
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
movzx eax, di
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
mov ecx, dword [esp + 0x20]
push edx
lea edx, [ecx + eax*8]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00415cf0
add esp, 0x14
test al, al
je 0x418536
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 4
add eax, ebx
inc ecx
mov dword [ebp], ecx
mov word [eax + 8], di
jmp 0x418521
mov edx, dword [esp + 0x24]
mov esi, 0xffff
push edx
mov edx, dword [esp + 0x1c]
sub esi, edi
movzx eax, si
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*2]
mov edx, dword [esp + 0x20]
push ecx
lea eax, [edx + eax*8]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00415cf0
add esp, 0x14
test al, al
je 0x418536
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 4
add eax, ebx
inc ecx
mov dword [ebp], ecx
mov ecx, 0xffff
sub ecx, esi
mov word [eax + 8], cx
mov byte [eax], 1
mov eax, dword [ebp]
shl eax, 4
add eax, ebx
mov dword [eax + 4], 0
mov byte [eax], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, 0x10
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
jne 0x418273
pop ebx
mov ecx, dword [ebp]
xor eax, eax
pop edi
test ecx, ecx
mov ecx, dword [esp + 0x114]
pop esi
setg al
pop ebp
mov dword fs:[0], ecx
add esp, 0x118
ret