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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
cmp dword [0x102e2c60], 0
jne 0x1007a0cf
xor eax, eax
jmp 0x1007b4c0
cmp dword [ebp + 8], 0
jne 0x1007a130
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1278]
test ecx, ecx
jne 0x1007a130
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x1280]
test eax, eax
jl 0x1007a130
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x1280]
cmp edx, 0xf
jg 0x1007a130
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x127a]
test ecx, ecx
jne 0x1007a130
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x127c]
test eax, eax
jne 0x1007a130
xor eax, eax
jmp 0x1007b4c0
mov ecx, dword [0x102e2c60]
mov word [ecx + 0x1278], 0
mov edx, dword [0x102e2c60]
mov word [edx + 0x127a], 0
mov eax, dword [0x102e2c60]
mov word [eax + 0x127c], 0
push 0x110
call fcn.10004d70
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1007a18b
push 0x110
push 0x10116410
call fcn.10004d30
add esp, 8
xor eax, eax
jmp 0x1007b4c0
push 0x110
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100f1b90
add esp, 0xc
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x131e]
cmp eax, 1
jne 0x1007a1b9
mov dword [ebp - 0x14], 3
jmp 0x1007a1c9
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x125e]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
mov cx, word [ebp - 0x14]
mov word [eax], cx
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x1320]
cmp eax, 1
jne 0x1007a1ee
mov dword [ebp - 8], 1
jmp 0x1007a1fd
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1270]
mov dword [ebp - 8], edx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x10c]
test ecx, ecx
jne 0x1007a382
mov edx, dword [0x102e2c60]
cmp dword [edx + 0x12e4], 0
je 0x1007a236
mov eax, dword [0x102e2c60]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xac]
jg 0x1007a236
cmp dword [ebp - 8], 0
jge 0x1007a253
mov edx, dword [ebp - 0xc]
mov word [edx + 4], 0
mov eax, dword [ebp - 0xc]
mov word [eax + 6], 0
mov ecx, dword [ebp - 0xc]
mov word [ecx + 8], 0
jmp 0x1007a2a9
mov edx, dword [ebp - 8]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 0xc]
mov cx, word [ecx + edx]
mov word [eax + 4], cx
mov edx, dword [ebp - 8]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 0xc]
mov cx, word [ecx + edx + 2]
mov word [eax + 6], cx
mov edx, dword [ebp - 8]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 0xc]
mov cx, word [ecx + edx + 4]
mov word [eax + 8], cx
mov edx, dword [0x102e2c60]
cmp dword [edx + 0x12e4], 0
je 0x1007a2df
mov eax, dword [0x102e2c60]
mov ecx, dword [0x102e2c60]
mov edx, dword [eax + 0x12e0]
cmp edx, dword [ecx + 0xac]
jg 0x1007a2df
mov eax, dword [0x102e2c60]
cmp dword [eax + 0x12e0], 0
jge 0x1007a305
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x94], 0
mov edx, dword [ebp - 0xc]
mov word [edx + 0x96], 0
mov eax, dword [ebp - 0xc]
mov word [eax + 0x98], 0
jmp 0x1007a380
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12e0]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 0xc]
mov cx, word [ecx + edx]
mov word [eax + 0x94], cx
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12e0]
shl eax, 4
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12e4]
mov ecx, dword [ebp - 0xc]
mov dx, word [edx + eax + 2]
mov word [ecx + 0x96], dx
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e0]
shl ecx, 4
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12e4]
mov edx, dword [ebp - 0xc]
mov ax, word [eax + ecx + 4]
mov word [edx + 0x98], ax
jmp 0x1007a3d4
mov ecx, dword [0x102e2c60]
add ecx, 0x1260
mov edx, dword [ebp - 0xc]
add edx, 4
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [0x102e2c60]
add edx, 0x12d0
mov eax, dword [ebp - 0xc]
add eax, 0x94
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e0]
mov dword [edx + 0xa4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12cc]
mov dword [edx + 0x90], ecx
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x1180]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x54], eax
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x10c]
test eax, eax
jne 0x1007a4f5
mov ecx, dword [0x102e2c60]
cmp dword [ecx + 0x12e4], 0
je 0x1007a464
mov edx, dword [0x102e2c60]
mov eax, dword [0x102e2c60]
mov ecx, dword [edx + 0x117c]
cmp ecx, dword [eax + 0xac]
jg 0x1007a464
mov edx, dword [0x102e2c60]
cmp dword [edx + 0x117c], 0
jge 0x1007a481
mov eax, dword [ebp - 0xc]
mov word [eax + 0x58], 0
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x5a], 0
mov edx, dword [ebp - 0xc]
mov word [edx + 0x5c], 0
jmp 0x1007a4f3
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x117c]
shl ecx, 4
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12e4]
mov edx, dword [ebp - 0xc]
mov ax, word [eax + ecx]
mov word [edx + 0x58], ax
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x117c]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 0xc]
mov cx, word [ecx + edx + 2]
mov word [eax + 0x5a], cx
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x117c]
shl eax, 4
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12e4]
mov ecx, dword [ebp - 0xc]
mov dx, word [edx + eax + 4]
mov word [ecx + 0x5c], dx
jmp 0x1007a51b
mov eax, dword [0x102e2c60]
add eax, 0x116c
mov ecx, dword [ebp - 0xc]
add ecx, 0x58
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x117c]
mov dword [ecx + 0x68], eax
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x1322]
cmp edx, 1
jne 0x1007a550
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x125c]
mov dword [ebp - 4], ecx
jmp 0x1007a560
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x1274]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 4]
mov word [ecx + 0x18], dx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1324]
cmp ecx, 1
jne 0x1007a585
mov dword [ebp - 0x20], 1
jmp 0x1007a595
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x1276]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x1326]
cmp edx, 1
jne 0x1007a5b8
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x127e]
mov dword [ebp - 0x10], ecx
jmp 0x1007a5c8
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x1280]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 0x10]
mov word [ecx + 0x34], dx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x90]
cmp ecx, 1
jle 0x1007a708
cmp dword [ebp - 0x10], 0
jge 0x1007a708
mov dword [ebp - 0x18], 0
jmp 0x1007a604
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [0x102e2c60]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x15c]
jge 0x1007a708
mov edx, dword [ebp - 0x18]
mov eax, dword [0x102e2c60]
cmp dword [eax + edx*4 + 0x160], 0
je 0x1007a703
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + ecx*4 + 0x160]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x10]
jne 0x1007a703
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xbc], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + ecx*4 + 0x160]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov dword [ecx + 0xc0], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x160]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
mov dword [eax + 0xc4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc4]
shl eax, 2
push eax
call fcn.10004d70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xc8], 0
je 0x1007a701
mov dword [ebp - 0x1c], 0
jmp 0x1007a6c9
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0xc4]
jge 0x1007a701
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x160]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc8]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov eax, dword [eax + esi*4]
mov dword [edx + ecx*4], eax
jmp 0x1007a6c0
jmp 0x1007a708
jmp 0x1007a5fb
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x104]
cmp edx, 1
jne 0x1007a73f
mov eax, dword [0x102e2c60]
fld dword [0x101078f0]
fdiv dword [eax + 0x108]
fmul dword [0x10116084]
mov ecx, dword [ebp - 0xc]
fstp dword [ecx + 0x88]
jmp 0x1007a80d
mov edx, dword [0x102e2c60]
mov eax, dword [0x102e2c60]
fld dword [edx + 0x120]
fsub dword [eax + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
fstp qword [ebp - 0x38]
add esp, 8
mov ecx, dword [0x102e2c60]
mov edx, dword [0x102e2c60]
fld dword [ecx + 0x124]
fsub dword [edx + 0x11c]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fcomp qword [ebp - 0x38]
fnstsw ax
test ah, 1
je 0x1007a7d3
mov eax, dword [0x102e2c60]
mov ecx, dword [0x102e2c60]
fld dword [eax + 0x120]
fsub dword [ecx + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul dword [0x10116084]
fdiv qword [0x10100350]
mov edx, dword [ebp - 0xc]
fstp dword [edx + 0x88]
jmp 0x1007a80d
mov eax, dword [0x102e2c60]
mov ecx, dword [0x102e2c60]
fld dword [eax + 0x124]
fsub dword [ecx + 0x11c]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul dword [0x10116084]
fdiv qword [0x10100350]
mov edx, dword [ebp - 0xc]
fstp dword [edx + 0x88]
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1328]
cmp ecx, 1
jne 0x1007a82d
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], 0x3f800000
jmp case.default.0x1007a849
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x112]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 3
ja case.default.0x1007a849
mov edx, dword [ebp - 0x3c]
jmp dword [edx*4 + 0x1007b4c5]
mov eax, dword [0x102e2c60]
fld dword [0x1011608c]
fmul dword [eax + 0x1284]
mov ecx, dword [ebp - 0xc]
fstp dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
fld dword [edx + 0x38]
fld dword [0x102e2c7c]
mov eax, dword [0x102e2c60]
fld dword [eax + 0x108]
fdivr qword [0x10100320]
fmulp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x1007a8af
fld dword [0x102e2c7c]
mov ecx, dword [0x102e2c60]
fld dword [ecx + 0x108]
fdivr qword [0x10100320]
fmulp st(1)
mov edx, dword [ebp - 0xc]
fstp dword [edx + 0x38]
jmp case.default.0x1007a849
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x104]
cmp ecx, 1
jne 0x1007a8f5
mov edx, dword [0x102e2c60]
fld dword [edx + 0x1288]
mov eax, dword [0x102e2c60]
fld dword [eax + 0x108]
fdivr qword [0x10100320]
fmulp st(1)
fmul dword [0x10116088]
mov ecx, dword [ebp - 0xc]
fstp dword [ecx + 0x38]
jmp 0x1007a9e1
mov edx, dword [0x102e2c60]
mov eax, dword [0x102e2c60]
fld dword [edx + 0x120]
fsub dword [eax + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
fstp qword [ebp - 0x44]
add esp, 8
mov ecx, dword [0x102e2c60]
mov edx, dword [0x102e2c60]
fld dword [ecx + 0x124]
fsub dword [edx + 0x11c]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fcomp qword [ebp - 0x44]
fnstsw ax
test ah, 1
je 0x1007a998
mov eax, dword [0x102e2c60]
fld dword [eax + 0x1288]
fstp qword [ebp - 0x4c]
mov ecx, dword [0x102e2c60]
mov edx, dword [0x102e2c60]
fld dword [ecx + 0x120]
fsub dword [edx + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul qword [ebp - 0x4c]
fmul dword [0x10116088]
fdiv qword [0x10100350]
mov eax, dword [ebp - 0xc]
fstp dword [eax + 0x38]
jmp 0x1007a9e1
mov ecx, dword [0x102e2c60]
fld dword [ecx + 0x1288]
fstp qword [ebp - 0x54]
mov edx, dword [0x102e2c60]
mov eax, dword [0x102e2c60]
fld dword [edx + 0x124]
fsub dword [eax + 0x11c]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul qword [ebp - 0x54]
fmul dword [0x10116088]
fdiv qword [0x10100350]
mov ecx, dword [ebp - 0xc]
fstp dword [ecx + 0x38]
jmp case.default.0x1007a849
mov edx, dword [0x102e2c60]
fld dword [edx + 0x128c]
fstp qword [ebp - 0x5c]
mov eax, dword [0x102e2c60]
mov ecx, dword [0x102e2c60]
fld dword [eax + 0x120]
fsub dword [ecx + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul qword [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
fstp dword [edx + 0x38]
jmp case.default.0x1007a849
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x104]
cmp ecx, 1
jne 0x1007aa55
mov edx, dword [0x102e2c60]
mov eax, dword [0x102e2c60]
fld dword [edx + 0x1290]
fdiv dword [eax + 0x108]
mov ecx, dword [ebp - 0xc]
fstp dword [ecx + 0x38]
jmp case.default.0x1007a849
mov edx, dword [0x102e2c60]
fld dword [edx + 0x1290]
fstp qword [ebp - 0x64]
mov eax, dword [0x102e2c60]
mov ecx, dword [0x102e2c60]
fld dword [eax + 0x120]
fsub dword [ecx + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul qword [ebp - 0x64]
fdiv qword [0x101078e8]
mov edx, dword [ebp - 0xc]
fstp dword [edx + 0x38]
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x132a]
cmp ecx, 1
jne 0x1007aab2
mov dword [ebp - 0x24], 1
jmp 0x1007aac1
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12a4]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x10c]
test edx, edx
jne 0x1007ab73
mov eax, dword [0x102e2c60]
cmp dword [eax + 0x12e4], 0
je 0x1007aafb
mov ecx, dword [0x102e2c60]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ecx + 0xac]
jg 0x1007aafb
cmp dword [ebp - 0x24], 0
jge 0x1007ab18
mov eax, dword [ebp - 0xc]
mov word [eax + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x3e], 0
mov edx, dword [ebp - 0xc]
mov word [edx + 0x40], 0
jmp 0x1007ab71
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12e4]
mov ecx, dword [ebp - 0xc]
mov dx, word [edx + eax]
mov word [ecx + 0x3c], dx
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12e4]
mov ecx, dword [ebp - 0xc]
mov dx, word [edx + eax + 2]
mov word [ecx + 0x3e], dx
mov eax, dword [ebp - 0x24]
shl eax, 4
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12e4]
mov ecx, dword [ebp - 0xc]
mov dx, word [edx + eax + 4]
mov word [ecx + 0x40], dx
jmp 0x1007ab99
mov eax, dword [0x102e2c60]
add eax, 0x1294
mov ecx, dword [ebp - 0xc]
add ecx, 0x3c
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x4c], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov dx, word [ecx + 0x12a8]
mov word [eax + 0x50], dx
cmp dword [0x102e2c80], 1
jne 0x1007abda
mov eax, dword [ebp - 0xc]
mov word [eax + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x3e], 0
mov edx, dword [ebp - 0xc]
mov word [edx + 0x40], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov dx, word [ecx + 0x1184]
mov word [eax + 0x6c], dx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1184]
test ecx, ecx
jne 0x1007ac6e
mov edx, dword [ebp - 0xc]
mov word [edx + 0x6c], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x118]
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x11c]
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x120]
mov dword [eax + 0x78], edx
mov eax, dword [0x102e2c60]
cmp dword [eax + 0x10], 1
jne 0x1007ac5a
mov ecx, dword [ebp - 0xc]
fld dword [ecx + 0x78]
fadd dword [0x10100348]
mov edx, dword [ebp - 0xc]
fstp dword [edx + 0x78]
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x124]
mov dword [eax + 0x7c], edx
jmp 0x1007acb6
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1188]
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x118c]
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1190]
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1194]
mov dword [eax + 0x7c], edx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1350]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xd0], ecx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1352]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xd4], ecx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1354]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xd8], ecx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1356]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xdc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1358]
mov dword [eax + 0xe0], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x11a4]
mov dword [eax + 0xcc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x119c]
mov dword [eax + 0x80], edx
cmp dword [ebp - 0x14], 2
jne 0x1007ae7f
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0xc]
mov ax, word [ebp - 0x20]
mov word [edx + 0x1a], ax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12ac]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12b0]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12bc]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12c0]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12c4]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12c8]
mov dword [ecx + 0x30], eax
mov ecx, dword [0x102e2c60]
cmp dword [ecx + 0x12b4], 0
jne 0x1007ade9
mov dword [ebp - 0x28], 0
jmp 0x1007ae62
mov dword [ebp - 0x18], 0
jmp 0x1007adfb
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x400
jge 0x1007ae62
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12b4]
mov edx, dword [ebp - 0x18]
cmp dword [ecx + edx*4], 0
jne 0x1007ae1a
jmp 0x1007adf2
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12b4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0xc]
movsx edx, word [ecx + 0x1a]
cmp dword [eax], edx
jne 0x1007ae60
mov eax, dword [ebp - 0x18]
push eax
call fcn.100797e1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x8c], 0
je 0x1007ae5e
mov dword [ebp - 0x28], 1
jmp 0x1007ae62
jmp 0x1007adf2
cmp dword [ebp - 0x28], 0
jne 0x1007ae7d
mov eax, dword [ebp - 0xc]
mov word [eax], 1
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x8c], 0
jmp 0x1007ae8c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x8c], 0
cmp dword [ebp - 0x14], 6
jne 0x1007b1d0
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12ac]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12b0]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x133c]
mov dword [eax + 0xa8], edx
mov eax, dword [0x102e2c60]
cmp dword [eax + 0x133c], 1
jne 0x1007af26
push 8
call fcn.10004d70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xac], eax
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1340]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xac]
mov eax, dword [eax]
mov dword [edx], eax
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1340]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xac]
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
jmp 0x1007afa2
push 0x10
call fcn.10004d70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xac], eax
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1340]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xac]
mov eax, dword [eax]
mov dword [edx], eax
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1340]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xac]
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x1340]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xac]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1340]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xac]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1344]
mov dword [ecx + 0xb0], eax
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1344]
shl edx, 2
push edx
call fcn.10004d70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xb4], eax
mov dword [ebp - 0x18], 0
jmp 0x1007afea
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [0x102e2c60]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x1344]
jge 0x1007b01d
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1348]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + esi*4]
mov dword [edx + ecx*4], eax
jmp 0x1007afe1
mov ecx, dword [0x102e2c60]
cmp dword [ecx + 0x133c], 3
jne 0x1007b035
mov dword [ebp - 0x2c], 3
jmp 0x1007b047
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1344]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
shl ecx, 4
push ecx
call fcn.10004d70
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xb8], eax
mov dword [ebp - 0x18], 0
jmp 0x1007b071
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x2c]
jge 0x1007b1d0
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x10c]
test eax, eax
jne 0x1007b191
mov ecx, dword [ebp - 0x18]
shl ecx, 4
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x134c]
mov ecx, dword [eax + ecx + 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x102e2c60]
cmp dword [edx + 0x12e4], 0
je 0x1007b0d0
mov eax, dword [0x102e2c60]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0xac]
jg 0x1007b0d0
cmp dword [ebp - 0x30], 0
jge 0x1007b113
mov edx, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xb8]
mov word [ecx + edx], 0
mov edx, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xb8]
mov word [ecx + edx + 2], 0
mov edx, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xb8]
mov word [ecx + edx + 4], 0
jmp 0x1007b18f
mov edx, dword [ebp - 0x30]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 0x18]
shl eax, 4
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0xb8]
mov cx, word [ecx + edx]
mov word [esi + eax], cx
mov edx, dword [ebp - 0x30]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 0x18]
shl eax, 4
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0xb8]
mov cx, word [ecx + edx + 2]
mov word [esi + eax + 2], cx
mov edx, dword [ebp - 0x30]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 0x18]
shl eax, 4
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0xb8]
mov cx, word [ecx + edx + 4]
mov word [esi + eax + 4], cx
jmp 0x1007b1cb
mov edx, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x134c]
add ecx, edx
mov edx, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb8]
add eax, edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x1007b068
cmp dword [ebp - 0x14], 3
jne 0x1007b4a7
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x90]
cmp eax, 3
jl 0x1007b4a7
cmp dword [ebp - 4], 0
jl 0x1007b200
cmp dword [ebp - 4], 6
jle 0x1007b4a7
mov dword [ebp - 0x18], 0
jmp 0x1007b212
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [0x102e2c60]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x960]
jge 0x1007b4a7
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x102e2c60]
cmp dword [edx + ecx*4 + 0x964], 0
je 0x1007b4a2
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x964]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x1007b4a2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xe8], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x964]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx]
mov dword [eax + 0xe8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + edx*4 + 0x964]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
mov dword [edx + 0xec], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + ecx*4 + 0x964]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov dword [ecx + 0xf0], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x964]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xf4], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + edx*4 + 0x964]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x10]
mov dword [edx + 0xf8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + ecx*4 + 0x964]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0xfc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x964]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x100], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + edx*4 + 0x964]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x104], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + ecx*4 + 0x964]
mov ecx, dword [eax + 0x1c]
shl ecx, 2
push ecx
call fcn.10004d70
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x108], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x108], 0
jne 0x1007b3a0
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + ecx*4 + 0x964]
mov ecx, dword [eax + 0x1c]
shl ecx, 2
push ecx
push 0x1011642c
call fcn.10004d30
add esp, 8
xor eax, eax
jmp 0x1007b4c0
mov dword [ebp - 0x1c], 0
jmp 0x1007b3b2
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x964]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x1c]
jge 0x1007b3f4
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + ecx*4 + 0x964]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x108]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ecx + esi*4]
mov dword [eax + edx*4], ecx
jmp 0x1007b3a9
mov edx, dword [ebp - 0x18]
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + edx*4 + 0x964]
mov edx, dword [ecx + 0x1c]
shl edx, 2
push edx
call fcn.10004d70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10c], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x10c], 0
jne 0x1007b44f
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x964]
mov eax, dword [edx + 0x1c]
shl eax, 2
push eax
push 0x10116460
call fcn.10004d30
add esp, 8
xor eax, eax
jmp 0x1007b4c0
mov dword [ebp - 0x1c], 0
jmp 0x1007b461
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + edx*4 + 0x964]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x1c]
jge 0x1007b4a2
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x964]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10c]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov eax, dword [eax + esi*4]
mov dword [edx + ecx*4], eax
jmp 0x1007b458
jmp 0x1007b209
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x12e8]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xe4], edx
mov eax, dword [ebp - 0xc]
pop esi
mov esp, ebp
pop ebp
ret