Function at 0x100055b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001dc4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x10028bb4]
push ebx
push esi
push edi
test eax, eax
jne 0x100055f7
mov eax, 0xa
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10028bb8]
test eax, eax
jne 0x1000561a
mov eax, 0xa
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10028bbc]
test eax, eax
jne 0x1000563d
mov eax, 0xa
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10028bc0]
test eax, eax
jne 0x10005660
mov eax, 0xa
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [eax + 0xc]
mov esi, eax
lea ecx, [esp + 0x10]
neg esi
sbb esi, esi
inc esi
call fcn.10016069
test esi, esi
mov dword [esp + 0x230], 0
je 0x10005b3b
mov edx, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
lea ecx, [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push ebx
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
cmp edi, 2
push edx
push eax
push ecx
sete dl
push edx
call fcn.10005020
add esp, 0x28
test eax, eax
jne 0x10005b0d
mov eax, dword [0x10028bc0]
call dword [eax + 0x10]
test eax, eax
je 0x1000570c
mov eax, dword [0x10028bc0]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x2c], 0x200
call dword [eax + 0x1b0]
add esp, 8
test eax, eax
jne 0x10005b0d
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x1000570c
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
cmp edi, eax
jne 0x1000577c
mov ecx, dword [esp + 0x18]
xor esi, esi
xor edi, edi
test ecx, ecx
jle 0x1000581f
test eax, eax
je 0x1000576e
mov edx, dword [esp + 0x14]
cmp esi, dword [edx + edi*4]
jae 0x1000576e
test eax, eax
je 0x10005767
mov eax, dword [0x10028bc0]
push 0xffffffffffffffff
push esi
call dword [eax + 0xe8]
add esp, 8
test eax, eax
jne 0x10005767
mov ecx, dword [0x10028bc0]
push edi
push esi
call dword [ecx + 0xec]
add esp, 8
test eax, eax
jne 0x10005767
mov eax, 1
jmp 0x10005769
xor eax, eax
inc esi
test eax, eax
jne 0x10005729
mov ecx, dword [esp + 0x18]
inc edi
cmp edi, ecx
jl 0x10005725
jmp 0x10005817
mov edx, dword [esp + 0x14]
xor esi, esi
cmp dword [edx], 0
jbe 0x10005822
mov ecx, dword [ebp + 0xc]
lea edi, [ecx + 0x28]
test eax, eax
je 0x10005802
mov edx, dword [0x10028bc0]
push 0
push esi
call dword [edx + 0xec]
add esp, 8
test eax, eax
jne 0x10005802
push eax
mov eax, dword [0x10028bc0]
push esi
call dword [eax + 0xe8]
add esp, 8
test eax, eax
jne 0x10005802
mov eax, dword [edi]
fld qword [edi - 0x1c]
push eax
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.100098e0
fld qword [edi - 0x24]
push eax
call fcn.100098e0
mov ecx, dword [0x10028bc0]
push eax
push 1
push 1
push 0
push esi
call dword [ecx + 0xf0]
add esp, 0x38
test eax, eax
jne 0x10005802
mov eax, 1
jmp 0x10005804
xor eax, eax
mov edx, dword [esp + 0x14]
inc esi
add edi, 0x80
cmp esi, dword [edx]
jb 0x10005791
test eax, eax
je 0x10005adf
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x98]
mov ecx, dword [ebp + 0x94]
mov edx, dword [0x10028bc0]
push eax
push 0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [edx + 0x17c]
mov eax, dword [ebx + 8]
add esp, 0x24
cmp eax, 1
jle 0x10005903
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x1000586b
fld qword [0x1001f508]
jmp 0x10005888
cmp eax, 2
jne 0x10005878
fld qword [0x1001f5a8]
jmp 0x10005888
cmp eax, 1
jne 0x10005885
fld qword [0x1001f4f8]
jmp 0x10005888
fld qword [ecx + 8]
fmul qword [0x1001f5a0]
push 0
call fcn.100098e0
mov ecx, dword [ebp + 0x8c]
mov edx, dword [0x10028bc0]
push eax
mov eax, dword [ebp + 0x90]
push eax
push ecx
push 2
call dword [edx + 0x140]
add esp, 0x14
mov dword [esp + 0x230], 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
jne 0x100058e4
call fcn.1001609c
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1001609c
mov eax, 0xd
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
jne 0x10005975
mov eax, dword [ebp + 0x90]
mov ecx, dword [ebp + 0x8c]
mov edx, dword [0x10028bc0]
push eax
push ecx
push 0
call dword [edx + 0x13c]
add esp, 0xc
mov dword [esp + 0x230], 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
jne 0x10005956
call fcn.1001609c
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1001609c
mov eax, 0xe
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10028bc0]
push 5
push 1
call dword [eax + 0x168]
add esp, 8
test eax, eax
jne 0x10005ab1
mov ecx, dword [esp + 0x14]
xor esi, esi
mov eax, 1
cmp dword [ecx], 0
jbe 0x10005a29
mov edx, dword [ebp + 0xc]
lea edi, [edx + 0xc]
test eax, eax
je 0x10005a14
mov eax, dword [0x10028bc0]
push 0
push esi
call dword [eax + 0xec]
add esp, 8
test eax, eax
jne 0x10005a14
mov ecx, dword [0x10028bc0]
push eax
push esi
call dword [ecx + 0xe8]
add esp, 8
test eax, eax
jne 0x10005a14
mov edx, dword [edi + 0x1c]
push 1
fld qword [edi]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
call fcn.100098e0
fld qword [edi - 8]
push eax
call fcn.100098e0
push eax
mov eax, dword [0x10028bc0]
push 1
push 1
push 0
push esi
call dword [eax + 0xf0]
add esp, 0x38
test eax, eax
jne 0x10005a14
mov eax, 1
jmp 0x10005a16
xor eax, eax
mov ecx, dword [esp + 0x14]
inc esi
add edi, 0x80
cmp esi, dword [ecx]
jb 0x100059a9
test eax, eax
je 0x10005a83
mov edx, dword [0x10028bc0]
call dword [edx + 0x148]
test eax, eax
mov dword [esp + 0x230], 0xffffffff
lea ecx, [esp + 0x10]
jne 0x10005a64
call fcn.1001609c
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1001609c
mov eax, 0xf
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.1001609c
mov eax, 0x10
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.1001609c
mov eax, 0x11
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.1001609c
mov eax, 0x12
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.1001609c
mov eax, 0xb
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.1001609c
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov eax, 0xc
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret