Function at 0x100468c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd981
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x10108c80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x188], edi
mov dword [edi], vtable.MD2Rep.0
mov dword [edi + 4], 0x4b189680
mov dword [edi + 8], 0x4b189680
mov dword [edi + 0xc], 0x4b189680
mov dword [edi + 0x10], 0xcb189680
mov dword [edi + 0x14], 0xcb189680
mov dword [edi + 0x18], 0xcb189680
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 8
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
movups xmmword [ebp - 0x120], xmm0
movups xmmword [ebp - 0x110], xmm0
movups xmmword [ebp - 0x100], xmm0
call fcn.100acdf8
add esp, 4
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x100469d7
push 1
mov byte [ebp - 4], 2
call fcn.100ac4c4
mov ecx, dword [ebp - 0xb8]
add esp, 4
mov dword [ecx + 4], eax
mov dword [ebp - 0xf0], ecx
jmp 0x100469e1
mov dword [ebp - 0xf0], 0
lea ecx, [ebp - 0x124]
call fcn.1000e000
mov ecx, dword [0x1010a3d0]
lea eax, [ebp - 0x120]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xf4], eax
mov eax, dword [0x1010a3cc]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0xdc], 0
mov byte [ebp - 0xe7], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xec], 0
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 3
jbe 0x10046abf
mov esi, dword [esi]
push 0x40
push 0x21
push esi
call fcn.100acb11
add esp, 0xc
test eax, eax
je 0x10047924
push 1
push eax
lea ecx, [ebp - 0x124]
call fcn.1000df10
mov eax, dword [ebp - 0xf0]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x8c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
call fcn.1000d900
add esp, 4
lea ecx, [ebp - 0x124]
push eax
call fcn.1000e060
mov byte [ebp - 4], 3
test esi, esi
je 0x10046b34
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x10046b34
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x124]
push 0
push 0x44
mov eax, dword [eax + 0x20]
cmp eax, fcn.1000f740
jne 0x10046b59
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x124]
call fcn.1000f740
jmp 0x10046b65
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x124]
call eax
cmp eax, 0x44
jne 0x10047924
test edx, edx
jne 0x10047924
cmp dword [ebp - 0x6c], 0x32504449
jne 0x10047924
cmp dword [ebp - 0x68], 8
jne 0x10047924
mov eax, dword [ebp - 0x44]
xor esi, esi
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 5
test eax, eax
je 0x10046bee
lea ecx, [ebp - 0x6d]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.10046570
mov eax, dword [ebp - 0x158]
mov esi, dword [ebp - 0x160]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc8], esi
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x124]
cdq
xorps xmm0, xmm0
push 3
mov dword [ebp - 0x154], eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x150], edx
movlpd qword [ebp - 0x14c], xmm0
xorps xmm1, xmm1
movups xmm0, xmmword [ebp - 0x154]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
lea eax, [ebp - 0x184]
push eax
mov eax, dword [ebp - 0x124]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x50]
push 0
lea ecx, [eax*4]
mov eax, dword [ebp - 0x124]
push ecx
push esi
lea ecx, [ebp - 0x124]
mov eax, dword [eax + 0x20]
cmp eax, fcn.1000f740
jne 0x10046c63
call fcn.1000f740
jmp 0x10046c65
call eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 6
test eax, eax
je 0x10046cba
lea ecx, [ebp - 0x6d]
push ecx
push eax
lea ecx, [ebp - 0x16c]
call fcn.100466a0
mov eax, dword [ebp - 0x164]
mov esi, dword [ebp - 0x16c]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc4], esi
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x124]
cdq
xorps xmm0, xmm0
push 3
mov dword [ebp - 0x154], eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x150], edx
movlpd qword [ebp - 0x14c], xmm0
xorps xmm1, xmm1
movups xmm0, xmmword [ebp - 0x154]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
lea eax, [ebp - 0x184]
push eax
mov eax, dword [ebp - 0x124]
call dword [eax + 0x2c]
mov eax, dword [edi + 0x28]
push 0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x124]
shl ecx, 2
push ecx
push esi
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x124]
cmp eax, fcn.1000f740
jne 0x10046d2e
call fcn.1000f740
jmp 0x10046d30
call eax
xor eax, eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x134], eax
xor esi, esi
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x128], eax
push 0x18
mov byte [ebp - 4], 8
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], esi
call fcn.100acdf8
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 9
mov dword [ebp - 0xa8], esi
cmp dword [edi + 0x28], esi
jle 0x100470f5
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xa0], ecx
movzx eax, word [ecx]
mov word [ebp - 0x84], ax
movzx eax, word [ecx + 6]
lea ecx, [ebp - 0xb0]
mov word [ebp - 0x82], ax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.100462f0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x80], eax
cmp byte [eax + 0xd], 0
jne 0x10046e58
lea esi, [eax + 0x10]
lea edx, [ebp - 0x84]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10046e20
xor ecx, ecx
jmp 0x10046e4c
movzx ecx, byte [edx]
movzx eax, byte [esi]
sub ecx, eax
jne 0x10046e4c
movzx ecx, byte [edx + 1]
movzx eax, byte [esi + 1]
sub ecx, eax
jne 0x10046e4c
movzx ecx, byte [edx + 2]
movzx eax, byte [esi + 2]
sub ecx, eax
jne 0x10046e4c
movzx ecx, byte [edx + 3]
movzx eax, byte [esi + 3]
sub ecx, eax
test ecx, ecx
js 0x10046e58
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x80]
jmp 0x10046e5d
mov esi, dword [ebp - 0x74]
mov eax, esi
cmp eax, esi
jne 0x1004704d
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0xb0]
sub eax, dword [ebp - 0xa4]
sar eax, 2
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.100462f0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x80], eax
cmp byte [eax + 0xd], 0
jne 0x10046eea
lea esi, [eax + 0x10]
lea edx, [ebp - 0x84]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10046eb2
xor ecx, ecx
jmp 0x10046ede
movzx ecx, byte [edx]
movzx eax, byte [esi]
sub ecx, eax
jne 0x10046ede
movzx ecx, byte [edx + 1]
movzx eax, byte [esi + 1]
sub ecx, eax
jne 0x10046ede
movzx ecx, byte [edx + 2]
movzx eax, byte [esi + 2]
sub ecx, eax
jne 0x10046ede
movzx ecx, byte [edx + 3]
movzx eax, byte [esi + 3]
sub ecx, eax
test ecx, ecx
js 0x10046ee7
mov ecx, dword [ebp - 0x80]
jmp 0x10046f5d
mov esi, dword [ebp - 0x74]
cmp dword [ebp - 0xac], 0xaaaaaaa
je 0x1004794e
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x18], eax
push 0x18
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x14], 0
call fcn.100acdf8
mov ecx, eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x84]
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0
push ecx
push dword [ebp - 0x174]
mov dword [ecx], esi
push dword [ebp - 0x178]
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], 0
lea ecx, [ebp - 0xb0]
call fcn.10002fb0
mov ecx, eax
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0x14], eax
mov word [ebp + esi*2 - 0x28], ax
cmp edx, dword [ebp - 0xbc]
je 0x10046f92
mov eax, dword [ebp - 0x84]
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x12c], edx
jmp 0x10046fc6
lea eax, [ebp - 0x84]
push eax
push edx
lea ecx, [ebp - 0x130]
call fcn.1000b4b0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xa4], eax
movzx ecx, word [ebp - 0x82]
mov edx, dword [ebp - 0xc8]
movd xmm0, dword [ebp - 0x64]
cvtdq2ps xmm0, xmm0
movsx eax, word [edx + ecx*4]
movd xmm1, eax
movsx eax, word [edx + ecx*4 + 2]
lea ecx, [edi + 0x38]
cvtdq2ps xmm1, xmm1
movd xmm2, eax
divss xmm1, xmm0
mov eax, dword [ecx + 4]
movd xmm0, dword [ebp - 0x60]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x90], xmm1
divss xmm2, xmm0
movss dword [ebp - 0x8c], xmm2
cmp eax, dword [ecx + 8]
je 0x10047035
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
mov eax, dword [ebp - 0xb0]
add dword [ecx + 4], 8
mov dword [ebp - 0x74], eax
jmp 0x1004705c
lea edx, [ebp - 0x90]
push edx
push eax
call fcn.10024a30
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x74], eax
jmp 0x1004705c
mov esi, dword [ebp - 0x98]
mov ax, word [eax + 0x14]
mov word [ebp + esi*2 - 0x28], ax
mov ecx, dword [ebp - 0xa0]
inc esi
add ecx, 2
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], ecx
cmp esi, 3
jl 0x10046dd0
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [ebp - 0xc0]
je 0x100470a1
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
mov ax, word [ebp - 0x24]
mov word [ecx + 4], ax
add ecx, 6
mov dword [ebp - 0x138], ecx
jmp 0x100470bd
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x13c]
call fcn.10017d30
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x7c]
inc edx
add ecx, 0xc
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x7c], ecx
cmp edx, dword [edi + 0x28]
jge 0x100470e6
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x74], eax
jmp 0x10046dc0
mov eax, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
sub esi, dword [ebp - 0xa4]
mov eax, dword [edi + 0x20]
sar esi, 2
mov dword [edi + 0x24], esi
mov esi, dword [edi + 0x30]
mov ecx, esi
sub ecx, dword [edi + 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [ebp - 0x7c]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x80], ecx
cmp eax, ecx
jae 0x100471c9
mov edx, dword [edi + 0x2c]
lea ecx, [edi + 0x2c]
lea eax, [eax + eax*8]
lea eax, [edx + eax*4]
mov dword [ebp - 0x88], eax
cmp eax, esi
je 0x100471c1
add eax, 0x20
mov dword [ebp - 0x78], eax
nop word [eax + eax]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x100471a8
mov eax, dword [eax]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x10047187
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x80], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x10047953
mov ecx, dword [ebp - 0x80]
push edx
push ecx
call fcn.100ace28
mov eax, dword [ebp - 0x78]
add esp, 8
mov dword [eax - 8], 0
mov dword [eax - 4], 0
mov dword [eax], 0
add eax, 0x24
mov dword [ebp - 0x78], eax
add eax, 0xffffffe0
cmp eax, esi
mov eax, dword [ebp - 0x78]
jne 0x10047150
mov eax, dword [ebp - 0x88]
lea ecx, [edi + 0x2c]
mov dword [ecx + 4], eax
jmp 0x10047298
jbe 0x10047298
mov ecx, dword [edi + 0x34]
mov eax, 0x38e38e39
sub ecx, dword [edi + 0x2c]
imul ecx
mov ecx, dword [ebp - 0x7c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x100471ff
lea eax, [ebp - 0x6d]
push eax
push ecx
lea ecx, [edi + 0x2c]
call fcn.10046380
jmp 0x10047298
sub ecx, dword [ebp - 0x80]
je 0x10047295
lea eax, [esi + 0x14]
nop dword [eax + eax]
mov dword [esi + 4], 0
lea eax, [eax + 0x24]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi], 0
add esi, 0x24
mov dword [eax - 0x34], 0
mov dword [eax - 0x30], 0
mov dword [eax - 0x2c], 0
mov dword [eax - 0x28], 0
mov dword [eax - 0x24], 0
mov dword [eax - 0x20], 0
mov dword [eax - 0x1c], 0
mov dword [eax - 0x18], 0
sub ecx, 1
jne 0x10047210
mov dword [edi + 0x30], esi
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x124]
cdq
xorps xmm0, xmm0
push 3
mov dword [ebp - 0x154], eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x150], edx
movlpd qword [ebp - 0x14c], xmm0
xorps xmm1, xmm1
movups xmm0, xmmword [ebp - 0x154]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
lea eax, [ebp - 0x184]
push eax
mov eax, dword [ebp - 0x124]
call dword [eax + 0x2c]
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10047329
lea ecx, [ebp - 0x6d]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.10046570
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
cmp dword [edi + 0x20], 0
mov dword [ebp - 0xa8], 0
jle 0x10047594
xor ecx, ecx
mov dword [ebp - 0x88], ecx
mov esi, dword [edi + 0x2c]
mov eax, dword [ebp - 0x124]
add esi, ecx
push 0
push 0xc
push esi
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x74], esi
call dword [eax + 0x20]
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
push 0
push 0xc
add esi, 0xc
push esi
call dword [eax + 0x20]
push 0
push 0x10
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x74]
push 0
movss xmm1, dword [ecx + 8]
movss xmm2, dword [ecx + 4]
movss xmm0, dword [ecx]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx + 0x14]
movq qword [ecx], xmm2
movss xmm2, dword [ecx + 0x10]
movss dword [ebp - 0x140], xmm0
movss xmm0, dword [esi]
mov eax, dword [ebp - 0x140]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x124]
unpcklps xmm2, xmm1
movq qword [esi], xmm2
movss dword [ebp - 0x170], xmm0
mov eax, dword [ebp - 0x170]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x54]
shl eax, 2
push eax
mov eax, dword [ebp - 0x124]
push dword [ebp - 0x78]
call dword [eax + 0x20]
mov esi, dword [ebp - 0x74]
mov eax, dword [esi + 0x1c]
lea edx, [esi + 0x18]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0xa0], eax
sub eax, dword [edx]
sar eax, 2
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jae 0x10047421
mov eax, dword [edx]
lea eax, [eax + ecx*4]
jmp 0x10047470
jbe 0x10047473
mov eax, dword [edx + 8]
sub eax, dword [edx]
sar eax, 2
cmp ecx, eax
jbe 0x1004743d
lea eax, [ebp - 0x6d]
push eax
push ecx
mov ecx, edx
call fcn.10046570
jmp 0x10047473
sub ecx, dword [ebp - 0x7c]
je 0x1004746a
lea esi, [ecx*4]
push esi
push 0
push dword [ebp - 0xa0]
call fcn.100aefd0
mov eax, dword [ebp - 0xa0]
add esp, 0xc
mov edx, dword [ebp - 0x28]
add eax, esi
mov esi, dword [ebp - 0x74]
jmp 0x10047470
mov eax, dword [ebp - 0xa0]
mov dword [edx + 4], eax
mov edi, dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0x7c], eax
cmp dword [edi + 0x24], eax
jle 0x1004756f
nop word [eax + eax]
mov edx, dword [esi + 0x18]
mov ecx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x78]
shl eax, 2
add edx, eax
movzx eax, word [ecx + eax]
mov ecx, dword [ebp - 0x78]
mov cl, byte [ecx + eax*4 + 1]
mov byte [edx], cl
mov ch, byte [edi + eax*4 + 2]
mov byte [edx + 1], ch
mov byte [ebp - 0x99], ch
mov ch, byte [edi + eax*4]
mov byte [edx + 2], ch
movzx eax, byte [edi + eax*4 + 3]
mov byte [edx + 3], al
mov edi, dword [ebp - 0xb4]
movzx eax, cl
mov byte [ebp - 0x6d], ch
movss xmm0, dword [edi + 4]
movd xmm3, eax
movzx eax, byte [ebp - 0x99]
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [esi]
movzx eax, ch
cvtdq2ps xmm1, xmm1
addss xmm3, dword [esi + 0xc]
mulss xmm1, dword [esi + 4]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm3
mulss xmm2, dword [esi + 8]
addss xmm1, dword [esi + 0x10]
addss xmm2, dword [esi + 0x14]
jbe 0x10047520
movss dword [edi + 4], xmm3
movss xmm0, dword [edi + 8]
comiss xmm0, xmm1
jbe 0x1004752f
movss dword [edi + 8], xmm1
movss xmm0, dword [edi + 0xc]
comiss xmm0, xmm2
jbe 0x1004753e
movss dword [edi + 0xc], xmm2
comiss xmm3, dword [edi + 0x10]
jbe 0x10047549
movss dword [edi + 0x10], xmm3
comiss xmm1, dword [edi + 0x14]
jbe 0x10047554
movss dword [edi + 0x14], xmm1
comiss xmm2, dword [edi + 0x18]
jbe 0x1004755f
movss dword [edi + 0x18], xmm2
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp eax, dword [edi + 0x24]
jl 0x10047490
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x88]
inc eax
add ecx, 0x24
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x88], ecx
cmp eax, dword [edi + 0x20]
jl 0x10047345
mov ecx, dword [0x1010ac14]
push 0
push dword [edi + 0x28]
push dword [edi + 0x24]
call fcn.10058350
push 1
mov ecx, eax
mov dword [edi + 0x1c], eax
call fcn.1005cbc0
cmp dword [edi + 0x28], 0
mov dword [ebp - 0x88], 0
jle 0x10047636
xor ecx, ecx
mov dword [ebp - 0x74], ecx
nop dword [eax + eax]
mov eax, dword [ebp - 0x98]
mov esi, dword [ebp - 0xb4]
movzx edi, word [eax + ecx + 2]
movzx edx, word [eax + ecx + 4]
mov esi, dword [esi + 0x1c]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x98]
mov ecx, dword [esi + 8]
mov ax, word [edi + eax]
mov edi, dword [ebp - 0x74]
mov word [edi + ecx], ax
mov ecx, edi
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x28]
mov word [ecx + eax + 2], dx
mov eax, dword [esi + 8]
mov word [ecx + eax + 4], di
add ecx, 6
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x74], ecx
cmp eax, dword [edi + 0x28]
jl 0x100475d0
mov ecx, dword [edi + 0x1c]
call fcn.1005cd10
cmp dword [0x101105fc], 0
jne 0x100477d3
mov dword [0x101105fc], 0x10106030
mov ecx, 0x10106038
mov edx, 0x12
nop
movss xmm1, dword [ecx]
lea ecx, [ecx + 0x6c]
movss xmm2, dword [ecx - 0x70]
movss xmm0, dword [ecx - 0x74]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx - 0x60]
movq qword [ecx - 0x74], xmm2
movss xmm2, dword [ecx - 0x64]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx - 0x54]
movss dword [ebp - 0x8c], xmm0
mov eax, dword [ebp - 0x8c]
movss xmm0, dword [ecx - 0x68]
movq qword [ecx - 0x68], xmm2
movss xmm2, dword [ecx - 0x58]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx - 0x48]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ecx - 0x5c]
movq qword [ecx - 0x5c], xmm2
movss xmm2, dword [ecx - 0x4c]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx - 0x3c]
mov dword [ecx - 0x6c], eax
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ecx - 0x50]
movq qword [ecx - 0x50], xmm2
movss xmm2, dword [ecx - 0x40]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx - 0x30]
mov dword [ecx - 0x60], eax
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ecx - 0x44]
movq qword [ecx - 0x44], xmm2
movss xmm2, dword [ecx - 0x34]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx - 0x24]
mov dword [ecx - 0x54], eax
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ecx - 0x38]
movq qword [ecx - 0x38], xmm2
movss xmm2, dword [ecx - 0x28]
mov dword [ecx - 0x48], eax
mov eax, dword [ebp - 0x8c]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx - 0x18]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ecx - 0x2c]
movq qword [ecx - 0x2c], xmm2
movss xmm2, dword [ecx - 0x1c]
mov dword [ecx - 0x3c], eax
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ecx - 0x20]
unpcklps xmm2, xmm1
movss xmm1, dword [ecx - 0xc]
mov dword [ecx - 0x30], eax
mov eax, dword [ebp - 0x8c]
movq qword [ecx - 0x20], xmm2
movss xmm2, dword [ecx - 0x10]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ecx - 0x14]
mov dword [ecx - 0x24], eax
mov eax, dword [ebp - 0x8c]
mov dword [ecx - 0x18], eax
unpcklps xmm2, xmm1
movss dword [ebp - 0x8c], xmm0
mov eax, dword [ebp - 0x8c]
movq qword [ecx - 0x14], xmm2
mov dword [ecx - 0xc], eax
sub edx, 1
jne 0x10047660
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1004780a
mov edx, dword [ebp - 0x80]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x10047800
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047953
push edx
push ecx
call fcn.100ace28
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.10002830
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x10047852
mov edx, dword [ebp - 0xbc]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x10047848
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047953
push edx
push ecx
call fcn.100ace28
add esp, 8
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x1004789f
mov ecx, dword [ebp - 0xc0]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
add ecx, ecx
cmp ecx, 0x1000
jb 0x10047895
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047953
push ecx
push esi
call fcn.100ace28
add esp, 8
mov esi, dword [ebp - 0xc4]
test esi, esi
je 0x100478eb
mov ecx, dword [ebp - 0xcc]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100478e1
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047953
push ecx
push esi
call fcn.100ace28
add esp, 8
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
je 0x10047924
mov edx, dword [ebp - 0xb8]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x1004791a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047953
push edx
push ecx
call fcn.100ace28
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.1000db20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad4b8
mov esp, ebp
pop ebp
ret 4
call fcn.100031e0
call fcn.100b251a
int3