Function at 0x10057b70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x100a9c6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov dword [ebp + 0x70], ecx
mov eax, dword [ebp + 0x70]
mov dword [eax], 0
mov ecx, dword [ebp + 0x70]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 0x70]
mov dword [edx + 0xc], 0
xorps xmm0, xmm0
movss dword [ebp - 0xb8], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0xb4], xmm0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp + 0x70]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp + 0x70]
call fcn.100571d0
mov eax, dword [ebp + 0x70]
imul ecx, dword [eax + 0x2c], 0x84
push ecx
call fcn.1002ef00
add esp, 4
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x3c], 0
jmp 0x10057c1c
mov edx, dword [ebp + 0x3c]
add edx, 1
mov dword [ebp + 0x3c], edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x3c]
cmp ecx, dword [eax + 0x2c]
jge 0x10057d1e
mov edx, dword [ebp + 0x70]
add edx, 0x2c
mov dword [ebp - 0xbc], edx
imul eax, dword [ebp + 0x3c], 0x54
mov ecx, dword [ebp - 0xbc]
add eax, dword [ecx + 8]
mov dword [ebp + 0x54], eax
imul edx, dword [ebp + 0x3c], 0x84
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0x54]
mov eax, dword [edx]
push eax
call fcn.10052470
add esp, 8
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp + 0x54]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.10052490
add esp, 0xc
test eax, eax
jne 0x10057c93
xor al, al
jmp 0x1005872e
mov edx, dword [ebp + 0x54]
cmp dword [edx + 0x28], 0
jne 0x10057caa
mov ecx, dword [ebp + 0x70]
call fcn.10058e80
mov ecx, dword [ebp + 0x54]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 0x54]
mov eax, dword [edx + 0x28]
mov dword [ebp + 0x50], eax
jmp 0x10057cbe
mov ecx, dword [ebp + 0x50]
add ecx, 4
mov dword [ebp + 0x50], ecx
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp + 0x50]
movzx edx, word [ecx + eax]
test edx, edx
je 0x10057d19
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 0x50]
movzx edx, word [ecx + eax]
test edx, edx
je 0x10057d19
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 0x50]
movzx edx, word [ecx + eax]
mov eax, 2
imul ecx, eax, 0
mov eax, dword [ebp + 0x50]
movzx ecx, word [eax + ecx]
sub edx, ecx
mov eax, dword [ebp + 0x5c]
lea ecx, [eax + edx + 1]
mov dword [ebp + 0x5c], ecx
mov edx, dword [ebp + 0x10]
add edx, 1
mov dword [ebp + 0x10], edx
jmp 0x10057cb5
jmp 0x10057c13
mov eax, dword [ebp + 0x70]
cmp dword [eax + 0x14], 0
jle 0x10057d32
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x40], edx
jmp 0x10057d81
cmp dword [ebp + 0x5c], 0xfa0
jle 0x10057d44
mov dword [ebp - 0x3c], 0x1000
jmp 0x10057d7b
cmp dword [ebp + 0x5c], 0x7d0
jle 0x10057d56
mov dword [ebp - 0x38], 0x800
jmp 0x10057d75
cmp dword [ebp + 0x5c], 0x3e8
jle 0x10057d68
mov dword [ebp - 0x7c], 0x400
jmp 0x10057d6f
mov dword [ebp - 0x7c], 0x200
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 0x70]
mov dword [edx + 0x10], 0
mov dword [ebp - 0x108], 0x8000
push 0
push 1
push 0
push 0x8000
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0xc]
push ecx
push 0
lea edx, [ebp - 0x104]
push edx
call fcn.10051350
add esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 0x70]
call fcn.10058740
push 1
push 1
lea ecx, [ebp - 0x104]
push ecx
call fcn.100514a0
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
xor eax, eax
shl eax, 4
add eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
call fcn.1004a620
add esp, 0xc
mov dword [ebp + 0x4c], 0
jmp 0x10057e2c
mov edx, dword [ebp + 0x4c]
add edx, 1
mov dword [ebp + 0x4c], edx
mov eax, dword [ebp + 0x4c]
cmp eax, dword [ebp - 0x18]
jge 0x10057e9a
mov ecx, dword [ebp + 0x4c]
shl ecx, 4
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0xc], 0
je 0x10057e98
mov eax, dword [ebp + 0x4c]
shl eax, 4
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
movzx edx, word [ecx + 0xa]
mov eax, dword [ebp + 0x4c]
shl eax, 4
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + eax + 6]
add edx, eax
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jl 0x10057e89
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], ecx
jmp 0x10057e8f
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x10], ecx
jmp 0x10057e23
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
imul edx, dword [ebp + 0x5c], 0x1c
push edx
call fcn.1002ef00
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x5c]
shl eax, 4
push eax
call fcn.1002ef00
add esp, 4
mov dword [ebp + 0xc], eax
imul ecx, dword [ebp + 0x10], 0x18
push ecx
call fcn.1002ef00
add esp, 4
mov dword [ebp - 0x34], eax
imul edx, dword [ebp + 0x5c], 0x1c
push edx
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.10087140
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
shl ecx, 4
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.10087140
add esp, 0xc
imul eax, dword [ebp + 0x10], 0x18
push eax
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.10087140
add esp, 0xc
mov dword [ebp + 0x38], 0
jmp 0x10057f2e
mov edx, dword [ebp + 0x38]
add edx, 1
mov dword [ebp + 0x38], edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x38]
cmp ecx, dword [eax + 0x2c]
jge 0x100581a8
mov edx, dword [ebp + 0x70]
add edx, 0x2c
mov dword [ebp - 0x8c], edx
imul eax, dword [ebp + 0x38], 0x54
mov ecx, dword [ebp - 0x8c]
add eax, dword [ecx + 8]
mov dword [ebp + 0x28], eax
imul edx, dword [ebp + 0x38], 0x84
add edx, dword [ebp + 0x14]
mov dword [ebp + 0x64], edx
mov dword [ebp - 0x28], 0
mov dword [ebp + 0x34], 0
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x28]
mov dword [ebp + 0x48], ecx
jmp 0x10057f88
mov edx, dword [ebp + 0x48]
add edx, 4
mov dword [ebp + 0x48], edx
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 0x48]
movzx eax, word [edx + ecx]
test eax, eax
je 0x10057fe3
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp + 0x48]
movzx eax, word [edx + ecx]
test eax, eax
je 0x10057fe3
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp + 0x48]
movzx eax, word [edx + ecx]
mov ecx, 2
imul edx, ecx, 0
mov ecx, dword [ebp + 0x48]
movzx edx, word [ecx + edx]
sub eax, edx
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0x34]
add eax, 1
mov dword [ebp + 0x34], eax
jmp 0x10057f7f
imul ecx, dword [ebp - 0x1c], 0x18
add ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 0x64]
mov dword [edx + 0x7c], ecx
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x34]
mov dword [eax + 0x80], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp + 0x34]
mov dword [ebp - 0x1c], edx
mov dword [ebp + 0x30], 0
jmp 0x10058017
mov eax, dword [ebp + 0x30]
add eax, 1
mov dword [ebp + 0x30], eax
mov ecx, dword [ebp + 0x30]
cmp ecx, dword [ebp + 0x34]
jge 0x100580a8
mov edx, dword [ebp + 0x30]
shl edx, 1
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x28]
lea edx, [ecx + edx*2]
mov dword [ebp - 0x20], edx
imul eax, dword [ebp + 0x30], 0x18
mov ecx, dword [ebp + 0x64]
add eax, dword [ecx + 0x7c]
mov dword [ebp + 0x2c], eax
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax]
mov eax, dword [ebp + 0x2c]
mov dword [eax + 4], edx
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + ecx]
mov ecx, 2
imul edx, ecx, 0
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + edx]
sub eax, edx
add eax, 1
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0xc], eax
imul edx, dword [ebp - 0x24], 0x1c
add edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
jmp 0x1005800e
mov eax, dword [ebp - 0x2c]
shl eax, 4
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x64]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.100514a0
add esp, 0xc
mov edx, dword [ebp + 0x64]
mov eax, dword [edx + 0x78]
push eax
mov ecx, dword [ebp + 0x64]
mov edx, dword [ecx + 0x80]
push edx
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [ebp + 0x64]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.10051ac0
add esp, 0x14
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0x64]
mov eax, dword [edx + 0x78]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
call fcn.1004a620
add esp, 0xc
mov dword [ebp + 0x44], 0
jmp 0x10058137
mov edx, dword [ebp + 0x44]
add edx, 1
mov dword [ebp + 0x44], edx
mov eax, dword [ebp + 0x44]
cmp eax, dword [ebp - 0x50]
jge 0x100581a3
mov ecx, dword [ebp + 0x44]
shl ecx, 4
mov edx, dword [ebp + 0x64]
mov eax, dword [edx + 0x78]
cmp dword [eax + ecx + 0xc], 0
je 0x100581a1
mov ecx, dword [ebp + 0x44]
shl ecx, 4
mov edx, dword [ebp + 0x64]
mov eax, dword [edx + 0x78]
movzx ecx, word [eax + ecx + 6]
mov edx, dword [ebp + 0x44]
shl edx, 4
mov eax, dword [ebp + 0x64]
mov eax, dword [eax + 0x78]
movzx edx, word [eax + edx + 0xa]
add edx, ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x58]
jl 0x10058192
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
jmp 0x10058198
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x5c]
mov dword [edx + 0x10], eax
jmp 0x1005812e
jmp 0x10057f25
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x10]
push edx
call fcn.10049e50
add esp, 4
mov ecx, dword [ebp + 0x70]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
mov ecx, dword [edx + 0xc]
imul ecx, dword [eax + 0x10]
push ecx
call fcn.1002ef00
add esp, 4
mov edx, dword [ebp + 0x70]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x70]
mov edx, dword [eax + 0xc]
imul edx, dword [ecx + 0x10]
push edx
push 0
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 4]
push ecx
call fcn.10087140
add esp, 0xc
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 4]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xf8], edx
mov dword [ebp + 0x24], 0
jmp 0x10058222
mov eax, dword [ebp + 0x24]
add eax, 1
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x24]
cmp edx, dword [ecx + 0x2c]
jge 0x100582b1
mov eax, dword [ebp + 0x70]
add eax, 0x2c
mov dword [ebp - 0x90], eax
imul ecx, dword [ebp + 0x24], 0x54
mov edx, dword [ebp - 0x90]
add ecx, dword [edx + 8]
mov dword [ebp - 0x60], ecx
imul eax, dword [ebp + 0x24], 0x84
add eax, dword [ebp + 0x14]
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x14]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.100514a0
add esp, 0xc
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx + 0x7c]
push edx
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.10051ce0
add esp, 0x14
mov edx, dword [ebp + 0x20]
mov dword [edx + 0x78], 0
jmp 0x10058219
lea eax, [ebp - 0x104]
push eax
call fcn.10051470
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1002ef40
add esp, 4
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x1c], 0
jmp 0x100582e5
mov edx, dword [ebp + 0x1c]
add edx, 1
mov dword [ebp + 0x1c], edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x1c]
cmp ecx, dword [eax + 0x2c]
jge 0x100586d5
mov edx, dword [ebp + 0x70]
add edx, 0x2c
mov dword [ebp - 0x94], edx
imul eax, dword [ebp + 0x1c], 0x54
mov ecx, dword [ebp - 0x94]
add eax, dword [ecx + 8]
mov dword [ebp + 0x60], eax
imul edx, dword [ebp + 0x1c], 0x84
add edx, dword [ebp + 0x14]
mov dword [ebp + 4], edx
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax + 0x50]
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x60]
push ecx
movss xmm0, dword [edx + 0x10]
movss dword [esp], xmm0
mov eax, dword [ebp + 4]
push eax
call fcn.1004ec30
add esp, 8
fstp dword [ebp - 0x64]
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 4]
push ecx
call fcn.1004ebb0
add esp, 0x10
cvtsi2ss xmm0, dword [ebp - 0x98]
mulss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0x68], xmm0
cvtsi2ss xmm0, dword [ebp - 0x9c]
mulss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0xa0], xmm0
mov edx, dword [ebp + 0x60]
movzx eax, byte [edx + 0x2c]
test eax, eax
jne 0x100583f2
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x70]
mov dword [ecx + 0x44], edx
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x60]
mov dword [eax + 0x40], ecx
xor edx, edx
mov eax, dword [ebp + 0x6c]
mov word [eax + 0x3e], dx
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x60]
mov eax, dword [edx + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x6c]
movss xmm0, dword [ebp - 0x68]
movss dword [ecx + 0x48], xmm0
mov edx, dword [ebp + 0x6c]
movss xmm0, dword [ebp - 0xa0]
movss dword [edx + 0x4c], xmm0
mov eax, dword [ebp + 0x6c]
add eax, 0x10
mov dword [ebp - 0xa4], eax
push 0
mov ecx, dword [ebp - 0xa4]
call fcn.1005ade0
mov ecx, dword [ebp + 0x6c]
mov dx, word [ecx + 0x3e]
add dx, 1
mov eax, dword [ebp + 0x6c]
mov word [eax + 0x3e], dx
mov ecx, dword [ebp + 0x60]
movzx edx, byte [ecx + 0x2c]
test edx, edx
je 0x10058436
mov eax, dword [ebp + 0x60]
movzx ecx, byte [eax + 0x2d]
test ecx, ecx
je 0x10058436
mov edx, dword [ebp + 0x6c]
movss xmm0, dword [ebp - 0x68]
subss xmm0, dword [edx + 0x48]
mulss xmm0, dword [0x100bcdb4]
movss dword [ebp - 0x6c], xmm0
jmp 0x1005843e
xorps xmm0, xmm0
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x78], xmm0
mov eax, dword [ebp + 0x6c]
mov dword [eax + 0x34], 0
mov dword [ebp + 8], 0
jmp 0x10058464
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x80]
jge 0x100586c5
imul ecx, dword [ebp + 8], 0x18
mov edx, dword [ebp + 4]
add ecx, dword [edx + 0x7c]
mov dword [ebp], ecx
mov dword [ebp + 0x40], 0
jmp 0x10058495
mov eax, dword [ebp + 0x40]
add eax, 1
mov dword [ebp + 0x40], eax
mov ecx, dword [ebp]
mov edx, dword [ebp + 0x40]
cmp edx, dword [ecx + 0xc]
jge 0x100586c0
imul eax, dword [ebp + 0x40], 0x1c
mov ecx, dword [ebp]
add eax, dword [ecx + 0x10]
mov dword [ebp + 0x18], eax
mov edx, dword [ebp + 0x18]
movzx eax, word [edx]
test eax, eax
jne 0x100584de
mov ecx, dword [ebp + 0x18]
movzx edx, word [ecx + 4]
test edx, edx
jne 0x100584de
mov eax, dword [ebp + 0x18]
movzx ecx, word [eax + 2]
test ecx, ecx
jne 0x100584de
mov edx, dword [ebp + 0x18]
movzx eax, word [edx + 6]
test eax, eax
jne 0x100584de
jmp 0x1005848c
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
add edx, dword [ebp + 0x40]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 0x60]
movzx ecx, byte [eax + 0x2c]
test ecx, ecx
je 0x10058508
movzx edx, word [ebp - 0x74]
push edx
mov ecx, dword [ebp + 0x6c]
call fcn.10059590
test eax, eax
je 0x10058508
jmp 0x1005848c
xorps xmm0, xmm0
movss dword [ebp - 0xac], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0xa8], xmm0
push 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp + 0x40]
push eax
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
push eax
call fcn.10052270
add esp, 0x20
mov ecx, dword [ebp + 0x6c]
add ecx, 0x10
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp + 0x6c]
mov eax, dword [edx + 0x10]
add eax, 1
push eax
mov ecx, dword [ebp - 0xb0]
call fcn.1005ade0
mov ecx, dword [ebp + 0x6c]
add ecx, 0x10
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
sub eax, 1
imul ecx, eax, 0x28
mov edx, dword [ebp - 0x70]
add ecx, dword [edx + 8]
mov dword [ebp + 0x68], ecx
mov eax, dword [ebp + 0x68]
mov cx, word [ebp - 0x74]
mov word [eax], cx
mov edx, dword [ebp + 0x68]
movss xmm0, dword [ebp - 0xdc]
movss dword [edx + 8], xmm0
mov eax, dword [ebp + 0x68]
movss xmm0, dword [ebp - 0xd8]
movss dword [eax + 0xc], xmm0
mov ecx, dword [ebp + 0x68]
movss xmm0, dword [ebp - 0xcc]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp + 0x68]
movss xmm0, dword [ebp - 0xc8]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp + 0x68]
movss xmm0, dword [ebp - 0xd4]
movss dword [eax + 0x18], xmm0
mov ecx, dword [ebp + 0x68]
movss xmm0, dword [ebp - 0xd0]
movss dword [ecx + 0x1c], xmm0
mov edx, dword [ebp + 0x68]
movss xmm0, dword [ebp - 0xc4]
movss dword [edx + 0x20], xmm0
mov eax, dword [ebp + 0x68]
movss xmm0, dword [ebp - 0xc0]
movss dword [eax + 0x24], xmm0
mov ecx, dword [ebp + 0x6c]
movss xmm0, dword [ecx + 0x48]
addss xmm0, dword [ebp - 0x78]
addss xmm0, dword [0x100bcdb4]
cvttss2si edx, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [ebp + 0x68]
addss xmm0, dword [eax + 0xc]
mov ecx, dword [ebp + 0x68]
movss dword [ecx + 0xc], xmm0
mov edx, dword [ebp + 0x6c]
movss xmm0, dword [edx + 0x48]
addss xmm0, dword [ebp - 0x78]
addss xmm0, dword [0x100bcdb4]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
mov ecx, dword [ebp + 0x68]
addss xmm0, dword [ecx + 0x14]
mov edx, dword [ebp + 0x68]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x60]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [ecx + 0x20]
mov edx, dword [ebp + 0x68]
movss dword [edx + 4], xmm0
mov eax, dword [ebp + 0x60]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x100586bb
mov edx, dword [ebp + 0x68]
movss xmm0, dword [edx + 4]
addss xmm0, dword [0x100bcdb4]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
mov ecx, dword [ebp + 0x68]
movss dword [ecx + 4], xmm0
jmp 0x1005848c
jmp 0x1005845b
mov edx, dword [ebp + 0x60]
mov ecx, dword [edx + 0x50]
call fcn.100591b0
jmp 0x100582dc
mov eax, dword [ebp - 0x30]
push eax
call fcn.1002ef40
add esp, 4
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1002ef40
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
call fcn.1002ef40
add esp, 4
lea eax, [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp + 0x70]
call fcn.10058740
mov byte [ebp + 0x5b], 1
mov dword [ebp - 4], 1
cmp dword [ebp - 0x10], 0
je 0x10058724
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1002ef40
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp + 0x5b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x74
mov esp, ebp
pop ebp
ret