Function at 0x101003cd
Capabilities:
Encrypt data using speck

Disassembly:
push 0x13c
mov eax, 0x1011f328
call fcn.101134c8
mov esi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0xc4], esi
cmp eax, edi
je 0x10100425
xor ecx, ecx
push 0xc
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010e06e
pop ecx
mov dword [ebx + 0x30], eax
cmp eax, edi
jne 0x10100414
push 0xfffffffffffffff4
pop eax
jmp 0x101028af
mov ecx, dword [ebx + 8]
imul ecx, ecx, 0xc
push ecx
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
call sym.rt3d.dll_public:_static_class_e3_MEM____stdcall_e3_MEM::Create_void_
mov dword [ebx + 0x34], eax
cmp eax, edi
je 0x1010040c
push 0x40
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebx + 0x38], eax
cmp eax, edi
je 0x1010040c
push 0x40
push edi
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 4]
mov dword [eax + 0x38], ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x34]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x30]
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x38]
mov dword [eax + 0x3c], esi
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax]
add esp, 0xc
push eax
call dword [ecx + 4]
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x2c], eax
push dword [ebx + 0x38]
mov ecx, dword [ebx]
push esi
call fcn.1010e06e
mov dword [ebp - 0xc0], eax
cmp eax, 1
jge 0x101004bd
mov eax, dword [ebx]
cmp dword [eax + 0xbe], edi
je 0x101004ac
test dword [esi + 0x28], 0x800
jne 0x101004bd
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xac]
xor eax, eax
jmp 0x101028af
test byte [esi + 0x28], 0x40
je 0x101005a0
cmp dword [ebp - 0xc0], edi
je 0x101005a0
mov ecx, dword [ebx]
cmp dword [ecx + 0x112], edi
jne 0x10100516
mov eax, dword [ecx + 0x122]
xor ecx, ecx
push 0xc
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010e06e
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x112], eax
mov ecx, dword [ebx]
xor edi, edi
cmp dword [ecx + 0x112], edi
je 0x1010040c
mov esi, dword [ebp - 0xc4]
test dword [esi + 0x28], 0x200
je 0x10100588
cmp dword [esi + 0x24], edi
je 0x10100588
mov eax, dword [ecx + 0x66]
xor ecx, ecx
push 0xc
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010e06e
xor edi, edi
pop ecx
mov dword [ebp - 0xcc], eax
cmp eax, edi
je 0x1010040c
mov eax, dword [ebx]
push dword [eax + 0x66]
mov esi, dword [ebp - 0xc4]
push dword [ebp - 0xcc]
push dword [eax + 0x62]
push dword [esi + 0x24]
call fcn.1010e06e
push dword [esi + 0x24]
mov ecx, dword [ebx]
push dword [ebp - 0xcc]
push 7
call fcn.1010e06e
push dword [ebp - 0xcc]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x101005a0
push edi
push dword [ecx + 0x62]
push 1
call fcn.1010e06e
mov ecx, dword [ebx]
push edi
push dword [ecx + 0x62]
push 2
call fcn.1010e06e
mov eax, dword [ebx]
mov byte [ebp - 0xb5], 0
cmp dword [eax + 0x6e], edi
je 0x101005c3
cmp dword [eax + 0xa2], edi
je 0x101005c3
test byte [esi + 0x28], 0x80
je 0x101005c3
mov byte [ebp - 0xb5], 1
push 0x64
lea eax, [ebp - 0xb4]
push edi
push eax
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xe4], edi
call sub.MSVCR100.dll_memset
mov eax, dword [esi + 0x28]
add esp, 0xc
test eax, 0x20080
je 0x1010078c
cmp dword [ebp - 0xc0], edi
je 0x101007ec
test eax, 0x20000
je 0x10100699
mov eax, dword [ebx]
mov dword [ebp - 0xbc], edi
cmp dword [eax + 0x54], edi
jbe 0x1010067f
xor ecx, ecx
mov edx, dword [eax + 0x50]
movzx edx, word [ecx + edx]
mov edi, 0x3e8
cmp dx, di
jb 0x1010063f
add edi, 0x64
cmp dx, di
jae 0x1010063f
mov edx, dword [eax + 0x50]
movzx edx, word [ecx + edx]
lea edx, [ebp + edx - 0x49c]
or byte [edx], 1
mov edx, dword [eax + 0x50]
movzx edx, word [ecx + edx]
mov edi, 0x384
cmp dx, di
jb 0x10100669
add edi, 0x64
cmp dx, di
jae 0x10100669
mov edx, dword [eax + 0x50]
movzx edx, word [ecx + edx]
lea edx, [ebp + edx - 0x438]
or byte [edx], 2
inc dword [ebp - 0xbc]
mov edx, dword [ebx]
mov edi, dword [ebp - 0xbc]
add ecx, 0x1c
cmp edi, dword [edx + 0x54]
jb 0x10100615
xor eax, eax
cmp byte [ebp + eax - 0xb4], 3
jne 0x10100691
inc dword [ebp - 0xf4]
inc eax
cmp eax, 0x64
jb 0x10100681
jmp 0x101006b7
cmp byte [ebp - 0xb5], 0
je 0x1010078c
mov dword [ebp - 0xf4], 1
mov byte [ebp - 0xb4], 3
cmp dword [ebp - 0xf4], 0
je 0x1010078c
mov eax, dword [ebp - 0xf4]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010e06e
pop ecx
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1010040c
mov eax, dword [ebp - 0xf4]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010e06e
pop ecx
mov dword [ebx + 0x10], eax
test eax, eax
je 0x1010040c
mov eax, dword [ebp - 0xf4]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010e06e
pop ecx
mov dword [ebx + 0x14], eax
test eax, eax
je 0x1010040c
mov eax, dword [ebp - 0xc4]
test byte [eax + 0x28], 0x10
je 0x10100768
mov eax, dword [ebp - 0xf4]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010e06e
pop ecx
mov dword [ebx + 0x18], eax
test eax, eax
je 0x1010040c
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xc4]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x20], ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x18]
mov dword [eax + 0x24], ecx
xor edi, edi
cmp dword [ebp - 0xc0], edi
je 0x101007ec
mov dword [ebp - 0xdc], edi
cmp byte [ebp + edi - 0xb4], 3
jne 0x101007e4
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0xdc]
mov eax, dword [ebx]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebp - 0xdc]
push ecx
push edi
push dword [ebx]
call dword [eax + 0x19c]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xdc]
mov dword [ecx + eax], edi
test edi, edi
je 0x101007dd
inc dword [ebp - 0xe4]
add dword [ebp - 0xdc], 4
inc edi
cmp edi, 0x64
jb 0x1010079c
xor edi, edi
test dword [esi + 0x28], 0x40000
je 0x1010081b
mov eax, dword [ebx]
cmp dword [eax + 0xaa], edi
je 0x10100804
cmp dword [eax + 0x7e], edi
jne 0x1010080c
cmp dword [eax + 0x8a], edi
je 0x1010081b
cmp dword [ebp - 0xc0], edi
je 0x1010081b
mov eax, dword [ebx + 0x38]
mov byte [eax + 0x36], 1
test byte [esi + 0x28], 0x20
je 0x10101050
mov eax, dword [ebx + 0x38]
mov cl, byte [ebp - 0xb5]
mov byte [eax + 0x35], cl
test byte [esi + 0x28], 0x40
je 0x1010083e
mov eax, dword [ebx + 0x38]
mov byte [eax + 0x34], 1
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x34], 0
push 3
pop esi
je 0x1010084d
push 6
pop esi
cmp byte [eax + 0x36], 0
je 0x10100856
add esi, 4
mov ecx, dword [ebp - 0xf4]
cmp ecx, edi
je 0x10100866
mov dword [eax + 0x30], esi
lea esi, [esi + ecx*2]
call sym.rt3d.dll_public:_static_class_e3_MEM____stdcall_e3_MEM::Create_void_
mov ecx, dword [ebx + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x38]
cmp dword [eax + 8], edi
je 0x1010040c
push 0x20
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x101008a2
mov ecx, dword [ebx + 0x38]
push esi
push dword [ecx + 8]
mov ecx, eax
call fcn.1010e06e
jmp 0x101008a4
xor eax, eax
mov ecx, dword [ebx + 0x38]
or dword [ebp - 4], 0xffffffff
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0xc], edi
je 0x1010040c
xor ecx, ecx
push 4
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010e06e
xor esi, esi
pop ecx
mov dword [ebx + 0x20], eax
cmp eax, esi
je 0x1010040c
mov dword [ebp - 0xbc], esi
cmp dword [ebx + 8], esi
jbe 0x10101020
mov dword [ebp - 0xcc], esi
mov edi, dword [ebx + 0x30]
add edi, dword [ebp - 0xcc]
test byte [edi + 8], 2
mov dword [ebp - 0xe0], edi
jne 0x10101002
mov esi, dword [ebx]
push dword [ebp - 0xbc]
mov ecx, esi
call fcn.1010e06e
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x100], eax
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x36], 0
je 0x1010093b
mov eax, dword [esi + 0xaa]
lea eax, [eax + ecx*4]
jmp 0x1010093d
xor eax, eax
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x10100953
cmp dword [eax], 0
jne 0x10100953
and dword [ebp - 0xdc], 0
mov eax, dword [esi + 0x9e]
mov edx, ecx
shl edx, 2
add eax, edx
test byte [edi + 8], 1
mov dword [ebp - 0xe8], eax
je 0x10100ce8
and dword [ebp - 0xe4], 0
cmp dword [edi + 4], 0
jle 0x10101002
push dword [ebx + 0x3c]
push 3
push dword [ebp - 0xc4]
call fcn.10100348
add esp, 0xc
test eax, eax
js 0x101028af
mov ecx, dword [ebx + 0x38]
push 3
push dword [ebp - 0xbc]
call fcn.1010e06e
mov esi, eax
mov dword [ebp - 0xec], esi
test esi, esi
je 0x1010040c
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx]
mov dword [ebp - 0xd0], eax
sub eax, dword [ecx + 0x102]
push 0x11
cdq
pop edi
idiv edi
mov edx, eax
imul edx, edx, 6
add edx, dword [ecx + 0x10a]
and dword [ebp - 0xd8], 0
mov dword [ebp - 0xc0], edx
mov dword [esi + 8], eax
mov ecx, dword [ebx]
mov edi, dword [ecx + 0x10a]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
test edi, edi
je 0x10100a22
mov edx, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xd8]
movzx edx, word [edx + esi*2]
jmp 0x10100a28
mov edx, dword [ebp - 0xd8]
mov esi, dword [eax + edx*4]
mov edx, dword [ebp - 0xc4]
test dword [edx + 0x28], 0x200
mov dword [ebp - 0xc8], esi
je 0x10100a5a
imul esi, esi, 0xc
add esi, dword [ecx + 0x62]
push 1
lea eax, [ebp - 0x120]
push eax
push esi
push dword [edx + 0x24]
call fcn.1010e06e
jmp 0x10100a8e
mov edx, dword [ebp - 0xd8]
test edi, edi
lea edi, [ebp - 0x120]
je 0x10100a82
mov esi, dword [ebp - 0xc0]
movzx esi, word [esi + edx*2]
mov esi, dword [eax + esi*4]
imul esi, esi, 0xc
add esi, dword [ecx + 0x62]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x10100a94
mov esi, dword [eax + edx*4]
imul esi, esi, 0xc
add esi, dword [ecx + 0x62]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebx + 0x20]
fld dword [ebp - 0x120]
fstp dword [eax]
mov eax, dword [ebx + 0x20]
fld dword [ebp - 0x11c]
push 3
fstp dword [eax + 4]
mov eax, dword [ebx + 0x20]
fld dword [ebp - 0x118]
fstp dword [eax + 8]
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x34], 0
pop eax
je 0x10100af5
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xf6]
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + edx*4 + 5]
mov eax, dword [ecx + eax*8]
mov ecx, dword [ebx + 0x20]
fld dword [eax]
fstp dword [ecx + 0xc]
mov ecx, dword [ebx + 0x20]
fld dword [eax + 4]
push 6
fstp dword [ecx + 0x10]
mov ecx, dword [ebx + 0x20]
fld dword [eax + 8]
pop eax
fstp dword [ecx + 0x14]
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x36], 0
je 0x10100ba8
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x10100b88
mov edi, dword [ebx]
cmp dword [edi + 0x10a], 0
mov ecx, dword [ecx]
je 0x10100b28
mov esi, dword [ebp - 0xc0]
movzx esi, word [esi + edx*2]
mov esi, dword [ecx + esi*4]
jmp 0x10100b2b
mov esi, dword [ecx + edx*4]
imul esi, esi, 0xc
add esi, dword [edi + 0x7e]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebp - 0x1c]
mov esi, dword [ebx + 0x20]
fstp dword [esi + eax*4]
mov esi, dword [ebx + 0x20]
fld dword [ebp - 0x18]
fstp dword [esi + eax*4 + 4]
mov esi, dword [ebx + 0x20]
fld dword [ebp - 0x14]
fstp dword [esi + eax*4 + 8]
mov edi, dword [ebx]
mov esi, dword [edi + 0x6a]
test esi, esi
je 0x10100b84
cmp dword [edi + 0x10a], 0
je 0x10100b75
mov edi, dword [ebp - 0xc0]
movzx edi, word [edi + edx*2]
mov ecx, dword [ecx + edi*4]
jmp 0x10100b78
mov ecx, dword [ecx + edx*4]
mov edi, dword [ebx + 0x20]
fld dword [esi + ecx*4]
fstp dword [edi + eax*4 + 0xc]
jmp 0x10100ba5
fld1
jmp 0x10100b9e
mov ecx, dword [ebx + 0x20]
fld1
fst dword [ecx + eax*4]
mov ecx, dword [ebx + 0x20]
fst dword [ecx + eax*4 + 4]
mov ecx, dword [ebx + 0x20]
fst dword [ecx + eax*4 + 8]
mov ecx, dword [ebx + 0x20]
fstp dword [ecx + eax*4 + 0xc]
add eax, 4
xor edi, edi
cmp dword [ebp - 0xf4], edi
jle 0x10100c61
fldz
shl eax, 2
mov dword [ebp - 0xf0], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi*4]
mov esi, dword [ebp - 0xbc]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x10100c06
mov esi, dword [ebx]
cmp dword [esi + 0x10a], 0
je 0x10100c01
mov esi, dword [ebp - 0xc0]
movzx esi, word [esi + edx*2]
mov eax, dword [eax + esi*4]
mov esi, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0xfc], esi
jmp 0x10100c24
mov eax, dword [eax + edx*4]
jmp 0x10100bf2
fst dword [ebp - 0x124]
fst dword [ebp - 0x128]
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebx + 0x20]
fld dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf0]
fstp dword [eax + ecx]
mov ecx, dword [ebx + 0x20]
fld dword [ebp - 0xf8]
add eax, 8
fstp dword [eax + ecx - 4]
inc edi
mov dword [ebp - 0xf0], eax
cmp edi, dword [ebp - 0xf4]
jl 0x10100bc1
fstp st(0)
push dword [ebp - 0x100]
push dword [ebx + 0x20]
push dword [ebp - 0xc8]
push dword [ebx + 0x38]
call fcn.1010e06e
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xec]
add esp, 0x10
mov dword [edx + ecx*4 + 0x14], eax
cmp eax, 0xffffffff
je 0x1010040c
mov eax, dword [edx + 0xc]
test eax, eax
je 0x10100cb8
mov edx, dword [ebx]
cmp dword [edx + 0x10a], 0
je 0x10100cb5
mov edx, dword [ebp - 0xc0]
movzx edx, word [edx + ecx*2]
mov dword [eax + ecx*4], edx
jmp 0x10100cb8
mov dword [eax + ecx*4], ecx
inc ecx
mov dword [ebp - 0xd8], ecx
cmp ecx, 3
jl 0x101009fc
inc dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [eax + 4]
jl 0x10100981
jmp 0x10101002
push ecx
mov ecx, esi
call fcn.1010e06e
push dword [ebx + 0x3c]
movzx esi, ax
push esi
push dword [ebp - 0xc4]
mov dword [ebp - 0xec], esi
call fcn.10100348
add esp, 0xc
test eax, eax
js 0x101028af
mov ecx, dword [ebx + 0x38]
push esi
push dword [ebp - 0xbc]
call fcn.1010e06e
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x1010040c
mov eax, dword [edi]
mov eax, dword [eax]
mov esi, dword [ebx]
sub eax, dword [esi + 0x102]
push 0x11
cdq
pop ecx
idiv ecx
mov edx, dword [ebp - 0xc8]
mov ecx, eax
imul ecx, ecx, 6
add ecx, dword [esi + 0x10a]
xor esi, esi
mov dword [ebp - 0xd0], ecx
mov dword [edx + 8], eax
mov dword [ebp - 0xd8], esi
cmp dword [ebp - 0xec], esi
jle 0x10101002
jmp 0x10100d84
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xd8]
mov edx, dword [ebx]
cmp dword [edx + 0x10a], 0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
je 0x10100da0
movzx ecx, word [ecx + esi*2]
mov ecx, dword [eax + ecx*4]
jmp 0x10100da3
mov ecx, dword [eax + esi*4]
mov esi, dword [ebp - 0xc4]
test dword [esi + 0x28], 0x200
mov dword [ebp - 0xf0], ecx
je 0x10100dd2
imul ecx, ecx, 0xc
add ecx, dword [edx + 0x62]
push 1
lea eax, [ebp - 0x148]
push eax
push ecx
push dword [esi + 0x24]
call fcn.1010e06e
jmp 0x10100df0
mov ecx, dword [ebp - 0xd8]
mov esi, dword [eax + ecx*4]
imul esi, esi, 0xc
add esi, dword [edx + 0x62]
lea edi, [ebp - 0x148]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xe0]
mov eax, dword [ebx + 0x20]
fld dword [ebp - 0x148]
fstp dword [eax]
mov eax, dword [ebx + 0x20]
fld dword [ebp - 0x144]
push 3
fstp dword [eax + 4]
mov eax, dword [ebx + 0x20]
fld dword [ebp - 0x140]
fstp dword [eax + 8]
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x34], 0
pop eax
je 0x10100e80
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xbc]
push dword [ebp - 0xd8]
mov edx, dword [eax + 0x9e]
shl ecx, 2
add edx, ecx
push edx
push edi
push eax
call fcn.1010e06e
add esp, 0x10
test eax, eax
je 0x10100e65
mov ecx, dword [ebx + 0x20]
fld dword [eax]
fstp dword [ecx + 0xc]
mov ecx, dword [ebx + 0x20]
fld dword [eax + 4]
fstp dword [ecx + 0x10]
mov ecx, dword [ebx + 0x20]
fld dword [eax + 8]
fstp dword [ecx + 0x14]
fld1
jmp 0x10100e7b
mov eax, dword [ebx + 0x20]
fldz
fst dword [eax + 0xc]
mov eax, dword [ebx + 0x20]
fstp dword [eax + 0x10]
fld1
mov eax, dword [ebx + 0x20]
fst dword [eax + 0x14]
push 6
pop eax
jmp 0x10100e82
fld1
mov ecx, dword [ebx + 0x38]
cmp byte [ecx + 0x36], 0
je 0x10100f1f
cmp dword [ebp - 0xdc], 0
je 0x10100f09
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ecx]
lea ecx, [ecx + edx*4]
mov edi, dword [ecx]
mov edx, dword [ebx]
imul edi, edi, 0xc
mov esi, dword [edx + 0x7e]
mov edx, dword [ebx + 0x20]
add esi, edi
lea edi, [ebp - 0x13c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebp - 0x13c]
fstp dword [edx + eax*4]
mov edx, dword [ebx + 0x20]
fld dword [ebp - 0x138]
fstp dword [edx + eax*4 + 4]
mov edx, dword [ebx + 0x20]
fld dword [ebp - 0x134]
fstp dword [edx + eax*4 + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x6a]
test edx, edx
je 0x10100efd
mov ecx, dword [ecx]
fstp st(0)
mov esi, dword [ebx + 0x20]
fld dword [edx + ecx*4]
fstp dword [esi + eax*4 + 0xc]
jmp 0x10100f04
mov ecx, dword [ebx + 0x20]
fstp dword [ecx + eax*4 + 0xc]
add eax, 4
jmp 0x10100f21
mov ecx, dword [ebx + 0x20]
fst dword [ecx + eax*4]
mov ecx, dword [ebx + 0x20]
fst dword [ecx + eax*4 + 4]
mov ecx, dword [ebx + 0x20]
fst dword [ecx + eax*4 + 8]
jmp 0x10100efd
fstp st(0)
xor esi, esi
cmp dword [ebp - 0xf4], esi
jle 0x10100fb2
fldz
mov edi, eax
shl edi, 2
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + esi*4]
mov edx, dword [ebp - 0xbc]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10100f67
mov edx, dword [ebp - 0xd8]
mov eax, dword [eax + edx*4]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x114], edx
jmp 0x10100f85
fst dword [ebp - 0x12c]
fst dword [ebp - 0x130]
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x12c]
fld dword [ebp - 0x114]
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 0x20]
fstp dword [edi + eax]
mov eax, dword [ebx + 0x20]
fld dword [ebp - 0x110]
add edi, 8
fstp dword [eax + edi - 4]
inc esi
cmp esi, dword [ebp - 0xf4]
jl 0x10100f36
fstp st(0)
push dword [ebp - 0x100]
push dword [ebx + 0x20]
push dword [ebp - 0xf0]
push dword [ebx + 0x38]
call fcn.1010e06e
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xc8]
add esp, 0x10
mov dword [edx + ecx*4 + 0x14], eax
cmp eax, 0xffffffff
je 0x1010040c
mov eax, dword [edx + 0xc]
test eax, eax
je 0x10100fef
mov dword [eax + ecx*4], ecx
inc ecx
mov dword [ebp - 0xd8], ecx
cmp ecx, dword [ebp - 0xec]
jl 0x10100d72
inc dword [ebp - 0xbc]
mov eax, dword [ebp - 0xbc]
add dword [ebp - 0xcc], 0xc
cmp eax, dword [ebx + 8]
jb 0x101008f3
xor esi, esi
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x1c], esi
je 0x10101040
push dword [ebx + 0x3c]
push dword [ebp - 0xc4]
call fcn.100ffc9a
pop ecx
pop ecx
cmp eax, esi
jl 0x101028af
push dword [ebx + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov dword [ebx + 0x20], esi
jmp 0x101023e8
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe8], edi
cmp dword [esi + 0x14], edi
jg 0x101023de
cmp dword [esi + 0x1c], edi
jg 0x101023de
push 0x164
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 1
cmp eax, edi
je 0x101010a4
push dword [ebx + 0x3c]
mov ecx, eax
call fcn.100b8ecf
mov esi, eax
mov dword [ebp - 0x104], eax
jmp 0x101010ac
xor esi, esi
mov dword [ebp - 0x104], esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x1010040c
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xc], esi
mov eax, dword [esi + 0x148]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x148], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebx + 0x38]
push dword [eax]
push esi
call fcn.1010e06e
mov eax, dword [esi]
pop ecx
pop ecx
mov ecx, dword [ebx]
push 1
push dword [ecx + 0x66]
push esi
call dword [eax + 0x118]
test eax, eax
js 0x101028af
xor edi, edi
cmp dword [ebp - 0xe4], edi
jne 0x10101114
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x36], 0
je 0x10101121
mov eax, dword [ebp - 0xc4]
or dword [eax + 0x28], 0x3000
mov eax, dword [ebp - 0xc4]
test dword [eax + 0x28], 0x200
mov eax, dword [ebx]
je 0x1010114b
push dword [eax + 0x66]
push dword [esi + 0x62]
push dword [eax + 0x62]
mov eax, dword [ebp - 0xc4]
push dword [eax + 0x24]
call fcn.1010e06e
jmp 0x10101160
mov ecx, dword [eax + 0x66]
imul ecx, ecx, 0xc
push ecx
push dword [eax + 0x62]
push dword [esi + 0x62]
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, dword [esi]
push 1
push 0xffffffffffffffff
push dword [ebp - 0xc0]
push esi
call dword [eax + 0x128]
cmp eax, edi
jl 0x101028af
mov dword [ebp - 0xd4], edi
cmp dword [esi + 0xb2], edi
je 0x101012d4
cmp byte [ebp - 0xb5], 0
je 0x101011cf
mov eax, dword [ebp - 0xc4]
test byte [eax + 0x28], 0x10
je 0x101011bb
mov eax, dword [0x1079d9f0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
mov dword [ebx + 0x2c], eax
cmp eax, edi
je 0x1010040c
mov eax, dword [esi]
push 1
push edi
push esi
call dword [eax + 0x12c]
cmp eax, edi
jl 0x101028af
mov eax, dword [ebp - 0xc4]
test byte [eax + 0x28], 0x40
je 0x10101201
mov eax, dword [0x1079d9f0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
push 1
push 1
mov dword [ebx + 0x24], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x130]
cmp eax, edi
jl 0x101028af
mov eax, dword [ebx]
cmp dword [eax + 0x96], edi
je 0x1010121c
mov eax, dword [esi]
push esi
call dword [eax + 0x14c]
cmp eax, edi
jl 0x101028af
mov eax, dword [ebp - 0xc4]
test dword [eax + 0x28], 0x1000
je 0x10101243
lea eax, [ebp - 0xf0]
push eax
push 0x14
mov ecx, esi
call fcn.1010e06e
cmp eax, edi
jl 0x101028af
mov eax, dword [ebp - 0xc4]
test dword [eax + 0x28], 0x4000
je 0x1010126a
lea eax, [ebp - 0xdc]
push eax
push 0x15
mov ecx, esi
call fcn.1010e06e
cmp eax, edi
jl 0x101028af
mov eax, dword [ebp - 0xc4]
test dword [eax + 0x28], 0x2000
je 0x101012b2
push 1
push 1
push edi
push 0x16
mov ecx, esi
call fcn.1010e06e
cmp eax, edi
jl 0x101028af
mov eax, dword [esi]
push 0x16
push esi
call dword [eax + 0x158]
mov eax, dword [eax + 0x14]
cmp eax, edi
je 0x101012ac
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xe8], eax
jmp 0x101012b2
mov dword [ebp - 0xe8], edi
mov eax, dword [ebx]
cmp dword [eax + 0x9a], edi
je 0x101012ce
mov eax, dword [esi]
push esi
call dword [eax + 0x13c]
cmp eax, edi
jge 0x101012d4
jmp 0x101028af
mov eax, dword [eax + 0x5c]
mov dword [esi + 0x5c], eax
mov dword [ebp - 0xbc], edi
cmp dword [ebx + 8], edi
jbe 0x10101a1e
mov edi, dword [ebp - 0xbc]
imul edi, edi, 0xc
add edi, dword [ebx + 0x30]
test byte [edi + 8], 2
mov dword [ebp - 0x108], edi
jne 0x10101a07
push dword [ebp - 0xbc]
mov ecx, dword [ebx]
call fcn.1010e06e
cmp byte [ebp - 0xb5], 0
mov dword [ebp - 0xcc], eax
je 0x1010132e
mov eax, dword [ebx]
mov eax, dword [eax + 0xa2]
mov ecx, dword [ebp - 0xbc]
lea eax, [eax + ecx*4]
jmp 0x10101330
xor eax, eax
xor edx, edx
mov dword [ebp - 0xd8], eax
cmp eax, edx
je 0x10101346
cmp dword [eax], edx
jne 0x10101346
mov dword [ebp - 0xd8], edx
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x9e]
shl ecx, 2
add eax, ecx
test byte [edi + 8], 1
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xc8], eax
je 0x10101747
mov dword [ebp - 0x10c], edx
cmp dword [edi + 4], edx
jle 0x10101a07
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx]
mov dword [ebp - 0xe0], eax
sub eax, dword [ecx + 0x102]
push 0x11
pop edi
cdq
idiv edi
push 3
push dword [ebp - 0xd4]
push esi
mov edi, eax
mov eax, dword [esi]
imul edi, edi, 6
add edi, dword [ecx + 0x10a]
call dword [eax + 0xfc]
test eax, eax
js 0x101028af
mov eax, dword [ebp - 0xd4]
mov ecx, dword [esi + 0x9e]
shl eax, 2
add ecx, eax
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0xd0], ecx
je 0x101013f4
mov ecx, dword [esi + 0xa6]
add ecx, eax
mov dword [ebp - 0x100], ecx
jmp 0x101013fb
and dword [ebp - 0x100], 0
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x10101410
mov edx, dword [ebp - 0xe0]
mov edx, dword [edx]
mov dword [eax + ecx], edx
cmp dword [ebp - 0xdc], 0
je 0x1010143c
mov ecx, dword [ebx]
mov eax, dword [ebp - 0xe0]
sub eax, dword [ecx + 0x102]
push 0x11
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xdc]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebx]
xor eax, eax
cmp dword [ecx + 0x10a], eax
je 0x101014dc
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xec], edi
mov eax, dword [ebp - 0xec]
movzx eax, word [eax]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xd0]
add dword [ebp - 0xc0], 4
mov edx, dword [edx]
add dword [ebp - 0xec], 2
cmp dword [ebp - 0xc0], 0xc
mov dword [ecx + edx], eax
jl 0x10101458
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x1010151c
mov eax, dword [ebp - 0xd4]
shl eax, 2
add eax, ecx
mov dword [ebp - 0xd0], eax
xor eax, eax
mov dword [ebp - 0xec], edi
mov ecx, dword [ebp - 0xec]
movzx ecx, word [ecx]
mov edx, dword [ebp - 0xd0]
mov edx, dword [edx]
add dword [ebp - 0xec], 2
mov dword [eax + edx], ecx
add eax, 4
cmp eax, 0xc
jl 0x101014b7
jmp 0x1010151c
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0xd0]
mov ecx, dword [eax + ecx]
mov edx, dword [edx]
mov dword [eax + edx], ecx
add eax, 4
cmp eax, 0xc
jl 0x101014dc
mov edx, dword [ebp - 0xe8]
test edx, edx
je 0x1010151c
mov eax, dword [ebp - 0xd4]
shl eax, 2
xor ecx, ecx
add eax, edx
mov edx, dword [eax]
mov dword [edx + ecx*4], ecx
inc ecx
cmp ecx, 3
jl 0x10101511
mov eax, dword [ebx]
mov ecx, dword [eax + 0x96]
test ecx, ecx
je 0x10101550
mov eax, dword [ebp - 0xe0]
movzx edx, byte [eax + 4]
mov eax, dword [ebp - 0xbc]
xor edx, dword [ecx + eax*4]
and edx, 7
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x96]
mov eax, dword [ebp - 0xd4]
mov dword [ecx + eax*4], edx
cmp dword [ebp - 0xd8], 0
je 0x10101684
mov eax, dword [esi]
push 0x384
push dword [ebp - 0xd4]
push esi
call dword [eax + pe_nt_image_headers32]
mov dword [ebp - 0xec], eax
test eax, eax
je 0x1010040c
xor ecx, ecx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xd0], edi
jmp 0x10101595
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebx]
xor edx, edx
cmp dword [ebx + 0x2c], edx
je 0x1010162a
cmp dword [eax + 0x10a], edx
mov edx, dword [ebp - 0xd8]
mov eax, dword [eax + 0x6e]
mov edx, dword [edx]
je 0x101015bd
movzx ecx, word [edi]
mov ecx, dword [edx + ecx*4]
jmp 0x101015c0
mov ecx, dword [ecx + edx]
mov edx, dword [eax + ecx*8]
mov dword [ebp - 0x128], edx
mov eax, dword [eax + ecx*8 + 4]
push 0
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x128]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x134]
push edx
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0x134]
mov dword [eax + edx], edi
mov ecx, dword [ecx]
cmp dword [eax + ecx], 0xffffffff
je 0x1010040c
mov ecx, eax
jmp 0x10101663
cmp dword [eax + 0x102], edx
je 0x1010164d
movzx eax, word [edi]
mov edx, dword [ebp - 0xd8]
mov edx, dword [edx]
mov edi, dword [ebp - 0xec]
mov edi, dword [edi]
mov eax, dword [edx + eax*4]
mov dword [ecx + edi], eax
jmp 0x10101663
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xec]
mov edx, dword [edx]
mov eax, dword [ecx + eax]
mov dword [ecx + edx], eax
mov edi, dword [ebp - 0xd0]
add ecx, 4
add edi, 2
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc0], ecx
cmp ecx, 0xc
jl 0x1010158f
xor edi, edi
cmp dword [ebp - 0x100], edi
je 0x101016e4
mov ecx, dword [ebx]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + edi + 5]
mov ecx, dword [ecx + 0xf6]
mov eax, dword [ecx + eax*8]
lea edx, [ebp - 0x12c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax]
push edx
push dword [ebp - 0xd0]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x12c]
mov dword [edi + ecx], edx
mov eax, dword [eax]
cmp dword [edi + eax], 0xffffffff
je 0x1010040c
add edi, 4
cmp edi, 0xc
jl 0x1010168e
mov eax, dword [esi + 0x9a]
test eax, eax
je 0x101016fd
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xcc]
mov dword [eax + ecx*4], edx
mov ecx, dword [esi + 0x92]
test ecx, ecx
je 0x10101721
mov eax, dword [ebx]
mov edx, dword [eax + 0x92]
mov eax, dword [ebp - 0xbc]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 0xd4]
mov dword [ecx + eax*4], edx
inc dword [ebp - 0xd4]
inc dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x10c]
cmp ecx, dword [eax + 4]
jl 0x1010137e
jmp 0x10101a07
push dword [ebp - 0xbc]
mov ecx, dword [ebx]
call fcn.1010e06e
mov ecx, dword [esi]
movzx eax, ax
push eax
push dword [ebp - 0xd4]
mov dword [ebp - 0xc0], eax
push esi
call dword [ecx + 0xfc]
test eax, eax
js 0x101028af
mov eax, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xd4]
shl eax, 2
push eax
mov eax, dword [ebp - 0xc8]
push dword [eax]
mov eax, dword [esi + 0x9e]
shl edi, 2
push dword [edi + eax]
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebx]
mov eax, dword [eax + 0x96]
add esp, 0xc
test eax, eax
je 0x101017bf
mov edx, dword [ebp - 0xd0]
mov ecx, dword [esi + 0x96]
mov eax, dword [eax + edx]
mov dword [edi + ecx], eax
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
jne 0x101017d1
cmp dword [ebp - 0xdc], ecx
je 0x10101808
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
test eax, eax
je 0x10101808
mov eax, dword [eax]
test ecx, ecx
je 0x101017e8
mov edx, dword [eax]
mov dword [edi + ecx], edx
cmp dword [ebp - 0xdc], 0
je 0x10101808
mov ecx, dword [ebx]
sub eax, dword [ecx + 0x102]
push 0x11
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0xdc]
mov dword [edi + ecx], eax
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x1010182c
xor eax, eax
cmp dword [ebp - 0xc0], eax
jbe 0x1010182c
add edi, ecx
mov ecx, dword [edi]
mov dword [ecx + eax*4], eax
inc eax
cmp eax, dword [ebp - 0xc0]
jb 0x1010181e
cmp dword [ebp - 0xd8], 0
je 0x10101923
mov eax, dword [esi]
push 0x384
push dword [ebp - 0xd4]
push esi
call dword [eax + pe_nt_image_headers32]
mov edi, eax
test edi, edi
je 0x1010040c
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xc0], 0
jbe 0x10101923
cmp dword [ebx + 0x2c], 0
je 0x101018f5
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
mov eax, dword [ebx]
mov eax, dword [eax + 0x6e]
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + ecx*8]
mov dword [ebp - 0x144], edx
mov eax, dword [eax + ecx*8 + 4]
push 0
lea edx, [ebp - 0x11c]
push edx
lea edx, [ebp - 0x144]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x110]
push edx
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0xe0]
mov dword [eax + edx*4], ecx
mov eax, dword [edi]
mov ecx, edx
cmp dword [eax + ecx*4], 0xffffffff
je 0x1010040c
jmp 0x1010190b
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ecx]
mov edx, dword [edi]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xc0]
jb 0x1010186b
cmp dword [ebx + 0x24], 0
je 0x101019c9
mov eax, dword [ebp - 0xd4]
mov edi, dword [esi + 0xa6]
and dword [ebp - 0xe0], 0
mov ecx, eax
shl ecx, 2
add edi, ecx
cmp dword [ebp - 0xc0], 0
jbe 0x101019cf
mov eax, dword [ebp - 0xbc]
push dword [ebp - 0xe0]
mov ecx, dword [esi + 0x9e]
shl eax, 2
add ecx, eax
push ecx
push dword [ebp - 0x108]
push dword [ebx]
call fcn.1010e06e
add esp, 0x10
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x101019b5
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0xf8]
push edx
push dword [ebp - 0xd0]
push ecx
call dword [eax + 0x10]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [edi]
mov edx, dword [ebp - 0xf8]
mov dword [ecx + eax*4], edx
mov ecx, dword [edi]
cmp dword [ecx + eax*4], 0xffffffff
je 0x1010040c
inc dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xc0]
jb 0x10101950
mov eax, dword [ebp - 0xd4]
mov ecx, dword [esi + 0x9a]
test ecx, ecx
je 0x101019e2
mov edx, dword [ebp - 0xcc]
mov dword [ecx + eax*4], edx
mov edx, dword [esi + 0x92]
test edx, edx
je 0x10101a00
mov ecx, dword [ebx]
mov edi, dword [ecx + 0x92]
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [edi + ecx*4]
mov dword [edx + eax*4], ecx
inc eax
mov dword [ebp - 0xd4], eax
inc dword [ebp - 0xbc]
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebx + 8]
jb 0x101012e3
xor edi, edi
cmp byte [ebp - 0xb5], 0
je 0x10101a7a
mov eax, dword [ebx + 0x2c]
cmp eax, edi
je 0x10101a4b
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
cmp eax, edi
jl 0x101028af
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 0x2c], edi
jmp 0x10101a7a
mov ecx, dword [ebx]
mov eax, dword [esi]
push 1
push dword [ecx + 0x72]
push esi
call dword [eax + 0x11c]
cmp eax, edi
jl 0x101028af
mov eax, dword [ebx]
mov ecx, dword [eax + 0x72]
shl ecx, 3
push ecx
push dword [eax + 0x6e]
push dword [esi + 0x6e]
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x24]
cmp eax, edi
je 0x10101ae8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov edi, eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 1
push edi
mov dword [ebp - 0xd0], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x120]
test eax, eax
js 0x101028af
cmp dword [ebp - 0xd0], 0
je 0x10101ad9
mov eax, dword [ebp - 0xd0]
xor ecx, ecx
mov edx, dword [ebp - 0x104]
mov edi, dword [edx + 0x76]
add edi, ecx
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
add ecx, 0xc
test eax, eax
jne 0x10101abd
mov esi, edx
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x24], 0
xor edi, edi
mov eax, dword [ebx]
mov eax, dword [eax + 0xbe]
cmp eax, edi
je 0x10101ddf
mov ecx, dword [ebp - 0xc4]
test dword [ecx + 0x28], 0x800
je 0x10101ddf
mov ecx, dword [ecx + 0x20]
xor edi, edi
cmp ecx, 2
jne 0x10101b62
mov ecx, dword [ebx]
cmp dword [ecx + 0xb6], 2
je 0x10101b62
mov dword [ebp - 0xbc], edi
cmp eax, edi
jbe 0x10101b64
mov eax, ecx
mov eax, dword [eax + 0xbe]
mov dword [ebp - 0xf8], eax
push dword [ebp - 0xbc]
mov ecx, dword [ebx]
call fcn.1010e06e
inc dword [ebp - 0xbc]
movzx eax, ax
lea edi, [edi + eax - 1]
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xf8]
jb 0x10101b38
jmp 0x10101b64
mov edi, eax
mov eax, dword [ebx]
cmp dword [eax + 0xb6], 2
je 0x10101b82
mov eax, dword [ebp - 0xc4]
cmp dword [eax + 0x20], 2
mov byte [ebp - 0xb5], 0
jne 0x10101b89
mov byte [ebp - 0xb5], 1
mov eax, dword [esi]
xor ecx, ecx
cmp byte [ebp - 0xb5], cl
push 1
sete cl
dec ecx
and ecx, 3
dec ecx
push ecx
push edi
push esi
call dword [eax + 0x10c]
test eax, eax
js 0x101028af
mov eax, dword [ebx]
xor edi, edi
cmp dword [eax + 0xd2], edi
je 0x10101bcb
mov eax, dword [esi]
push esi
call dword [eax + 0x140]
cmp eax, edi
jl 0x101028af
mov eax, dword [ebx]
cmp dword [eax + 0xc2], edi
je 0x10101be6
mov eax, dword [esi]
push esi
call dword [eax + 0x114]
cmp eax, edi
jl 0x101028af
mov eax, dword [ebx]
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xbc], edi
cmp dword [eax + 0xbe], edi
jbe 0x10101ddf
mov dword [ebp - 0xcc], edi
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebx]
mov edi, dword [ecx + 0xca]
mov edx, eax
shl edx, 2
add edi, edx
push eax
mov dword [ebp - 0xd0], edi
call fcn.1010e06e
movzx eax, ax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc4]
cmp dword [eax + 0x20], 2
jne 0x10101d18
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
dec eax
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf8], eax
test eax, eax
jle 0x10101dbe
mov eax, dword [ebp - 0xd4]
imul eax, eax, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xd4]
mov eax, dword [esi + 0xca]
shl edx, 2
add eax, edx
mov edx, dword [edi]
mov edi, dword [eax]
mov edx, dword [edx + ecx*4]
mov dword [edi], edx
mov edi, dword [ebp - 0xd0]
mov edx, dword [edi]
mov eax, dword [eax]
mov ecx, dword [edx + ecx*4 + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0xd2]
test eax, eax
je 0x10101cbb
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [eax + ecx*4]
mov edx, dword [esi + 0xd2]
mov eax, dword [ebp - 0xd4]
mov dword [edx + eax*4], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc2]
test eax, eax
je 0x10101ced
mov ecx, dword [ebp - 0xcc]
lea esi, [eax + ecx]
mov eax, dword [ebp - 0x104]
mov edi, dword [eax + 0xc2]
add edi, dword [ebp - 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xd0]
mov esi, eax
mov ecx, dword [ebp - 0x100]
inc dword [ebp - 0xd4]
add dword [ebp - 0xc8], 0xc
inc ecx
mov dword [ebp - 0x100], ecx
cmp ecx, dword [ebp - 0xf8]
jl 0x10101c6c
jmp 0x10101dbe
cmp byte [ebp - 0xb5], 0
jne 0x10101d3e
push dword [ebp - 0xc8]
mov eax, dword [esi]
push dword [ebp - 0xd4]
push esi
call dword [eax + 0x110]
test eax, eax
js 0x101028af
mov ecx, dword [ebp - 0xd4]
mov eax, dword [esi + 0xca]
shl ecx, 2
add eax, ecx
mov ecx, dword [ebp - 0xc8]
shl ecx, 2
push ecx
push dword [edi]
push dword [eax]
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebx]
mov eax, dword [eax + 0xd2]
add esp, 0xc
test eax, eax
je 0x10101d89
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [eax + ecx*4]
mov edx, dword [esi + 0xd2]
mov eax, dword [ebp - 0xd4]
mov dword [edx + eax*4], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc2]
test eax, eax
je 0x10101db8
mov edi, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xcc]
imul edi, edi, 0xc
lea esi, [eax + ecx]
mov eax, dword [ebp - 0x104]
add edi, dword [eax + 0xc2]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
inc dword [ebp - 0xd4]
inc dword [ebp - 0xbc]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xbc]
add dword [ebp - 0xcc], 0xc
cmp ecx, dword [eax + 0xbe]
jb 0x10101c06
mov edi, dword [ebp - 0xc4]
test dword [edi + 0x28], 0x8000
je 0x10101e0d
push esi
call fcn.1010e06e
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x1010040c
cmp dword [esi + 0x66], ecx
jbe 0x10101e0d
mov dword [eax + ecx*4], ecx
inc ecx
cmp ecx, dword [esi + 0x66]
jb 0x10101e04
test byte [edi + 0x28], 4
je 0x10101e26
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x17c]
test eax, eax
js 0x101028af
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x36], 0
jne 0x10101e3c
cmp dword [ebp - 0xe4], 0
je 0x101023e9
call sym.rt3d.dll_public:_static_class_e3_MEM____stdcall_e3_MEM::Create_void_
mov ecx, dword [ebx + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x38]
cmp dword [eax + 8], 0
je 0x1010040c
push 0x20
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x10101e7e
mov ecx, dword [ebx + 0x38]
push 4
push dword [ecx + 8]
mov ecx, eax
call fcn.1010e06e
jmp 0x10101e80
xor eax, eax
mov ecx, dword [ebx + 0x38]
or dword [ebp - 4], 0xffffffff
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0xc], 0
je 0x1010040c
cmp byte [eax + 0x36], 0
je 0x1010211b
mov esi, dword [ebp - 0x104]
mov eax, dword [esi]
push 1
push 1
push esi
call dword [eax + 0x134]
xor edi, edi
cmp eax, edi
jl 0x101028af
mov eax, dword [esi]
push 0x14
push esi
call dword [eax + 0x158]
mov eax, dword [eax + 0x14]
cmp eax, edi
je 0x10101edb
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xe8], eax
jmp 0x10101ee1
mov dword [ebp - 0xe8], edi
mov eax, dword [esi]
push 0x16
push esi
call dword [eax + 0x158]
mov dword [ebp - 0xc0], edi
cmp dword [esi + 0xb2], edi
jbe 0x10102069
push dword [ebp - 0xc0]
mov ecx, esi
call fcn.1010e06e
movzx ecx, ax
mov eax, dword [ebx]
mov eax, dword [eax + 0xaa]
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xcc], edi
cmp eax, edi
je 0x10101f45
mov edx, dword [ebp - 0xe8]
mov edx, dword [edx]
lea eax, [eax + edx*4]
mov dword [ebp - 0xcc], eax
cmp eax, edi
je 0x10101f45
cmp dword [eax], edi
jne 0x10101f45
mov dword [ebp - 0xcc], edi
xor eax, eax
mov dword [ebp - 0xc8], edi
cmp ax, cx
jae 0x1010204a
jmp 0x10101f5a
xor edi, edi
fld1
fst dword [ebp - 0x118]
fst dword [ebp - 0x11c]
fst dword [ebp - 0x120]
fstp dword [ebp - 0xd0]
cmp dword [ebp - 0xcc], edi
je 0x10101fb5
movzx eax, word [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebx]
mov esi, dword [eax + 0x7e]
mov eax, dword [eax + 0x6a]
mov edx, ecx
imul edx, edx, 0xc
add esi, edx
lea edi, [ebp - 0x120]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
je 0x10101fd7
fld dword [eax + ecx*4]
fstp dword [ebp - 0xd0]
jmp 0x10101fd7
mov eax, dword [ebx]
mov eax, dword [eax + 0x8a]
cmp eax, edi
je 0x10101fd7
mov ecx, dword [ebp - 0xe8]
mov esi, dword [ecx]
imul esi, esi, 0xc
add esi, eax
lea edi, [ebp - 0x120]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebp - 0x120]
mov esi, dword [ebp - 0x104]
mov edi, dword [ebp - 0xc8]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x11c]
mov eax, dword [esi + 0xaa]
mov edx, dword [ebp - 0xc0]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x118]
movzx ecx, di
fstp dword [ebp - 0x18]
fld dword [ebp - 0xd0]
fstp dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
lea eax, [eax + ecx*4]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0xc]
call fcn.1010e06e
test eax, eax
je 0x1010040c
inc edi
mov dword [ebp - 0xc8], edi
cmp di, word [ebp - 0xf8]
jb 0x10101f58
xor edi, edi
add dword [ebp - 0xe8], 4
inc dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc0]
cmp eax, dword [esi + 0xb2]
jb 0x10101efe
mov ecx, dword [ebx + 0x38]
mov ecx, dword [ecx + 0xc]
mov eax, dword [esi]
push 1
push dword [ecx + 0x10]
push esi
call dword [eax + 0x124]
cmp eax, edi
jl 0x101028af
mov eax, dword [esi]
push esi
call dword [eax + 0x190]
cmp eax, edi
jl 0x101028af
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
cmp eax, edi
je 0x1010211b
mov ecx, dword [ebp - 0x104]
xor edx, edx
mov dword [ebp - 0xc8], edx
fld dword [eax + 0x1c]
mov edi, dword [ecx + 0x7e]
add edi, dword [ebp - 0xc8]
fstp dword [ebp - 0xf8]
fld dword [eax + 0x20]
add dword [ebp - 0xc8], 0xc
fstp dword [ebp - 0x110]
lea esi, [ebp - 0x120]
fld dword [eax + 0x24]
fstp dword [ebp - 0x12c]
fld dword [ebp - 0xf8]
fstp dword [ebp - 0x120]
fld dword [ebp - 0x110]
fstp dword [ebp - 0x11c]
fld dword [ebp - 0x12c]
fstp dword [ebp - 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [eax + 0x28]
mov esi, dword [ecx + 0x6a]
fstp dword [edx + esi]
mov eax, dword [eax]
add edx, 4
test eax, eax
jne 0x101020b1
xor eax, eax
cmp dword [ebp - 0xe4], eax
je 0x101023e9
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0xf4], eax
jle 0x101023e9
mov ecx, dword [ebx + 0x14]
mov edi, dword [ecx + eax*4]
mov dword [ebp - 0xe8], edi
test eax, eax
je 0x101023c3
mov esi, dword [ebp - 0x104]
mov eax, dword [esi]
and dword [ebp - 0xcc], 0
and dword [ebp - 0xc8], 0
push 0x14
push esi
call dword [eax + 0x158]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10102180
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x108], eax
jmp 0x10102187
and dword [ebp - 0x108], 0
mov eax, dword [esi]
push 0x16
push esi
call dword [eax + 0x158]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x100]
mov ecx, dword [ecx + eax*4]
push 1
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + eax*4]
push 1
push edi
mov dword [ebp - 0x110], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x194]
test eax, eax
js 0x101028af
mov eax, dword [0x1079d9f0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
mov dword [ebx + 0x28], eax
test eax, eax
je 0x1010040c
mov eax, dword [esi]
lea ecx, [edi + 0x384]
push ecx
push esi
call dword [eax + 0x158]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10102201
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xec], eax
jmp 0x10102208
and dword [ebp - 0xec], 0
and dword [ebp - 0xe4], 0
cmp dword [esi + 0xb2], 0
jbe 0x101023ab
push dword [ebp - 0xe4]
mov ecx, esi
call fcn.1010e06e
mov ecx, dword [ebp - 0xf8]
movzx eax, ax
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
lea ecx, [ecx + eax*4]
xor edi, edi
mov dword [ebp - 0xd0], ecx
cmp ecx, edi
je 0x10102259
cmp dword [ecx], edi
jne 0x10102259
mov dword [ebp - 0xd0], edi
mov ecx, dword [ebp - 0xc4]
test byte [ecx + 0x28], 0x10
je 0x101022a5
mov ecx, dword [ebx]
push eax
call fcn.1010e06e
cmp dword [ebp - 0xcc], eax
je 0x101022a5
mov dword [ebp - 0xc8], edi
xor edx, edx
lea ecx, [eax + 0x88]
movzx edi, word [ecx]
cmp edi, dword [ebp - 0xe8]
je 0x10102299
inc edx
add ecx, 0x60
cmp edx, 0x1a
jl 0x10102283
jmp 0x1010229f
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xcc], eax
xor edi, edi
cmp dword [ebp - 0x10c], edi
jle 0x10102386
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x1010231b
cmp dword [ebp - 0xcc], 0
mov eax, dword [eax]
mov eax, dword [eax + edi*4]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + eax*8]
mov dword [ebp - 0x138], edx
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x134], eax
je 0x10102341
push dword [ebp - 0xc8]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
lea edx, [ebp - 0x144]
push edx
lea edx, [ebp - 0x138]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x140]
jmp 0x1010233b
fldz
fst dword [ebp - 0x124]
fstp dword [ebp - 0x128]
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x134], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x12c]
push edx
lea edx, [ebp - 0x138]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x12c]
cmp eax, 0xffffffff
je 0x1010040c
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ecx + edx*4]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [ebp - 0x10c]
jl 0x101022b3
add dword [ebp - 0x108], 4
inc dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe4]
cmp eax, dword [esi + 0xb2]
jb 0x1010221c
mov edi, dword [ebp - 0xe8]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
push edi
push esi
push eax
call dword [ecx + 0x20]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x28], 0
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp eax, dword [ebp - 0xf4]
jl 0x1010213b
jmp 0x101023e9
push str.This_combination_of_e3_CONVERT.flags_not_yet_realized
call fcn.1010e06e
pop ecx
mov eax, dword [ebx + 0x38]
cmp dword [eax + 8], 0
je 0x10102402
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x38]
and dword [eax + 8], 0
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1010241a
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx + 0x38]
and dword [eax + 0xc], 0
pop ecx
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x1010242c
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
and dword [ebx + 0x10], 0
pop ecx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1010243e
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
and dword [ebx + 0xc], 0
pop ecx
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x10102450
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
and dword [ebx + 0x14], 0
pop ecx
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10102462
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
and dword [ebx + 0x18], 0
pop ecx
mov eax, dword [ebp - 0xc4]
cmp dword [eax + 0x18], 0
jle 0x10102830
mov eax, dword [eax + 8]
test eax, eax
je 0x101026ba
mov edi, dword [eax + 0x24]
push 0x10
push edi
call sym.rt3d.dll_public:_static_class_e3_COLLECTION____stdcall_e3_COLLECTION::Create_int__int_
mov dword [ebx + 0x44], eax
test eax, eax
je 0x1010040c
and dword [ebp - 0xcc], 0
test edi, edi
jle 0x101024cd
mov eax, dword [ebx + 0x44]
mov esi, dword [eax]
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 8]
push dword [ebp - 0xcc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
push dword [ebx + 0x44]
call dword [esi + 0x30]
inc dword [ebp - 0xcc]
cmp dword [ebp - 0xcc], edi
jl 0x1010249e
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x44]
and dword [ebp - 0xe4], 0
cmp dword [eax + 0x24], 0
jle 0x1010268b
mov eax, dword [ebx + 0x44]
push dword [ebp - 0xe4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push 0
push dword [ebp - 0xe4]
mov esi, eax
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax]
push eax
mov dword [ebp - 0xc8], esi
call dword [ecx + 0x20]
mov eax, dword [0x1079d9f0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa8]
mov dword [ebx + 0x40], eax
test eax, eax
je 0x1010040c
mov ecx, dword [esi]
push 1
push eax
push esi
call dword [ecx + 0xe4]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xf8], eax
cmp eax, 1
jle 0x1010264e
and dword [ebp - 0xf0], 0
test eax, eax
jle 0x1010263e
push 0x164
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x1010258d
mov ecx, dword [ebx]
push dword [ecx + 0x28]
mov ecx, eax
call fcn.100b8ecf
mov edi, eax
jmp 0x1010258f
xor edi, edi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1010040c
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x30]
test eax, eax
js 0x1010269d
push dword [ebp - 0xc8]
push edi
call fcn.1010e06e
mov eax, dword [edi + 0x148]
pop ecx
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x148], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax]
push 2
push dword [ebp - 0xf0]
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0xc8]
push eax
push edi
call fcn.1010e06e
test eax, eax
js 0x101028af
mov esi, dword [ebp - 0xf0]
push esi
lea eax, [ebp - 0x30]
push str.sub__02d
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
push edi
call dword [eax + 0x48]
inc esi
mov dword [ebp - 0xf0], esi
cmp esi, dword [ebp - 0xf8]
jl 0x10102561
mov esi, dword [ebp - 0xc8]
mov ecx, esi
call fcn.100b5cc0
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10102662
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x30]
test eax, eax
js 0x101026b0
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x10102673
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x40], 0
inc dword [ebp - 0xe4]
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [eax + 0x24]
jl 0x101024f0
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x44], 0
jmp 0x10102830
mov ecx, edi
call fcn.100b5cc0
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x1010040c
mov ecx, esi
call fcn.100b5cc0
push esi
jmp 0x101026a5
mov eax, dword [0x1079d9f0]
mov esi, dword [ebp - 0xc4]
mov ecx, dword [eax]
mov edi, dword [esi + 0xc]
push eax
call dword [ecx + 0xa8]
mov dword [ebx + 0x40], eax
test eax, eax
je 0x1010040c
mov ecx, dword [edi]
push 1
push eax
push edi
call dword [ecx + 0xe4]
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x24]
cmp ecx, 1
jle 0x10102810
xor ecx, ecx
mov dword [esi + 0xc], ecx
mov eax, dword [ebx + 0x40]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xf8], eax
mov dword [ebx + 0x40], ecx
mov dword [ebp - 0xf0], ecx
cmp eax, ecx
jle 0x10102800
push 0x164
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x1010274f
mov ecx, dword [ebx]
push dword [ecx + 0x28]
mov ecx, eax
call fcn.100b8ecf
mov dword [ebp - 0xdc], eax
jmp 0x10102756
and dword [ebp - 0xdc], 0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xdc], 0
je 0x1010040c
mov esi, dword [ebp - 0xdc]
mov eax, dword [esi + 0x148]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x148], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push edi
push esi
call fcn.1010e06e
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 8]
pop ecx
pop ecx
mov ecx, dword [eax]
push 2
push dword [ebp - 0xf0]
push eax
call dword [ecx + 0x10]
push eax
push esi
mov ecx, edi
call fcn.1010e06e
test eax, eax
js 0x101028af
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push esi
mov esi, dword [ebp - 0xf0]
push esi
push eax
call dword [ecx + 0x20]
push esi
lea eax, [ebp - 0x50]
push str.sub__02d
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
push edi
call dword [eax + 0x48]
inc esi
mov dword [ebp - 0xf0], esi
cmp esi, dword [ebp - 0xf8]
jl 0x1010271f
mov ecx, edi
call fcn.100b5cc0
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10102830
test eax, eax
je 0x10102830
test ecx, ecx
je 0x10102823
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x10]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x40], 0
mov esi, dword [ebp - 0xc4]
test dword [esi + 0x28], 0x100
je 0x101028ac
mov eax, dword [ebx]
xor edi, edi
cmp dword [eax + 0xee], edi
je 0x101028ac
cmp dword [eax + 0xf6], edi
je 0x101028ac
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x188]
mov dword [ebx + 0x1c], eax
cmp eax, edi
je 0x101028ac
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x10102894
cmp dword [ecx + 0x24], edi
jle 0x1010289f
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
push dword [ebx + 0x1c]
push eax
call fcn.1010e06e
pop ecx
pop ecx
test eax, eax
js 0x101028af
mov eax, dword [esi + 8]
inc edi
cmp edi, dword [eax + 0x24]
jl 0x10102870
jmp 0x1010289f
push eax
push dword [esi + 0xc]
call fcn.1010e06e
pop ecx
pop ecx
push dword [ebx + 0x1c]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
and dword [ebx + 0x1c], 0
pop ecx
xor eax, eax
inc eax
call fcn.1011354b
ret 8