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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff48
mov dword [esp + 4], ecx
mov byte [esp], dl
mov ebx, eax
mov edi, dword [0x181dcee8]
lea ebp, [esp + 0x2c]
mov eax, dword [esp + 4]
mov dword [eax + 8], 0xbf800000
mov dword [esp + 0x14], 0x447a0000
mov dword [esp + 0xc], 0x3e8
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x181dca60]
mov al, byte [eax]
xor edx, edx
mov dl, al
mov ecx, dword [0x181dcaf0]
sub ecx, edx
je 0x181d9393
test al, al
je 0x181d9e06
mov eax, dword [0x181dcfb0]
mov eax, dword [eax + 0xcc]
call eax
mov dword [edi], eax
cmp dword [edi], 0
je 0x181d9e06
cmp dword [edi], 0xbb8
jbe 0x181d9e06
mov eax, dword [0x181dca64]
mov al, byte [eax]
cmp al, 0x12
je 0x181d93ca
cmp al, 3
je 0x181d93ca
xor edx, edx
jmp 0x181d93cc
mov dl, 1
mov byte [0x181dca58], dl
xor edx, edx
mov dl, al
cmp edx, 0x1c
ja case.0x181d93e5.0
mov dl, byte [edx + 0x181d93ec]
jmp dword [edx*4 + 0x181d9409]
lea eax, [ebx + 0x1c]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
lea eax, [ebx + 0x38]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
lea eax, [ebx + 0x54]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
lea eax, [ebx + 0x70]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
lea eax, [ebx + 0x8c]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
lea eax, [ebx + 0xa8]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
lea eax, [ebx + 0xc4]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
lea eax, [ebx + 0xe0]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
lea eax, [ebx + 0xfc]
mov dword [0x1afb1678], eax
jmp 0x181d94ce
mov dword [0x1afb1678], ebx
cmp al, 4
je 0x181d9e06
cmp al, 9
je 0x181d9e06
cmp al, 0x19
je 0x181d9e06
cmp al, 0x1d
je 0x181d9e06
cmp al, 6
je 0x181d9e06
mov eax, dword [0x1afb1678]
cmp byte [eax], 0
je 0x181d9e06
mov esi, 1
mov eax, dword [edi]
cmp esi, dword [eax]
je 0x181d98c6
imul eax, esi, 0xd
mov edx, dword [0x181dce00]
mov edx, dword [edx]
cmp dword [edx + eax*8 + 0x3c], 1
je 0x181d98c6
mov eax, dword [edi]
mov eax, dword [eax + 0x3b4]
test eax, eax
je 0x181d951b
mov edx, dword [edi]
cmp esi, dword [edx + 0x3b8]
je 0x181d98c6
cmp eax, 5
je 0x181d98c6
cmp eax, 6
je 0x181d98c6
imul eax, esi, 0xd
mov edx, dword [0x181dce00]
mov edx, dword [edx]
mov al, byte [edx + eax*8 + 0x2a]
mov edx, dword [0x181dcec0]
mov byte [edx], al
mov eax, dword [edi]
imul eax, dword [eax], 0xd
mov edx, dword [0x181dce00]
mov edx, dword [edx]
mov al, byte [edx + eax*8 + 0x2a]
mov edx, dword [0x181dceac]
mov byte [edx], al
mov eax, dword [0x181dcec0]
mov al, byte [eax]
sub al, 4
jae 0x181d98c6
mov eax, dword [0x181dceac]
mov al, byte [eax]
sub al, 4
jae 0x181d98c6
push esi
mov eax, dword [0x181dcfb0]
mov eax, dword [eax + 0xd4]
call eax
pop ecx
mov edx, dword [0x181dcfc8]
mov dword [edx], eax
mov eax, dword [0x181dcfc8]
mov eax, dword [eax]
call fcn.181d9310
test al, al
je 0x181d98c6
mov eax, dword [0x181dcfc8]
mov eax, dword [eax]
cmp dword [eax + 0x368], 6
je 0x181d98c6
mov eax, dword [edi]
mov edx, dword [eax + 0xb48]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xb4c]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xb50]
mov dword [esp + 0x28], edx
fld dword [esp + 0x28]
fadd dword [0x181d9e14]
fstp dword [esp + 0x28]
wait
mov eax, dword [0x181dcfc8]
mov eax, dword [eax]
mov edx, dword [eax + 0xb48]
mov dword [ebp], edx
mov edx, dword [eax + 0xb4c]
mov dword [ebp + 4], edx
mov edx, dword [eax + 0xb50]
mov dword [ebp + 8], edx
fld dword [ebp + 8]
fadd dword [0x181d9e14]
fstp dword [ebp + 8]
wait
push 0xffffffffffffffff
push 2
push 1
push ebp
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x181dcfb0]
mov eax, dword [eax + 0xec]
call eax
add esp, 0x14
mov edx, dword [0x181dcf50]
mov dword [edx], eax
mov eax, dword [0x181dce6c]
cmp byte [eax + 0x75], 0
je 0x181d965c
fld xword [0x181d9e18]
mov eax, dword [0x181dcf50]
mov eax, dword [eax]
fcomp dword [eax + 0x10]
fnstsw ax
sahf
jb 0x181d9660
xor ebx, ebx
jmp 0x181d9662
mov bl, 1
test bl, bl
jne 0x181d967c
mov eax, dword [0x181dcf50]
mov eax, dword [eax]
fld dword [eax + 0x10]
fcomp dword [0x181d9e24]
fnstsw ax
sahf
sete bl
test bl, bl
je 0x181d98c6
mov eax, dword [0x181dcfc8]
mov eax, dword [eax]
mov edx, dword [eax + 0xb48]
mov dword [ebp], edx
mov edx, dword [eax + 0xb4c]
mov dword [ebp + 4], edx
mov edx, dword [eax + 0xb50]
mov dword [ebp + 8], edx
mov eax, dword [0x1afb1678]
cmp dword [eax + 4], 1
jne 0x181d96c0
fld dword [ebp + 8]
fadd dword [0x181d9e14]
fstp dword [ebp + 8]
wait
jmp 0x181d96cd
fld dword [ebp + 8]
fadd dword [0x181d9e28]
fstp dword [ebp + 8]
wait
mov edx, dword [0x181dcdc4]
mov eax, ebp
call fcn.181ccaf0
mov eax, dword [0x181dcdc4]
fld dword [eax + 8]
fcomp dword [0x181d9e2c]
fnstsw ax
sahf
je 0x181d98c6
mov eax, dword [0x181dcda4]
fld dword [eax]
mov eax, dword [0x181dcdc4]
fsub dword [eax]
fstp dword [ebp]
wait
mov eax, dword [0x181dcd34]
fld dword [eax]
mov eax, dword [0x181dcdc4]
fsub dword [eax + 4]
fstp dword [ebp + 4]
wait
fld dword [ebp]
fmul dword [ebp]
fld dword [ebp + 4]
fmul dword [ebp + 4]
faddp st(1)
fsqrt
fabs
fstp dword [esp + 0x10]
wait
mov eax, dword [0x181dcfc8]
mov eax, dword [eax]
lea edx, [eax + 0xb48]
mov eax, dword [edi]
add eax, 0xb48
call fcn.181cd4f8
fdiv dword [0x181d9e30]
call fcn.181729a0
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
dec eax
sub eax, 0xf
jae 0x181d977e
mov eax, dword [0x1afb1678]
fld dword [eax + 0x10]
mov eax, dword [esp + 8]
fadd dword [eax*4 + 0x181dcb08]
fcomp dword [esp + 0x10]
fnstsw ax
sahf
seta bl
jmp 0x181d9790
fld dword [esp + 0x10]
mov eax, dword [0x1afb1678]
fcomp dword [eax + 0x10]
fnstsw ax
sahf
setb bl
test bl, bl
jne 0x181d97de
cmp byte [0x181dca58], 0
je 0x181d97de
mov eax, dword [0x181dca5c]
mov al, byte [eax]
cmp al, 0x1e
jae 0x181d97c2
mov eax, dword [0x1afb1678]
fld dword [eax + 0x10]
fmul dword [0x181d9e28]
fcomp dword [esp + 0x10]
fnstsw ax
sahf
seta bl
jmp 0x181d97de
cmp al, 0x50
jae 0x181d97de
mov eax, dword [0x1afb1678]
fld dword [eax + 0x10]
fmul dword [0x181d9e34]
fcomp dword [esp + 0x10]
fnstsw ax
sahf
seta bl
mov eax, dword [0x181dce6c]
cmp byte [eax + 0x28], 0
je 0x181d9854
test bl, bl
jne 0x181d9854
mov eax, dword [0x181dca60]
movzx eax, byte [eax]
mov edx, dword [0x181dcaf0]
sub edx, eax
cmp edx, 1
jbe 0x181d9854
mov eax, dword [0x1afb1678]
cmp byte [eax + 2], 2
je 0x181d9854
mov eax, dword [0x181dca60]
movzx eax, byte [eax]
mov edx, dword [0x181dcaf0]
sub edx, eax
lea eax, [edx + edx*2]
xor edx, edx
push edx
push eax
push 0
push 0x23
call fcn.181913c4
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
fild qword [esp + 0xb0]
mov eax, dword [0x1afb1678]
fadd dword [eax + 0x10]
fcomp dword [esp + 0x10]
fnstsw ax
sahf
seta bl
test bl, bl
je 0x181d98c6
mov eax, dword [0x181dce6c]
cmp byte [eax + 0x59], 0
jne 0x181d9874
mov eax, dword [0x181dceac]
mov al, byte [eax]
mov edx, dword [0x181dcec0]
cmp al, byte [edx]
je 0x181d98c6
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
sahf
jae 0x181d98c6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [0x181dcfc8]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x181dce6c]
cmp byte [eax + 0x75], 0
je 0x181d98bc
mov eax, dword [0x181dcf50]
mov eax, dword [eax]
fld dword [eax + 0x10]
fcomp dword [0x181d9e24]
fnstsw ax
sahf
jb 0x181d98c0
xor eax, eax
jmp 0x181d98c2
mov al, 1
mov byte [esp + 0x18], al
inc esi
cmp esi, 0x21
jne 0x181d94e1
cmp dword [esp + 0x1c], 0
je 0x181d9e06
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0xffffffff
je 0x181d9e06
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
je 0x181d9e06
mov eax, dword [esp + 0xc]
dec eax
sub eax, 0xa
jae 0x181d9907
mov byte [0x181dca3c], 1
mov eax, dword [0x1afb1678]
cmp dword [eax + 4], 1
jbe 0x181d998a
mov eax, dword [edi]
mov edx, dword [eax + 0xb48]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xb4c]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xb50]
mov dword [esp + 0x28], edx
fld dword [esp + 0x28]
fadd dword [0x181d9e14]
fstp dword [esp + 0x28]
wait
push 0xffffffffffffffff
push 2
push 1
mov eax, dword [esp + 0x28]
add eax, 0xb48
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x181dcfb0]
mov eax, dword [eax + 0xec]
call eax
add esp, 0x14
mov edx, dword [0x181dcf50]
mov dword [edx], eax
mov eax, dword [0x181dcf50]
mov eax, dword [eax]
fld dword [eax + 0x10]
fcomp dword [0x181d9e24]
fnstsw ax
sahf
sete al
xor al, 1
mov byte [esp + 0x19], al
mov eax, dword [0x181dce6c]
mov eax, dword [eax + 0x40]
cmp eax, 1
jne 0x181d9a9b
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xb48]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xb4c]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0xb50]
mov dword [esp + 0x7c], edx
xor eax, eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xb58]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [0x181dcfb0]
mov eax, dword [eax + 0x60]
call eax
add esp, 0x10
fld dword [esp + 0x70]
fchs
fstp dword [esp + 0x70]
wait
fld dword [esp + 0x68]
fmul dword [0x181d9e34]
fadd dword [esp + 0x74]
fstp dword [esp + 0x74]
wait
fld dword [esp + 0x6c]
fmul dword [0x181d9e34]
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
wait
fld dword [esp + 0x70]
fmul dword [0x181d9e34]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x7c]
wait
fld dword [esp + 0x74]
fadd dword [esp + 0x50]
fstp dword [esp + 0x74]
wait
fld dword [esp + 0x78]
fadd dword [esp + 0x54]
fstp dword [esp + 0x78]
wait
fld dword [esp + 0x7c]
fadd dword [esp + 0x58]
fstp dword [esp + 0x7c]
wait
fld dword [esp + 0x74]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x74]
wait
fld dword [esp + 0x78]
fadd dword [esp + 0x60]
fstp dword [esp + 0x78]
wait
fld dword [esp + 0x7c]
fadd dword [esp + 0x64]
fstp dword [esp + 0x7c]
wait
jmp 0x181d9b96
mov edx, dword [0x181dce6c]
cmp eax, 2
jne 0x181d9ae6
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
lea eax, [eax + eax*2]
mov edx, dword [eax*8 + 0x181ea424]
mov dword [esp + 0x74], edx
mov edx, dword [eax*8 + 0x181ea428]
mov dword [esp + 0x78], edx
mov edx, dword [eax*8 + 0x181ea42c]
mov dword [esp + 0x7c], edx
fld dword [esp + 0x7c]
mov eax, dword [0x181dce6c]
fsub dword [eax + 0x44]
fstp dword [esp + 0x7c]
wait
jmp 0x181d9b96
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
lea eax, [eax + eax*2]
mov edx, dword [eax*8 + 0x181ea424]
mov dword [esp + 0x74], edx
mov edx, dword [eax*8 + 0x181ea428]
mov dword [esp + 0x78], edx
mov edx, dword [eax*8 + 0x181ea42c]
mov dword [esp + 0x7c], edx
fld dword [esp + 0x7c]
mov eax, dword [0x181dce6c]
fsub dword [eax + 0x48]
fstp dword [esp + 0x7c]
wait
mov eax, dword [0x1afb1678]
cmp dword [eax + 4], 1
jne 0x181d9b96
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x28]
add eax, 0xb54
push eax
mov eax, dword [0x181dcfb0]
mov eax, dword [eax + 0x60]
call eax
add esp, 0x10
fld dword [esp + 0x70]
fchs
fstp dword [esp + 0x70]
wait
fld dword [esp + 0x68]
fmul dword [0x181d9e38]
fadd dword [esp + 0x74]
fstp dword [esp + 0x74]
wait
fld dword [esp + 0x6c]
fmul dword [0x181d9e38]
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
wait
fld dword [esp + 0x70]
fmul dword [0x181d9e38]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x7c]
wait
mov eax, dword [edi]
cmp dword [eax + 0x368], 2
jne 0x181d9bb0
fld dword [esp + 0x7c]
fadd dword [0x181d9e34]
fstp dword [esp + 0x7c]
wait
mov eax, dword [0x1afb1678]
mov eax, dword [eax + 4]
sub eax, 2
je 0x181d9bc2
dec eax
je 0x181d9bda
jmp 0x181d9bf0
cmp byte [esp + 0x19], 0
jne 0x181d9bf0
fld dword [esp + 0x7c]
fsub dword [0x181d9e3c]
fstp dword [esp + 0x7c]
wait
jmp 0x181d9bf0
cmp byte [esp + 0x19], 0
jne 0x181d9bf0
fld dword [esp + 0x7c]
fsub dword [0x181dca4c]
fstp dword [esp + 0x7c]
wait
fld dword [esp + 0x7c]
mov eax, dword [0x1afb1678]
fadd dword [eax + 0xc]
fstp dword [esp + 0x7c]
wait
fld dword [esp + 0x74]
mov eax, dword [edi]
fsub dword [eax + 0xb48]
fstp dword [esp + 0x74]
wait
fld dword [esp + 0x78]
mov eax, dword [edi]
fsub dword [eax + 0xb4c]
fstp dword [esp + 0x78]
wait
fld dword [esp + 0x7c]
mov eax, dword [edi]
fsub dword [eax + 0xb50]
fstp dword [esp + 0x7c]
wait
lea edx, [esp + 0x74]
lea eax, [esp + 0x74]
call fcn.181cd3ec
fld dword [esp + 0x74]
fmul dword [0x181d9e2c]
fstp dword [esp + 0x74]
wait
fld dword [esp + 0x74]
fcomp dword [0x181d9e40]
fnstsw ax
sahf
jbe 0x181d9c6e
fld dword [esp + 0x74]
fsub dword [0x181d9e44]
fstp dword [esp + 0x74]
wait
fld dword [esp + 0x78]
fcomp dword [0x181d9e40]
fnstsw ax
sahf
jbe 0x181d9c8c
fld dword [esp + 0x78]
fsub dword [0x181d9e44]
fstp dword [esp + 0x78]
wait
mov eax, dword [0x181dce6c]
cmp byte [eax + 0x28], 0
je 0x181d9d45
fld dword [0x1afb16bc]
fcomp dword [0x181d9e48]
fnstsw ax
sahf
je 0x181d9d45
fld dword [0x1afb16bc]
mov eax, dword [0x1afb1678]
fmul dword [eax + 0x18]
fsubr dword [esp + 0x74]
fstp dword [esp + 0x74]
wait
fld dword [0x1afb16c0]
mov eax, dword [0x1afb1678]
fmul dword [eax + 0x18]
fsubr dword [esp + 0x78]
fstp dword [esp + 0x78]
wait
mov eax, dword [esp + 0xc]
add eax, 0xfffffffc
sub eax, 6
jae 0x181d9d21
mov eax, dword [0x181dce6c]
fld dword [eax + 0x30]
fmul dword [0x181d9e4c]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [0x181dce6c]
fld dword [eax + 0x30]
fmul dword [0x181d9e4c]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea eax, [esp + 0x7c]
call fcn.181d916c
mov ebx, eax
jmp 0x181d9d3c
mov eax, dword [0x181dce6c]
push dword [eax + 0x30]
mov eax, dword [0x181dce6c]
push dword [eax + 0x30]
lea eax, [esp + 0x7c]
call fcn.181d916c
mov ebx, eax
mov byte [0x181dca3c], 1
jmp 0x181d9d8f
cmp byte [esp + 0x18], 0
je 0x181d9d74
mov eax, dword [0x1afb1678]
cmp byte [eax + 2], 2
je 0x181d9d74
mov eax, dword [0x181dce6c]
push dword [eax + 0x30]
mov eax, dword [0x181dce6c]
push dword [eax + 0x30]
lea eax, [esp + 0x7c]
call fcn.181d916c
mov ebx, eax
jmp 0x181d9d8f
mov eax, dword [0x1afb1678]
push dword [eax + 0x14]
mov eax, dword [0x1afb1678]
push dword [eax + 0x14]
lea eax, [esp + 0x7c]
call fcn.181d916c
mov ebx, eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x74]
mov dword [eax], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], edx
cmp dword [0x181dca44], 0
jne 0x181d9dd9
cmp byte [0x181dca3c], 0
je 0x181d9dc4
mov eax, dword [0x181dce6c]
cmp byte [eax + 0x28], 0
je 0x181d9dfb
lea eax, [esp + 0x74]
push eax
mov eax, dword [0x181dcfb0]
mov eax, dword [eax + 0x8c]
call eax
pop ecx
jmp 0x181d9dfb
cmp dword [0x181dca44], 1
jbe 0x181d9dfb
dec dword [0x181dca44]
lea eax, [esp + 0x74]
push eax
mov eax, dword [0x181dcfb0]
mov eax, dword [eax + 0x8c]
call eax
pop ecx
test bl, bl
je 0x181d9e06
mov byte [0x181dca3c], 1
add esp, 0xb8
pop ebp
pop edi
pop esi
pop ebx
ret