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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe34
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov edx, ecx
push edi
test esi, esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], 0
jle 0x1001a621
lea ecx, [ebx + 0x280]
jmp 0x1001a5b2
mov esi, dword [ebp + 0xc]
mov eax, dword [ecx - 0x180]
mov edi, dword [ecx - 0x100]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x1001a61d
mov esi, dword [ecx]
mov eax, edi
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x1001a61a
mov edi, dword [ecx - 0x80]
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x1001a61a
mov edx, dword [ecx - 0x180]
mov eax, edi
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x1001a61a
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
inc eax
add ecx, 4
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x1001a5af
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x20], esi
je 0x1001ac47
cmp dword [ebp + 0x10], 6
je 0x1001ac47
lea ecx, [ebx + 8]
xor eax, eax
fld qword [ecx - 8]
fadd qword [ecx]
mov edi, dword [ecx - 8]
add ecx, 0x20
mov dword [esp + eax + 0x140], edi
mov edi, dword [ecx - 0x24]
fmul qword [0x10071138]
mov dword [esp + eax + 0x144], edi
mov edi, dword [ecx + 0x58]
mov dword [esp + eax + 0x40], edi
mov edi, dword [ecx + 0x5c]
mov dword [esp + eax + 0x44], edi
mov edi, dword [ecx - 0x10]
fst qword [esp + eax + 0x148]
fld qword [ecx + 0x58]
fadd qword [ecx + 0x60]
mov dword [esp + eax + 0x178], edi
mov edi, dword [ecx - 0xc]
mov dword [esp + eax + 0x17c], edi
mov edi, dword [ecx + 0x70]
fmul qword [0x10071138]
mov dword [esp + eax + 0x78], edi
mov edi, dword [ecx + 0x74]
mov dword [esp + eax + 0x7c], edi
add eax, 0x40
fst qword [esp + eax + 8]
fld qword [ecx - 0x18]
fadd qword [ecx - 0x20]
fmul qword [0x10071138]
fstp qword [esp + 0x18]
fld qword [ecx + 0x68]
fadd qword [ecx + 0x60]
fmul qword [0x10071138]
fstp qword [esp + 0x10]
fld qword [ecx - 0x10]
fadd qword [ecx - 0x18]
fmul qword [0x10071138]
fst qword [esp + 0x28]
fstp qword [esp + eax + 0x130]
fld qword [ecx + 0x70]
fadd qword [ecx + 0x68]
fmul qword [0x10071138]
fst qword [esp + 0x30]
fstp qword [esp + eax + 0x30]
fxch st(1)
fadd qword [esp + 0x18]
fmul qword [0x10071138]
fst qword [esp + 0x20]
fstp qword [esp + eax + 0x110]
fadd qword [esp + 0x10]
fmul qword [0x10071138]
fst qword [esp + eax + 0x10]
fld qword [esp + 0x28]
fadd qword [esp + 0x18]
fmul qword [0x10071138]
fst qword [esp + eax + 0x128]
fld qword [esp + 0x30]
fadd qword [esp + 0x10]
fmul qword [0x10071138]
fst qword [esp + 0x28]
fstp qword [esp + eax + 0x28]
fadd qword [esp + 0x20]
fmul qword [0x10071138]
fst qword [esp + eax + 0x120]
fstp qword [esp + eax + 0x118]
fadd qword [esp + 0x28]
fmul qword [0x10071138]
fst qword [esp + eax + 0x20]
fstp qword [esp + eax + 0x18]
cmp eax, 0x100
jl 0x1001a63a
xor eax, eax
fld qword [esp + eax + 0x140]
fadd qword [esp + eax + 0x180]
mov ecx, dword [esp + eax + 0x140]
mov dword [esp + eax + 0x540], ecx
mov ecx, dword [esp + eax + 0x144]
fmul qword [0x10071138]
mov dword [esp + eax + 0x544], ecx
mov ecx, dword [esp + eax + 0x40]
mov dword [esp + eax + 0x5c0], ecx
mov ecx, dword [esp + eax + 0x44]
mov dword [esp + eax + 0x5c4], ecx
fstp qword [esp + eax + 0x560]
fld qword [esp + eax + 0x80]
fadd qword [esp + eax + 0x40]
add eax, 8
fmul qword [0x10071138]
fst qword [esp + eax + 0x5d8]
fld qword [esp + eax + 0x1b8]
fadd qword [esp + eax + 0x178]
fmul qword [0x10071138]
fld qword [esp + eax + 0xb8]
fadd qword [esp + eax + 0x78]
fmul qword [0x10071138]
fstp qword [esp + 0x10]
fld qword [esp + eax + 0x1f8]
fadd qword [esp + eax + 0x1b8]
fmul qword [0x10071138]
fstp qword [esp + eax + 0x878]
fld qword [esp + eax + 0xb8]
fadd qword [esp + eax + 0xf8]
fmul qword [0x10071138]
fst qword [esp + 0x28]
fstp qword [esp + eax + 0x8f8]
fld st(0)
fadd qword [esp + eax + 0x558]
fmul qword [0x10071138]
fstp qword [esp + eax + 0x578]
fxch st(1)
fadd qword [esp + 0x10]
fmul qword [0x10071138]
fst qword [esp + 0x18]
fstp qword [esp + eax + 0x5f8]
fadd qword [esp + eax + 0x878]
fmul qword [0x10071138]
fstp qword [esp + eax + 0x858]
fld qword [esp + 0x28]
fadd qword [esp + 0x10]
fmul qword [0x10071138]
fst qword [esp + eax + 0x8d8]
fld qword [esp + eax + 0x858]
fadd qword [esp + eax + 0x578]
fmul qword [0x10071138]
fstp qword [esp + eax + 0x598]
fadd qword [esp + 0x18]
fmul qword [0x10071138]
fst qword [esp + eax + 0x618]
mov ecx, dword [esp + eax + 0x598]
mov dword [esp + eax + 0x838], ecx
mov ecx, dword [esp + eax + 0x59c]
mov dword [esp + eax + 0x83c], ecx
mov ecx, dword [esp + eax + 0x1f8]
mov dword [esp + eax + 0x898], ecx
mov ecx, dword [esp + eax + 0x1fc]
fstp qword [esp + eax + 0x8b8]
mov dword [esp + eax + 0x89c], ecx
mov ecx, dword [esp + eax + 0xf8]
mov dword [esp + eax + 0x918], ecx
mov ecx, dword [esp + eax + 0xfc]
mov dword [esp + eax + 0x91c], ecx
cmp eax, 0x20
jl 0x1001a778
xor eax, eax
fld qword [esp + eax + 0x160]
fadd qword [esp + eax + 0x1a0]
mov ecx, dword [esp + eax + 0x160]
mov dword [esp + eax + 0x240], ecx
mov ecx, dword [esp + eax + 0x164]
fmul qword [0x10071138]
mov dword [esp + eax + 0x244], ecx
mov ecx, dword [esp + eax + 0x60]
mov dword [esp + eax + 0x2c0], ecx
mov ecx, dword [esp + eax + 0x64]
mov dword [esp + eax + 0x2c4], ecx
fstp qword [esp + eax + 0x260]
fld qword [esp + eax + 0x60]
fadd qword [esp + eax + 0xa0]
add eax, 8
fmul qword [0x10071138]
fst qword [esp + eax + 0x2d8]
fld qword [esp + eax + 0x1d8]
fadd qword [esp + eax + 0x198]
fmul qword [0x10071138]
fld qword [esp + eax + 0xd8]
fadd qword [esp + eax + 0x98]
fmul qword [0x10071138]
fstp qword [esp + 0x10]
fld qword [esp + eax + 0x218]
fadd qword [esp + eax + 0x1d8]
fmul qword [0x10071138]
fstp qword [esp + eax + 0xb78]
fld qword [esp + eax + 0x118]
fadd qword [esp + eax + 0xd8]
fmul qword [0x10071138]
fst qword [esp + 0x28]
fstp qword [esp + eax + 0xbf8]
fld st(0)
fadd qword [esp + eax + 0x258]
fmul qword [0x10071138]
fstp qword [esp + eax + 0x278]
fxch st(1)
fadd qword [esp + 0x10]
fmul qword [0x10071138]
fst qword [esp + 0x18]
fstp qword [esp + eax + 0x2f8]
fadd qword [esp + eax + 0xb78]
fmul qword [0x10071138]
fstp qword [esp + eax + 0xb58]
fld qword [esp + 0x28]
fadd qword [esp + 0x10]
fmul qword [0x10071138]
fst qword [esp + eax + 0xbd8]
fld qword [esp + eax + 0x278]
fadd qword [esp + eax + 0xb58]
fmul qword [0x10071138]
fstp qword [esp + eax + 0x298]
fadd qword [esp + 0x18]
fmul qword [0x10071138]
fst qword [esp + eax + 0x318]
mov ecx, dword [esp + eax + 0x298]
mov dword [esp + eax + 0xb38], ecx
mov ecx, dword [esp + eax + 0x29c]
mov dword [esp + eax + 0xb3c], ecx
mov ecx, dword [esp + eax + 0x218]
mov dword [esp + eax + 0xb98], ecx
mov ecx, dword [esp + eax + 0x21c]
fstp qword [esp + eax + 0xbb8]
mov dword [esp + eax + 0xb9c], ecx
mov ecx, dword [esp + eax + 0x118]
mov dword [esp + eax + 0xc18], ecx
mov ecx, dword [esp + eax + 0x11c]
mov dword [esp + eax + 0xc1c], ecx
cmp eax, 0x20
jl 0x1001a92b
xor ecx, ecx
test esi, esi
jle 0x1001abf0
lea eax, [esp + 0x240]
lea esi, [ebx + 0x280]
sub eax, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xb40]
sub eax, ebx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x840]
sub eax, ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x540]
sub eax, ebx
mov dword [esp + 0x10], eax
mov edi, dword [esi - 0x180]
mov ebx, dword [esi - 0x100]
mov dword [esp + ecx*4 + 0x3c0], ebx
mov dword [esp + ecx*4 + 0x640], edi
lea eax, [edi + ebx]
add esi, 4
cdq
sub eax, edx
sar eax, 1
mov dword [esp + ecx*4 + 0x6c0], eax
mov dword [esp + ecx*4 + 0x340], eax
mov eax, dword [esi - 4]
add eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esi - 4]
sar ebx, 1
mov dword [edx + esi - 4], ebx
mov edx, dword [esp + 0x30]
mov dword [esp + ecx*4 + 0xcc0], ebx
mov dword [edx + esi - 4], eax
mov edx, dword [esi - 0x84]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + ecx*4 + 0xd40], eax
mov dword [edx + esi - 4], eax
mov eax, dword [esi - 0x84]
mov dword [esp + ecx*4 + 0xa40], eax
add eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + ecx*4 + 0x940], eax
mov dword [esp + ecx*4 + 0x740], eax
add eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
mov dword [edx + esi - 4], eax
mov dword [esp + ecx*4 + 0x440], eax
mov dword [esp + ecx*4 + 0xc40], eax
mov dword [esp + ecx*4 + 0x9c0], eax
mov eax, dword [ebp + 0xc]
inc ecx
cmp ecx, eax
jl 0x1001ab23
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x540]
lea edi, [eax + 1]
push edi
push esi
push ecx
mov ecx, edx
call fcn.1001a580
mov ebx, dword [esp + 0x38]
push edi
lea edx, [esp + 0x844]
push esi
push edx
mov ecx, ebx
call fcn.1001a580
push edi
lea eax, [esp + 0x244]
push esi
push eax
mov ecx, ebx
call fcn.1001a580
push edi
lea ecx, [esp + 0xb44]
push esi
push ecx
mov ecx, ebx
call fcn.1001a580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [edx + 0x1c]
lea esi, [ebx + 0x100]
add edi, 0x7c
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x74]
fld qword [ebx + 0x80]
mov esi, dword [esp + 0x38]
fst qword [esp + 0x10]
fld qword [ebx]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
fst qword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x254]
push edx
fxch st(1)
fstp qword [eax + 0x260]
fstp qword [eax + 0x258]
call fcn.1002ba20
mov ecx, dword [ebx + 0x94]
mov edx, dword [ebx + 0x10]
fld qword [ebx + 0x98]
mov eax, dword [ebx + 0x90]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x18], edx
fst qword [esp + 0x38]
mov edx, dword [ebx + 0x8c]
mov dword [esp + 0x30], ecx
fld qword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
fst qword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x14]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
fxch st(1)
fstp qword [eax + 0x260]
push ecx
mov ecx, dword [eax + 0x254]
fstp qword [eax + 0x258]
call fcn.1002bb60
fld qword [ebx + 0xf8]
fst qword [esp + 0x28]
mov edx, dword [ebx + 0xd8]
mov ecx, dword [ebx + 0x58]
fld qword [ebx + 0x78]
mov eax, dword [ebx + 0xdc]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x5c]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 0x1c], edx
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
fst qword [esp + 0x38]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xb8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x3c]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [eax + 0x254]
push edx
fxch st(1)
fstp qword [eax + 0x260]
fstp qword [eax + 0x258]
call fcn.1002bb60
mov eax, dword [ebx + 0xe8]
mov ecx, dword [ebx + 0xec]
fld qword [ebx + 0xe0]
mov edx, dword [ebx + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0xf0]
mov dword [esp + 0x18], edx
fst qword [esp + 0x28]
fld qword [ebx + 0x60]
mov edx, dword [ebx + 0xf4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x34], edx
fst qword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x20]
push ecx
fxch st(1)
fstp qword [eax + 0x260]
fstp qword [eax + 0x258]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ecx
mov ecx, dword [eax + 0x254]
call fcn.1002bb60
mov edx, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0x20]
fld qword [ebx + 0x80]
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x18], ecx
fst qword [esp + 0x28]
mov ecx, dword [ebx + 0xc4]
mov dword [esp + 0x1c], edx
fld qword [ebx]
mov edx, dword [ebx + 0x40]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
fst qword [esp + 0x38]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc0]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x44]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [eax + 0x254]
push edx
fxch st(1)
fstp qword [eax + 0x260]
fstp qword [eax + 0x258]
call fcn.1002bb60
mov edi, dword [esi + 0x1c]
mov ecx, dword [edi + 0x254]
call fcn.1002bc90
mov eax, dword [edi + 0x254]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx]
fld qword [ecx + edx*8 - 8]
fstp qword [edi + 0x258]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edx*4 - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
fld qword [edx + ecx*8 - 8]
fstp qword [edi + 0x260]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc8]
mov ecx, dword [esi + 0x1c]
call fcn.1002c8e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc