Function at 0x100462d0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x1013b3dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x130], edi
cmp dword [edi + 0x50], 0
jge 0x10046350
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], 0xffffffff
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x1ac], VariantCopy
mov dword [ebp - 0x1a8], 0x1b00b5
call fcn.10048840
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x50], eax
mov ecx, dword [edi + 0xc]
mov dword [edi], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
test ecx, ecx
je 0x1004639e
mov eax, dword [0x1013be60]
push ecx
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
call eax
add esp, 4
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x100463bc
mov eax, dword [0x1013be60]
push ecx
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
call eax
add esp, 4
xor ecx, ecx
mov dword [edi + 0xc], 0
xor esi, esi
mov dword [edi + 0x10], 0
xor ebx, ebx
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x11c], ecx
cmp dword [edi + 0x44], ecx
jle 0x10046454
xor edx, edx
mov dword [ebp - 0x128], edx
nop dword [eax]
mov eax, dword [edi + 0x4c]
add eax, edx
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x10046408
mov dword [eax + 0x30], 0x1010e18c
mov edx, 0x1010e18c
cmp word [edx], 0
je 0x10046439
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x1004642d
mov ecx, eax
inc ebx
movzx eax, word [edx]
inc esi
add edx, 4
sub ecx, eax
add ebx, ecx
cmp word [edx], 0
jne 0x10046410
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x10c], esi
mov edx, dword [ebp - 0x128]
inc ecx
add edx, 0x64
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x128], edx
cmp ecx, dword [edi + 0x44]
jl 0x100463f0
mov eax, dword [edi + 4]
mov dword [ebp - 0x110], eax
test eax, eax
jg 0x10046498
cmp ebx, 0xfa0
jle 0x10046470
mov eax, 0x1000
jmp 0x10046492
cmp ebx, 0x7d0
jle 0x1004647f
mov eax, 0x800
jmp 0x10046492
cmp ebx, 0x3e8
mov eax, 0x200
mov ecx, 0x400
cmovg eax, ecx
mov dword [ebp - 0x110], eax
mov dword [edi + 0x14], eax
xorps xmm0, xmm0
mov eax, dword [edi + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [0x1013be60]
mov dword [edi + 0x18], 0
push 0x30
movlpd qword [ebp - 0x170], xmm0
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
movlpd qword [ebp - 0x168], xmm0
movlpd qword [ebp - 0x160], xmm0
movlpd qword [ebp - 0x150], xmm0
call eax
mov ecx, dword [0x1013be60]
add esp, 4
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x114]
inc dword [ecx + 0x318]
mov edx, dword [ecx + 0xc0]
mov dword [ebp - 0x118], eax
lea ecx, [eax*8]
push ecx
call edx
mov edx, dword [ebp - 0x11c]
add esp, 4
mov ecx, eax
test edx, edx
je 0x10046588
test ecx, ecx
je 0x10046585
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x16c], edx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x15c], edx
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x160], eax
mov eax, 0x8000
sub eax, dword [ebp - 0x114]
push edx
push ecx
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x11c]
push eax
mov dword [ebp - 0x164], 0x8000
call fcn.1003b910
add esp, 0xc
jmp 0x100465a3
push edx
jmp 0x1004658d
test ecx, ecx
je 0x100465a3
push ecx
mov eax, dword [0x1013be60]
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
call eax
add esp, 4
mov edx, dword [ebp - 0x16c]
mov eax, 1
mov ecx, edi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
call fcn.10047170
imul ecx, dword [edi + 0x44], 0x88
mov eax, dword [0x1013be60]
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
push ecx
call eax
add esp, 4
mov dword [ebp - 0x140], eax
cmp dword [edi + 0x44], 0
mov dword [ebp - 0x11c], 0
jle 0x10046662
xor ecx, ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x128], ecx
mov edx, dword [edi + 0x4c]
mov esi, dword [edx + ecx]
mov edx, dword [edx + ecx + 0xc]
mov ecx, esi
call fcn.1003c5a0
mov edx, esi
mov esi, dword [ebp - 0x120]
push eax
mov ecx, esi
call fcn.1003c880
add esp, 4
test eax, eax
je 0x10046bb6
mov eax, dword [ebp - 0x11c]
add esi, 0x88
mov ecx, dword [ebp - 0x128]
inc eax
add ecx, 0x64
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x120], esi
cmp eax, dword [edi + 0x44]
jl 0x10046603
mov esi, dword [ebp - 0x10c]
mov eax, dword [0x1013be60]
lea edi, [ebx*8]
sub edi, ebx
mov dword [ebp - 0x144], 0
shl edi, 2
push edi
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x148], 0
call eax
mov ecx, dword [0x1013be60]
add esp, 4
shl ebx, 4
mov dword [ebp - 0x128], eax
inc dword [ecx + 0x318]
mov ecx, dword [ecx + 0xc0]
push ebx
call ecx
mov ecx, dword [0x1013be60]
lea esi, [esi + esi*2]
add esp, 4
shl esi, 3
mov dword [ebp - 0x120], eax
inc dword [ecx + 0x318]
mov ecx, dword [ecx + 0xc0]
push esi
call ecx
add esp, 4
mov dword [ebp - 0x11c], eax
push edi
push 0
push dword [ebp - 0x128]
call fcn.100c8550
add esp, 0xc
push ebx
push 0
push dword [ebp - 0x120]
call fcn.100c8550
add esp, 0xc
push esi
push 0
push dword [ebp - 0x11c]
call fcn.100c8550
mov ebx, dword [ebp - 0x130]
add esp, 0xc
mov dword [ebp - 0x134], 0
cmp dword [ebx + 0x44], 0
jle 0x1004696e
mov esi, dword [ebp - 0x140]
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x13c], esi
nop
mov ecx, dword [ebx + 0x4c]
xor edi, edi
add ecx, edx
mov dword [ebp - 0x138], edi
xor ebx, ebx
mov dword [ebp - 0x10c], ecx
mov edx, dword [ecx + 0x30]
movzx eax, word [edx]
mov esi, eax
mov dword [ebp - 0x124], esi
mov esi, dword [ebp - 0x13c]
test ax, ax
je 0x100467aa
movzx eax, ax
movzx ecx, word [edx + 2]
test cx, cx
je 0x1004679e
add edx, 4
movzx eax, ax
sub ecx, eax
inc edi
add edi, ecx
inc ebx
movzx eax, word [edx]
test ax, ax
jne 0x10046781
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x138], edi
mov edx, dword [ebp - 0x148]
mov edi, dword [ebp - 0x11c]
mov dword [esi + 0x84], ebx
lea eax, [edx + edx*2]
add edx, ebx
lea eax, [edi + eax*8]
mov dword [ebp - 0x148], edx
xor edi, edi
mov dword [ebp - 0x124], eax
mov dword [esi + 0x80], eax
test ebx, ebx
jle 0x10046869
xor eax, eax
mov dword [ebp - 0x124], eax
nop dword [eax + eax]
mov edx, dword [ecx + 0x30]
mov esi, dword [esi + 0x80]
add esi, eax
mov eax, dword [ecx + 0x10]
mov dword [esi], eax
movzx eax, word [edx + edi*4]
mov dword [esi + 4], eax
movzx eax, word [edx + edi*4]
movzx ecx, word [edx + edi*4 + 2]
inc edi
mov edx, dword [ebp - 0x144]
sub ecx, eax
inc ecx
add dword [ebp - 0x144], ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x10c]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [ebp - 0x128]
lea eax, [edx + eax*4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x124]
mov esi, dword [ebp - 0x13c]
add eax, 0x18
mov dword [ebp - 0x124], eax
cmp edi, ebx
jl 0x100467f0
mov eax, dword [esi + 0x80]
mov ebx, dword [esi + 0x84]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x12c]
mov eax, ecx
mov edx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x114]
shl eax, 4
add edx, eax
mov eax, dword [ebp - 0x138]
add ecx, eax
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 0x78], edx
mov dword [ebp - 0x12c], ecx
push edx
cmp dword [eax + 0x14], 8
mov edx, esi
mov ecx, dword [eax + 0x18]
cmovbe edi, dword [eax + 0x14]
cmp ecx, 8
mov eax, dword [ebp - 0x110]
cmovbe eax, ecx
mov dword [ebp - 0x158], edi
push ebx
push dword [ebp - 0x124]
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x154], eax
call fcn.10041be0
mov edx, dword [esi + 0x78]
add esp, 0xc
mov ecx, dword [ebp - 0x16c]
mov edi, eax
push edi
call fcn.1003bdc0
add esp, 4
test edi, edi
jle 0x1004691f
xor edx, edx
mov eax, dword [esi + 0x78]
cmp dword [edx + eax + 0xc], 0
je 0x10046917
movzx ecx, word [edx + eax + 0xa]
mov ebx, dword [ebp - 0x130]
movzx eax, word [edx + eax + 6]
add ecx, eax
cmp dword [ebx + 0x18], ecx
cmovge ecx, dword [ebx + 0x18]
mov dword [ebx + 0x18], ecx
add edx, 0x10
sub edi, 1
jne 0x100468f1
mov eax, dword [ebp - 0x134]
add esi, 0x88
mov ebx, dword [ebp - 0x130]
inc eax
mov edx, dword [ebp - 0x118]
add edx, 0x64
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x118], edx
cmp eax, dword [ebx + 0x44]
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x114], eax
jl 0x10046750
mov ecx, dword [ebx + 0x18]
dec ecx
movss xmm1, dword [0x1012cd64]
mov eax, ecx
movaps xmm2, xmm1
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, dword [0x1013be60]
mov edx, ecx
sar edx, 0x10
or edx, ecx
mov ecx, dword [ebx + 0x14]
inc edx
mov dword [ebx + 0x18], edx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, edx
divss xmm2, xmm0
push ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x1c], xmm2
divss xmm1, xmm0
movss dword [ebx + 0x20], xmm1
inc dword [eax + 0x318]
mov eax, dword [eax + 0xc0]
call eax
mov ecx, dword [ebx + 0x14]
add esp, 4
imul ecx, dword [ebx + 0x18]
mov dword [ebx + 0xc], eax
push ecx
push 0
push eax
call fcn.100c8550
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x150], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x118], 0
jle 0x10046bf8
mov edi, dword [ebp - 0x140]
xor ecx, ecx
mov edx, dword [ebp - 0x114]
add edi, 0x7c
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x10c], edi
nop dword [eax]
mov esi, dword [ebx + 0x4c]
push dword [edi - 4]
mov eax, dword [ebp - 0x110]
add esi, ecx
push dword [edi + 8]
lea ecx, [ebp - 0x170]
push dword [edi + 4]
cmp dword [esi + 0x14], 8
cmovbe edx, dword [esi + 0x14]
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x158], edx
lea edx, [edi - 0x7c]
cmovbe eax, dword [esi + 0x18]
mov dword [ebp - 0x154], eax
call fcn.10041ed0
movss xmm1, dword [esi + 0x3c]
add esp, 0xc
ucomiss xmm1, dword [0x1012cd64]
movss dword [ebp - 0x12c], xmm1
lahf
test ah, 0x44
jnp 0x10046b6b
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1012eb10]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.100edcf0
movss xmm1, dword [ebp - 0x12c]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x108], dl
inc esi
cmp esi, 0x100
jb 0x10046aa1
mov eax, dword [edi]
mov ebx, dword [edi - 4]
shl eax, 4
add eax, ebx
cmp ebx, eax
je 0x10046b65
mov ecx, dword [ebp - 0x160]
nop dword [eax]
cmp dword [ebx + 0xc], 0
je 0x10046b56
movzx eax, word [ebx + 0xa]
movzx edx, word [ebx + 8]
movzx edi, word [ebx + 6]
movzx esi, word [ebx + 4]
imul eax, ecx
add eax, dword [ebp - 0x150]
add edx, eax
test edi, edi
je 0x10046b50
xor ecx, ecx
test esi, esi
je 0x10046b43
nop dword [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x108]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x10046b30
mov ecx, dword [ebp - 0x160]
dec edi
add edx, ecx
test edi, edi
jg 0x10046b25
mov edi, dword [ebp - 0x10c]
mov eax, dword [edi]
add ebx, 0x10
shl eax, 4
add eax, dword [edi - 4]
cmp ebx, eax
jne 0x10046b00
mov ebx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x134]
inc eax
mov dword [edi - 4], 0
add ecx, 0x64
add edi, 0x88
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x10c], edi
cmp eax, dword [ebx + 0x44]
jge 0x10046bf8
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x110], eax
jmp 0x10046a40
mov ecx, dword [ebp - 0x140]
mov eax, dword [0x1013be60]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
test ecx, ecx
je 0x10046bd9
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c55b5
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14c], 0
mov eax, dword [0x1013be60]
je 0x10046c0c
dec dword [eax + 0x318]
push dword [ebp - 0x14c]
mov eax, dword [eax + 0xc4]
call eax
mov eax, dword [0x1013be60]
add esp, 4
cmp dword [ebp - 0x16c], 0
je 0x10046c31
dec dword [eax + 0x318]
push dword [ebp - 0x16c]
mov eax, dword [eax + 0xc4]
call eax
mov ecx, dword [ebp - 0x120]
add esp, 4
mov eax, dword [0x1013be60]
test ecx, ecx
je 0x10046c57
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
add esp, 4
mov dword [ebp - 0x124], 0
cmp dword [ebx + 0x44], 0
jle 0x100470ee
mov ecx, dword [ebp - 0x140]
xor edx, edx
add ecx, 4
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x10c], ecx
nop
mov esi, dword [ecx]
mov edi, dword [ecx + 0x18]
mov eax, dword [ebx + 0x4c]
mov ebx, dword [eax + edx + 0x60]
add eax, edx
mov dword [ebp - 0x134], eax
mov eax, pe_nt_image_headers32
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx eax, dx
movzx edx, byte [edi + esi + 5]
mov esi, dword [ebp - 0x134]
mov dword [ebp - 0x118], eax
mov eax, pe_nt_image_headers32
cwde
movsx ecx, cx
movss xmm1, dword [esi + 0x10]
imul ecx, eax
add dx, cx
movsx eax, dx
mov dword [ebp - 0x12c], eax
sub eax, dword [ebp - 0x118]
cmp byte [esi + 0x34], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x138], xmm1
jne 0x10046d5a
mov ecx, ebx
call fcn.10047710
movd xmm0, dword [ebp - 0x12c]
mov eax, dword [esi + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [ebx], eax
mov eax, dword [ebp - 0x130]
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], eax
mulss xmm0, dword [ebp - 0x138]
movss dword [ebx + 0x48], xmm0
movd xmm0, dword [ebp - 0x118]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x138]
movss dword [ebx + 0x4c], xmm0
inc word [ebx + 0x3e]
xor edx, edx
movss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebx + 0x48]
addss xmm0, dword [0x1012cd00]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x12c], edx
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [ebp - 0x174], xmm0
cmp dword [ecx + 0x80], edx
jle 0x100470b7
xor eax, eax
mov dword [ebp - 0x138], eax
mov esi, dword [ecx + 0x7c]
xor ecx, ecx
add esi, eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x120], esi
cmp dword [esi + 0xc], ecx
jle 0x10047095
xor edi, edi
mov edx, dword [esi + 0x10]
movzx eax, word [edi + edx]
test ax, ax
jne 0x10046df5
cmp word [edi + edx + 4], ax
jne 0x10046df5
cmp word [edi + edx + 2], ax
jne 0x10046df5
cmp word [edi + edx + 6], ax
je 0x10047076
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x134]
add eax, ecx
movzx eax, ax
mov dword [ebp - 0x118], eax
cmp byte [esi + 0x34], 0
mov esi, dword [ebp - 0x120]
je 0x10046e5f
movzx eax, ax
cmp eax, dword [ebx + 0x28]
jge 0x10046e54
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebx + 0x30]
movzx esi, cx
mov ecx, 0xffff
movzx eax, word [eax + esi*2]
mov esi, dword [ebp - 0x120]
cmp ax, cx
mov ecx, dword [ebp - 0x114]
je 0x10046e54
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x114]
jmp 0x10046e57
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x10047076
mov eax, dword [ebp - 0x130]
lea ecx, [ebx + 0x10]
movss xmm2, dword [0x1012cd64]
movaps xmm1, xmm2
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, dword [eax + 0x18]
movzx eax, word [edi + edx]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss xmm0, dword [edi + edx + 8]
movss dword [ebp - 0x144], xmm0
movss xmm0, dword [edi + edx + 0xc]
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [edi + edx + 0x14]
movss dword [ebp - 0x178], xmm0
movss xmm0, dword [edi + edx + 0x18]
movss dword [ebp - 0x17c], xmm0
movd xmm0, eax
movzx eax, word [edi + edx + 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x180], xmm0
movd xmm0, eax
movzx eax, word [edi + edx + 4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x184], xmm0
movd xmm0, eax
movzx eax, word [edi + edx + 6]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x188], xmm0
movd xmm0, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm2
movss dword [ebp - 0x18c], xmm0
movss xmm0, dword [edi + edx + 0x10]
movss dword [ebp - 0x190], xmm0
call fcn.1003aec0
mov eax, dword [ebx + 0x10]
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x144]
mov edx, dword [ebx + 0x18]
addss xmm0, xmm1
movss xmm3, dword [ebp - 0x180]
lea ecx, [eax + eax*4]
movss xmm4, dword [ebp - 0x184]
mov eax, dword [ebp - 0x118]
movss xmm2, dword [ebp - 0x188]
addss xmm0, dword [ebp - 0x13c]
mov word [edx + ecx*8 - 0x28], ax
movss dword [edx + ecx*8 - 0x10], xmm3
movss dword [edx + ecx*8 - 0xc], xmm4
movss dword [edx + ecx*8 - 8], xmm2
movss dword [edx + ecx*8 - 0x20], xmm0
movss xmm0, dword [ebp - 0x110]
addss xmm0, xmm1
addss xmm0, dword [ebp - 0x174]
movss dword [edx + ecx*8 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x178]
addss xmm0, xmm1
addss xmm0, dword [ebp - 0x13c]
movss dword [edx + ecx*8 - 0x18], xmm0
movss xmm0, dword [ebp - 0x17c]
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x18c]
movss dword [edx + ecx*8 - 4], xmm1
addss xmm0, dword [ebp - 0x174]
movss dword [edx + ecx*8 - 0x14], xmm0
mov eax, dword [ebx + 0x40]
movss xmm0, dword [ebp - 0x190]
addss xmm0, dword [eax + 0x20]
movss dword [edx + ecx*8 - 0x24], xmm0
mov eax, dword [ebx + 0x40]
cmp byte [eax + 0x1c], 0
je 0x10047029
addss xmm0, dword [0x1012cd00]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + ecx*8 - 0x24], xmm0
mov eax, dword [ebx + 0x44]
subss xmm2, xmm3
subss xmm1, xmm4
mov esi, dword [ebp - 0x120]
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm0, dword [0x1012cee8]
cvttss2si ecx, xmm0
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
addss xmm1, dword [0x1012cee8]
cvttss2si eax, xmm1
imul ecx, eax
add dword [ebx + 0x50], ecx
mov ecx, dword [ebp - 0x114]
inc ecx
add edi, 0x1c
mov dword [ebp - 0x114], ecx
cmp ecx, dword [esi + 0xc]
jl 0x10046dd0
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x10c]
inc edx
add eax, 0x18
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x138], eax
cmp edx, dword [ecx + 0x80]
jl 0x10046db2
mov eax, dword [ebp - 0x124]
add ecx, 0x88
mov ebx, dword [ebp - 0x130]
inc eax
mov edx, dword [ebp - 0x148]
add edx, 0x64
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x10c], ecx
cmp eax, dword [ebx + 0x44]
jl 0x10046c90
mov ecx, dword [ebp - 0x128]
mov eax, dword [0x1013be60]
test ecx, ecx
je 0x10047103
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
mov ecx, dword [ebp - 0x11c]
add esp, 4
mov eax, dword [0x1013be60]
test ecx, ecx
je 0x10047124
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
mov ecx, dword [ebp - 0x140]
add esp, 4
mov eax, dword [0x1013be60]
test ecx, ecx
je 0x10047145
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
push ecx
call eax
add esp, 4
mov ecx, ebx
call fcn.100472f0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c55b5
mov esp, ebp
pop ebp
ret