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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov dword [esp + 0x40], ebx
mov eax, dword [ebx + 0x1d0]
mov esi, dword [ebx]
mov dword [esp + 0xf4], eax
mov eax, dword [ebx + 0x1d4]
mov dword [ebx + 0x1d0], eax
inc eax
mov dword [esp + 0x28], edi
mov dword [ebx + 0x1d4], eax
mov dword [esp + 0x34], esi
test edi, edi
je 0x10064700
cmp byte [esi + 0x40], 0
jne 0x10064700
cmp dword [ebx + 0x40], 0
jne 0x10064700
cmp byte [esi + 0x91], 0
jne 0x10064736
cmp byte [ebx + 0x1c3], 0
jne 0x10064736
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x10064736
push dword [ebx + 0x1ec]
push 0
push 0
push 0
push 0x15
push dword [esi + 0x120]
call eax
add esp, 0x18
cmp eax, 1
jne 0x1006470c
push 0x100d801c
push ebx
call fcn.10007210
add esp, 8
mov dword [ebx + 0xc], 0x17
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10064736
cmp eax, 2
je 0x10064700
push 0x100d7fc0
push ebx
call fcn.10007210
add esp, 8
mov dword [ebx + 0xc], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x30
lea eax, [esp + 0xc8]
push 0
push eax
call fcn.100a9260
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 8
ja 0x1006476c
mov edx, dword [edi + 0x30]
mov ecx, esi
call fcn.10034d70
mov eax, 0xfffe
mov dword [edi + 0x30], 0
and word [edi + 6], ax
push 0
mov edx, edi
mov ecx, ebx
call fcn.10063fc0
mov eax, dword [edi + 0x30]
xorps xmm0, xmm0
mov edx, dword [edi]
add esp, 4
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x20]
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jne 0x10066bf2
cmp byte [esi + 0x40], 0
jne 0x10066bf2
movzx eax, word [edi + 6]
mov ecx, ebx
shr eax, 2
and eax, 1
mov dword [esp + 0x24], eax
call fcn.1005f210
mov edx, dword [esp + 0x30]
mov esi, eax
mov dword [esp + 0x5c], esi
test esi, esi
je 0x10066be2
cmp dword [edx], 1
mov eax, dword [ebp + 8]
mov al, byte [eax]
jle 0x10064813
cmp al, 0xa
je 0x100647fc
cmp al, 0xb
jne 0x10064813
push 0x100d95c8
push ebx
call fcn.10007210
add esp, 8
mov esi, dword [esp + 0x34]
jmp 0x10066bea
mov ecx, dword [edi + 0x34]
xor eax, eax
mov dword [esp + 0x64], eax
test ecx, ecx
jne 0x100648c5
mov edx, dword [esp + 0x2c]
cmp eax, dword [edx]
jge 0x100648c5
lea edi, [eax + eax*4]
shl edi, 4
add edi, edx
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x54], eax
test eax, eax
je 0x100648ad
mov eax, dword [edi + 0x20]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10064917
test byte [edi + 0x30], 4
jne 0x100648ad
mov eax, dword [edi + 0x24]
mov edi, dword [esi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10064875
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x100648a9
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
mov ecx, dword [edi + 0x34]
inc eax
mov dword [esp + 0x64], eax
test ecx, ecx
je 0x10064828
mov eax, dword [edi]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x3c], eax
mov al, byte [edi + 6]
and al, 1
mov dword [esp + 0x50], edx
mov byte [esp + 0x84], al
test ecx, ecx
je 0x10064d68
push dword [ebp + 8]
mov edx, edi
mov ecx, ebx
call fcn.1005ffb0
mov ecx, dword [esp + 0xf8]
add esp, 4
mov dword [ebx + 0x1d0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], 0
call fcn.10033620
mov eax, dword [esp + 0x50]
mov ecx, ebx
add dword [ebx + 0x1cc], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
push eax
call fcn.10062630
add esp, 0xc
test eax, eax
je 0x10064988
cmp dword [esp + 0x14], 0
je 0x1006497c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], 1
or word [eax + 6], 4
or eax, 0xffffffff
mov dword [esp + 0x64], eax
jmp 0x10064d17
mov eax, dword [esp + 0x2c]
cmp dword [eax], 1
jne 0x10064b10
mov ecx, dword [esp + 0x34]
mov eax, pe_nt_image_headers32
test word [ecx + 0x3c], ax
jne 0x10064b10
mov eax, dword [esi + 0x20]
inc dword [ebx + 0x48]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x100649e0
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10064a19
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x14]
lea eax, [edx + 1]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10064a1d
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x24]
mov ecx, ebx
mov dword [edi + 0x20], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xfc], eax
mov al, byte [ebx + 0x1d4]
mov word [esp + 0xf8], 0xd
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov byte [edi + 0x34], al
lea eax, [esp + 0xf8]
push eax
call fcn.10064660
mov eax, dword [esp + 0x58]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.100085d0
mov ecx, dword [edi + 0x18]
add esp, 8
mov word [ecx + 0x1c], ax
or dword [edi + 0x30], 4
mov eax, dword [esp + 0x100]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x24]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10064ab2
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10064ae9
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x20]
dec eax
cmp edx, eax
jbe 0x10064b02
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
mov dword [eax + 0x58], ecx
jmp 0x10064d0c
inc dword [ebx + 0x48]
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x24], eax
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x54], edx
jg 0x10064b51
mov ecx, esi
call fcn.10021250
test eax, eax
je 0x10064b4a
mov edx, 1
mov dword [esp + 0x20], edx
jmp 0x10064b8c
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test byte [edi + 0x30], 2
lea eax, [edx + 1]
mov dword [edi + 0x20], eax
jne 0x10064c12
mov ecx, ebx
call fcn.1005f210
mov ecx, eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x14], eax
inc eax
mov dword [ebx + 0x50], eax
mov dword [esp + 0x50], ecx
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x1c], edx
cmp dword [eax + 0x54], edx
jg 0x10064bda
call fcn.10021250
test eax, eax
je 0x10064bd2
mov dword [esp + 0x1c], 1
jmp 0x10064c12
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x50]
inc dword [ecx + 0x20]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x2c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x38]
mov ecx, ebx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xfc], eax
mov al, byte [ebx + 0x1d4]
mov word [esp + 0xf8], 0xc
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov byte [edi + 0x34], al
lea eax, [esp + 0xf8]
push eax
call fcn.10064660
mov eax, dword [esp + 0x58]
add esp, 4
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.100085d0
mov ecx, dword [edi + 0x18]
add esp, 8
mov word [ecx + 0x1c], ax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10064c99
mov edx, dword [esi + 0x20]
cmp edx, eax
jbe 0x10064c90
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
mov dword [eax + 0x58], ecx
mov eax, dword [edi + 0x24]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10064cc2
mov ecx, esi
call fcn.10021250
test eax, eax
je 0x10064cbf
mov edi, 1
jmp 0x10064cf9
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
cmp dword [esi + 0x20], eax
jbe 0x10064d0c
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov dword [ebx + 0x38], 0
mov byte [ebx + 0x13], 0
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x40], 0
jne 0x10066be8
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x50]
mov ecx, edi
mov dword [esp + 0x50], 0
call fcn.10033620
mov eax, dword [esp + 0x50]
sub dword [ebx + 0x1cc], eax
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x2c], edx
cmp byte [eax], 8
jbe 0x100648b1
mov eax, dword [edi + 0x30]
mov dword [esp + 0x90], eax
jmp 0x100648b1
mov al, byte [edi + 6]
and al, 5
cmp al, 1
jne 0x10064e8b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x90]
push 0xffffffffffffffff
call fcn.10039d20
add esp, 4
test eax, eax
jne 0x10064e8b
mov edx, dword [edi]
mov eax, 0xfffe
mov ecx, dword [esp + 0x34]
and word [edi + 6], ax
push 0
call fcn.100344d0
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [edi + 0x28], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0xa4], 0xffffffff
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0xc
jne 0x10064e33
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x10064dff
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10064e33
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
call fcn.10021480
push eax
mov edx, edi
mov dword [esp + 0x110], eax
mov ecx, ebx
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0x7fffffff
call fcn.1005f2f0
add esp, 4
cmp dword [edi + 8], 0
jne 0x10064f69
mov ecx, dword [esp + 0xa4]
test ecx, ecx
js 0x10064f69
mov eax, dword [esi]
cmp byte [eax + 0x40], 0
je 0x10064f55
mov eax, 0x100e6748
jmp 0x10064f5e
mov edx, dword [esp + 0x90]
test edx, edx
je 0x10064dbd
push 0
push 0
mov ecx, ebx
call fcn.1005dcf0
mov dword [esp + 0x50], eax
add esp, 8
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x98], eax
mov dword [esp + 0x14], eax
inc eax
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
inc eax
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edx
jg 0x10064efd
mov ecx, esi
call fcn.10021250
test eax, eax
je 0x10064ef9
mov edx, 1
mov dword [esp + 0x20], edx
jmp 0x10064f35
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x4c]
mov ecx, esi
call fcn.100219a0
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0xa4], eax
jmp 0x10064dc8
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov byte [eax], 0x3a
or byte [esp + 0xa8], 1
test byte [edi + 6], 1
je 0x10065038
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x88], eax
inc eax
mov dword [ebx + 0x44], eax
mov edx, dword [edi]
push 0
push 0
call fcn.1005dcf0
mov edx, dword [esi + 0x20]
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x54], edx
jg 0x10064fc9
mov ecx, esi
call fcn.10021250
test eax, eax
je 0x10064fc5
mov edx, 1
mov dword [esp + 0x20], edx
jmp 0x10065001
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x1c]
mov ecx, esi
call fcn.100219a0
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x8c], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1006502e
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov byte [esp + 0x85], 3
jmp 0x10065040
mov byte [esp + 0x85], 0
cmp dword [esp + 0x24], 0
mov edx, dword [esp + 0x3c]
jne 0x10065194
test edx, edx
jne 0x10065194
xor eax, eax
mov ecx, 0x400
cmp byte [esp + 0x84], al
push edx
mov edx, dword [esp + 0x30]
cmovne eax, ecx
movzx eax, ax
mov ecx, ebx
push eax
push dword [edi]
push dword [esp + 0x9c]
push dword [esp + 0x88]
call fcn.100756d0
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1006480a
mov cx, word [eax + 0x20]
call fcn.10008680
cmp edx, dword [edi + 0x1c]
ja 0x100650b2
jb 0x100650ac
cmp eax, dword [edi + 0x18]
jae 0x100650b2
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
cmp byte [esp + 0x84], 0
je 0x100650da
mov eax, dword [esp + 0x1c]
movzx edx, byte [esp + 0x85]
mov cl, byte [eax + 0x28]
test cl, cl
movzx eax, cl
cmovne edx, eax
mov byte [esp + 0x85], dl
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x10065102
mov eax, dword [esp + 0x1c]
xor edx, edx
movsx eax, byte [eax + 0x24]
mov dword [esp + 0x94], eax
cmp eax, dword [ecx]
cmove ecx, edx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
test eax, eax
js 0x10065157
test ecx, ecx
jne 0x10065157
cmp eax, dword [esi + 0x20]
jge 0x10065157
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea edi, [eax + ecx*4]
mov ecx, dword [esi]
call fcn.100217a0
xorps xmm0, xmm0
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9a
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x28]
dec eax
cmp dword [esp + 0x14], eax
jne 0x10065157
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x1c]
mov edx, edi
mov ecx, ebx
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [esp + 0x8c]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xa0]
push eax
push 0xffffffffffffffff
push dword [esp + 0x48]
call fcn.1005ce90
mov ecx, dword [esp + 0x38]
add esp, 0x1c
call fcn.10076170
jmp 0x100668da
mov dword [esp + 0x68], 0
mov dword [esp + 0x24], 0
test edx, edx
je 0x100651f7
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jle 0x100651c8
add ecx, 0x16
xor esi, esi
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], si
test eax, eax
jg 0x100651b6
mov esi, dword [esp + 0x5c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
jle 0x100651e2
add ecx, 0x16
xor edx, edx
lea ecx, [ecx + 0x18]
dec eax
mov word [ecx - 0x18], dx
test eax, eax
jg 0x100651d4
cmp dword [edi + 0x1c], 0
ja 0x100651ee
cmp dword [edi + 0x18], 0x64
jbe 0x10065205
mov dword [edi + 0x18], 0x64
jmp 0x100651fe
mov dword [edi + 0x18], 1
mov dword [edi + 0x1c], 0
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
call fcn.10039d20
add esp, 4
mov ecx, 1
test eax, eax
mov dword [esp + 0x48], ecx
mov eax, 0
cmove eax, ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.10021480
mov ecx, dword [esp + 0x3c]
xorps xmm0, xmm0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x114], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x11c], eax
mov eax, dword [ebx + 0x48]
inc eax
mov dword [esp + 0x118], 0
movlpd qword [esp + 0x120], xmm0
movlpd qword [esp + 0x128], xmm0
mov dword [esp + 0x110], ebx
mov dword [esp + 0xd4], eax
test ecx, ecx
je 0x1006529a
mov eax, dword [ecx]
mov dword [esp + 0xd0], eax
jmp 0x100652a5
mov dword [esp + 0xd0], 0
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1006532d
cmp dword [ecx], 0
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
jle 0x1006532d
mov edi, eax
xor esi, esi
mov ebx, ecx
nop word [eax + eax]
mov edx, dword [edi]
lea eax, [esp + 0x110]
xorps xmm0, xmm0
mov dword [esp + 0xbc], 0
lea ecx, [esp + 0xac]
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0xac], 0x10039e70
mov dword [esp + 0xb0], 0x10003e10
mov dword [esp + 0xc0], eax
call fcn.10031000
inc esi
lea edi, [edi + 0x18]
cmp esi, dword [ebx]
jl 0x100652d0
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x100653ad
cmp dword [ecx], 0
mov eax, dword [ecx + 4]
jle 0x100653ad
mov ebx, eax
xor edi, edi
mov esi, ecx
nop word [eax + eax]
mov edx, dword [ebx]
lea eax, [esp + 0x110]
xorps xmm0, xmm0
mov dword [esp + 0xbc], 0
lea ecx, [esp + 0xac]
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0xac], 0x10039e70
mov dword [esp + 0xb0], 0x10003e10
mov dword [esp + 0xc0], eax
call fcn.10031000
inc edi
lea ebx, [ebx + 0x18]
cmp edi, dword [esi]
jl 0x10065350
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100653fe
lea ecx, [esp + 0x110]
mov dword [esp + 0xbc], 0
xorps xmm0, xmm0
mov dword [esp + 0xc0], ecx
mov edx, eax
movlpd qword [esp + 0xb4], xmm0
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], 0x10039e70
mov dword [esp + 0xb0], 0x10003e10
call fcn.10031000
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xe8], eax
mov dword [esp + 0x4c], 0
test ecx, ecx
jle 0x1006550f
mov cx, word [esp + 0x12c]
xor ebx, ebx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x60], ebx
nop dword [eax + eax]
mov eax, dword [esp + 0xec]
or cx, 8
mov word [esp + 0x12c], cx
mov eax, dword [eax + ebx]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x100654d4
mov edi, dword [eax + 4]
xor esi, esi
cmp dword [eax], esi
jle 0x100654d4
mov ebx, eax
nop dword [eax]
mov edx, dword [edi]
lea eax, [esp + 0x110]
xorps xmm0, xmm0
mov dword [esp + 0xbc], 0
lea ecx, [esp + 0xac]
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0xac], 0x10039e70
mov dword [esp + 0xb0], 0x10003e10
mov dword [esp + 0xc0], eax
call fcn.10031000
inc esi
lea edi, [edi + 0x18]
cmp esi, dword [ebx]
jl 0x10065470
mov cx, word [esp + 0x12c]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0x60]
mov eax, 0xfff7
add ebx, 0x10
and cx, ax
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x4c]
inc eax
mov word [esp + 0x12c], cx
mov dword [esp + 0x4c], eax
cmp eax, edx
jl 0x10065440
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0xf0]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x40], 0
jne 0x10066be8
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x1006648f
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0xc8], eax
inc eax
push 0
push 0
mov dword [ebx + 0x44], eax
call fcn.1005dcf0
mov edx, dword [esi + 0x20]
add esp, 8
mov dword [esp + 0x74], eax
mov ecx, edx
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1c], edx
cmp dword [eax + 0x54], edx
jg 0x10065597
mov ecx, esi
call fcn.10021250
test eax, eax
je 0x10065590
mov ecx, 1
mov dword [esp + 0x1c], ecx
jmp 0x100655d2
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x3a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x1c]
push 0xfffffffffffffffa
push dword [esp + 0x78]
mov edx, ecx
mov ecx, esi
call fcn.100219a0
mov eax, dword [ebx + 0x48]
add esp, 8
inc eax
mov ecx, esi
mov dword [esp + 0x58], eax
add eax, 2
mov dword [ebx + 0x48], eax
call fcn.10021480
inc dword [ebx + 0x48]
mov ecx, esi
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x48], eax
call fcn.10021480
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x20], eax
mov dword [ebx + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x64], eax
mov eax, dword [edx]
add eax, ecx
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x18], edx
cmp dword [eax + 0x54], edx
jg 0x10065656
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065692
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x58]
inc edx
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x54], ecx
jg 0x100656b5
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x100656ec
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [edx + 1]
mov edx, dword [esp + 0x58]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x20]
dec ecx
add eax, ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x6c], eax
mov edx, ecx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x54], ecx
jg 0x10065720
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065757
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [edx + 1]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x54], ecx
jg 0x10065775
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x100657a9
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x14], 0
mov ecx, 0x900
mov edx, dword [esp + 0x2c]
mov eax, pe_nt_image_headers32
cmovne eax, ecx
mov ecx, ebx
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x48]
push dword [esp + 0x88]
call fcn.100756d0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x78], edx
test edx, edx
je 0x1006480a
mov ecx, dword [esp + 0x3c]
movsx eax, byte [edx + 0x24]
cmp eax, dword [ecx]
jne 0x10065801
xor eax, eax
mov dword [esp + 0x44], eax
jmp 0x10065bff
cmp byte [esp + 0x84], 0
je 0x10065816
test byte [edi + 6], 1
mov edx, 0x100d9940
je 0x1006581b
mov edx, 0x100d994c
mov ecx, ebx
call fcn.1005dde0
cmp dword [esp + 0xe4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], 1
mov edi, dword [eax]
mov ecx, edi
mov dword [esp + 0x6c], edi
mov edx, edi
mov dword [esp + 0x7c], ecx
jle 0x10065890
mov edi, dword [esp + 0xe0]
mov ebx, edx
mov esi, dword [esp + 0xe4]
add edi, 0xc
nop dword [eax]
cmp dword [edi], edx
lea eax, [ebx + 1]
lea edi, [edi + 0x18]
cmovl eax, ebx
mov ebx, eax
lea eax, [edx + 1]
cmovl eax, edx
mov edx, eax
sub esi, 1
jne 0x10065860
mov esi, dword [esp + 0x5c]
mov ecx, ebx
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x80], eax
cmp ecx, edx
jg 0x100658ad
add eax, ecx
sub edx, ecx
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], edx
jmp 0x100658bf
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x80], edx
mov dword [ebx + 0x48], eax
mov ecx, ebx
call fcn.10037280
mov edx, dword [esp + 0x3c]
push 0
push dword [esp + 0x84]
call fcn.10038ed0
mov ecx, dword [esp + 0xec]
add esp, 8
mov dword [esp + 0x18], 0
test ecx, ecx
jle 0x100659ce
mov edx, dword [esp + 0x80]
add edx, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x68], edx
nop word [eax + eax]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0xe0]
cmp dword [eax + esi + 0xc], edi
mov esi, dword [esp + 0x5c]
jl 0x100659b8
mov ecx, dword [esp + 0x24]
push 0
push edx
push dword [eax + ecx + 4]
mov edx, dword [eax + ecx]
push dword [eax + ecx + 8]
mov ecx, ebx
call fcn.10037140
mov edx, dword [esp + 0x78]
add esp, 0x10
mov dword [esp + 0x10], eax
cmp edx, eax
je 0x100659a7
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x10065970
mov ecx, esi
call fcn.10021250
mov edx, dword [esp + 0x68]
test eax, eax
jne 0x100659a3
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x10]
mov word [eax + ecx*4], 0x22
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0xe4]
inc edi
inc edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], 0x18
inc eax
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x10065910
mov al, byte [ebx + 0x13]
test al, al
jne 0x100659dd
inc dword [ebx + 0x48]
mov edi, dword [ebx + 0x48]
jmp 0x100659e9
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x18]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x10065a0c
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065a42
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x80]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x10065a70
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065aa3
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
je 0x10065ad2
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x10065ad2
xor ecx, ecx
lea eax, [ebx + 0x74]
cmp dword [eax + 0xc], edi
je 0x10065ace
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x10065ab4
movzx eax, dl
mov dword [ebx + eax*4 + 0x18], edi
inc byte [ebx + 0x13]
jmp 0x10065ad2
mov byte [eax + 6], 1
mov edi, dword [esp + 0x7c]
mov ecx, ebx
mov edx, dword [esp + 0x80]
push edi
call fcn.10036f40
add esp, 4
cmp edi, dword [ebx + 0x38]
jle 0x10065afa
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x78]
call fcn.10076170
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0xcc], eax
inc eax
mov dword [ebx + 0x44], eax
mov al, byte [ebx + 0x13]
test al, al
jne 0x10065b24
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
jmp 0x10065b30
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x10065b57
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065b8a
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x68]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x3c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc8]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10065bb0
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065be7
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x6a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, ebx
mov byte [esp + 0xc5], 1
call fcn.10037280
mov edx, dword [esp + 0x78]
mov eax, 1
cmp dword [esp + 0x14], 0
je 0x10065c6d
mov ecx, dword [esp + 0x34]
test byte [ecx + 0x3c], 4
jne 0x10065c6d
test eax, eax
jne 0x10065c19
cmp byte [edx + 0x25], al
je 0x10065c6d
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x20]
jge 0x10065c6d
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea edi, [eax + ecx*4]
mov ecx, dword [esi]
call fcn.100217a0
xorps xmm0, xmm0
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9a
mov eax, dword [esi + 0x20]
dec eax
cmp dword [esp + 0x10], eax
jne 0x10065c6d
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
mov ecx, ebx
mov dword [esp + 0x6c], eax
call fcn.10037280
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10065ce4
mov eax, dword [esp + 0xc8]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10065ca9
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065ce0
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x64
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
xor edi, edi
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x10065d9d
xor ecx, ecx
mov dword [esp + 0x24], ecx
nop
test eax, eax
je 0x10065d5e
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x10065d27
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065d7d
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x2f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x68]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x64]
add eax, edi
mov dword [ecx + 0xc], eax
jmp 0x10065d7d
mov eax, dword [esp + 0x64]
mov byte [esp + 0xc4], 1
add eax, edi
mov edx, dword [edx + 4]
push eax
mov edx, dword [edx + ecx]
mov ecx, ebx
call fcn.10038df0
add esp, 4
mov edx, dword [esp + 0x3c]
inc edi
add dword [esp + 0x24], 0x18
mov eax, dword [esp + 0x44]
mov ecx, dword [edx]
cmp edi, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
jl 0x10065d00
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10065dab
inc dword [eax]
mov edi, dword [edx]
jmp 0x10065daf
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x10], edx
cmp dword [eax + 0x54], edx
jg 0x10065dd9
mov ecx, esi
call fcn.10021250
test eax, eax
je 0x10065dd2
mov edx, 1
jmp 0x10065e10
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x78]
mov ecx, esi
call fcn.100219a0
mov eax, dword [esi + 0x18]
add esp, 8
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x18], edi
cmp dword [eax + 0x54], edi
jg 0x10065e3f
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065e71
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x2b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
lea ecx, [eax + ecx*4]
lea eax, [edi + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [ebx + 8]
mov eax, dword [eax]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x10065e9c
mov ecx, edi
call fcn.10021250
test eax, eax
jne 0x10065ed2
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x20
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10065ed6
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
mov ecx, ebx
push edi
call fcn.10036f40
mov eax, dword [esi + 0x18]
add esp, 4
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x10065f00
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065f3e
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
lea ecx, [edi + edi*4]
mov dword [esi + 0x20], eax
add edx, 2
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x10065f59
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065f91
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x89
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x10065fac
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10065fe3
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x18]
cmp edx, eax
jbe 0x10065ffb
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
lea edx, [esp + 0xc4]
mov dword [eax + 0x58], ecx
mov ecx, ebx
call fcn.10064300
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x1006602d
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10066064
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x44], 0
je 0x100660cd
mov eax, dword [esp + 0xc8]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10066091
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x100660c8
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 5
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esi + 0x20]
jmp 0x1006611e
mov ecx, dword [esp + 0x78]
call fcn.10076170
mov edi, dword [esi + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, edi
jge 0x1006611e
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea edi, [eax + ecx*4]
mov ecx, dword [esi]
call fcn.100217a0
xorps xmm0, xmm0
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9a
mov edi, dword [esi + 0x20]
lea eax, [edi - 1]
cmp dword [esp + 0x1c], eax
jne 0x1006611e
mov dword [esi + 0x20], eax
mov edi, eax
mov eax, dword [esi + 0x18]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x10066136
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10066174
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
lea ecx, [edi + edi*4]
mov dword [esi + 0x20], eax
add edx, 2
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x1006618f
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x100661c6
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x14], edi
cmp dword [eax + 0x54], edi
jg 0x100661e5
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x1006621d
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
inc edx
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x10066238
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10066276
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
lea ecx, [edi + edi*4]
mov dword [esi + 0x20], eax
add edx, 2
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x60]
js 0x1006628f
mov edx, dword [edi + 0x70]
test edx, edx
je 0x1006628f
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x100662b1
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x100662e7
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x89
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea eax, [edi + 2]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x1006630a
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x1006634c
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x40]
lea eax, [edx + 1]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x20], eax
add edx, 2
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [esp + 0xc4]
mov ecx, ebx
call fcn.10064230
mov edx, dword [esp + 0x50]
inc edi
push 0x10
push edi
mov ecx, ebx
call fcn.100396b0
push dword [esp + 0x1c]
lea eax, [esp + 0x90]
mov ecx, ebx
push edi
push dword [ebp + 8]
mov edi, dword [esp + 0x3c]
mov edx, edi
push eax
lea eax, [esp + 0xa8]
push eax
push 0xffffffffffffffff
push dword [edi]
call fcn.1005ce90
mov eax, dword [esi + 0x18]
add esp, 0x24
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x100663b8
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x100663f6
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x40]
lea eax, [edx + 1]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x20], eax
add edx, 2
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
js 0x10066413
mov edx, dword [eax + 0x70]
test edx, edx
je 0x10066413
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xc4]
mov ecx, dword [esp + 0x10]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, ebx
call fcn.100640d0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x10066453
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x100668b2
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x48]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x12
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100668b2
cmp dword [edi + 0x24], 0
mov dword [esp + 0x74], 0
jne 0x10066969
mov eax, dword [edi]
cmp dword [eax], 1
jne 0x10066969
mov edx, dword [edi + 0x20]
cmp dword [edx], 1
jne 0x10066969
cmp dword [edx + 0x1c], 0
jne 0x10066969
mov edx, dword [edx + 0x18]
mov dword [esp + 0x1c], edx
test byte [edx + 0x2c], 0x10
jne 0x10066969
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp byte [eax], 0x9b
jne 0x10066969
test ecx, ecx
je 0x10066969
mov eax, dword [esp + 0xec]
mov ebx, pe_nt_image_headers32
mov eax, dword [eax + 4]
test word [eax + 2], bx
mov ebx, dword [esp + 0x40]
je 0x10066969
mov eax, dword [esp + 0x10]
test byte [eax + 4], 0x10
jne 0x10066969
mov edi, dword [edx + 0x44]
mov ecx, 0xfff0bdc0
mov dword [esp + 0x20], ecx
test edi, edi
je 0x10066551
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x14], ecx
jle 0x10066551
mov eax, dword [eax + 0x10]
mov esi, dword [ebx]
add eax, 0xc
nop dword [eax]
cmp dword [eax], edi
je 0x1006654d
inc ecx
add eax, 0x10
cmp ecx, dword [esi + 0x14]
jl 0x10066540
mov dword [esp + 0x20], ecx
mov eax, dword [ebx + 0x44]
xor edi, edi
mov dword [esp + 0x60], eax
mov esi, ebx
inc eax
mov dword [esp + 0x24], edi
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x198]
test eax, eax
cmovne esi, eax
shl dword [esp + 0x48], cl
mov eax, esi
mov dword [esp + 0x14], esi
mov esi, dword [eax + 0x14c]
test dword [esp + 0x48], esi
mov esi, dword [esp + 0x5c]
jne 0x100665d3
mov edx, dword [eax + 0x14c]
bts edx, ecx
mov dword [eax + 0x14c], edx
mov edx, ecx
mov eax, dword [eax]
add edx, edx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*8 + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [edx + ecx*4 + 0x150], eax
cmp ecx, 1
jne 0x100665cf
mov ecx, edx
call fcn.10045430
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push dword [edx]
push 0
push dword [edx + 0x20]
mov edx, ecx
mov ecx, ebx
call fcn.1003e6e0
mov edx, dword [esp + 0x28]
add esp, 0xc
test byte [edx + 0x2c], 0x20
je 0x10066614
mov edi, dword [edx + 8]
mov dword [esp + 0x24], edi
test edi, edi
je 0x10066614
nop dword [eax + eax]
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x10066610
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x10066600
mov dword [esp + 0x24], edi
mov eax, dword [edx + 8]
test eax, eax
je 0x1006664d
nop dword [eax + eax]
test byte [eax + 0x38], 4
jne 0x10066642
movzx ecx, word [eax + 0x30]
cmp cx, word [edx + 0x2a]
jge 0x10066642
cmp dword [eax + 0x24], 0
jne 0x10066642
test edi, edi
je 0x10066640
cmp cx, word [edi + 0x30]
jge 0x10066642
mov edi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10066620
mov dword [esp + 0x24], edi
test edi, edi
je 0x10066665
mov eax, dword [edi + 0x2c]
mov edx, edi
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10045eb0
mov dword [esp + 0x4c], eax
push 1
push dword [esp + 0x24]
mov edx, 0x36
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x6c]
call fcn.100213c0
mov eax, dword [esp + 0x5c]
add esp, 0x10
test eax, eax
je 0x100666cf
mov edx, dword [esi + 4]
mov ecx, dword [esi]
test edx, edx
je 0x100666c1
cmp byte [ecx + 0x40], 0
jne 0x100666c1
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.100217a0
mov eax, dword [esp + 0x50]
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
mov edi, dword [esp + 0x28]
jmp 0x100666cc
push eax
mov edx, 0xfffffffa
call fcn.100217a0
add esp, 4
mov eax, dword [esp + 0xec]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x10066700
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10066737
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x60]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x32
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x1006675a
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10066791
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x60]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebx + 0x1c2], 2
jne 0x10066865
mov ecx, dword [esp + 0x1c]
test edi, edi
je 0x100667be
test byte [ecx + 0x2c], 0x20
je 0x100667b5
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x100667be
mov eax, dword [edi]
mov edx, 1
jmp 0x100667c5
xor edx, edx
mov eax, 0x100d5b48
push eax
test edx, edx
mov eax, 0x100d9914
mov edi, 0x100d5b48
cmove eax, edi
push eax
push dword [ecx]
push 0x100d992c
push dword [ebx]
call fcn.100065c0
mov edi, dword [ebx + 8]
add esp, 0x14
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1d0]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x10], edx
cmp dword [eax + 0x54], edx
jg 0x1006681d
mov ecx, edi
call fcn.10021250
test eax, eax
je 0x10066819
mov edx, 1
jmp 0x10066855
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
inc dword [edi + 0x20]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x9b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push dword [esp + 0x1c]
mov ecx, edi
call fcn.100219a0
add esp, 8
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov ecx, ebx
push 0x10
push dword [esp + 0x58]
mov dword [esp + 0x98], 0
call fcn.100396b0
mov eax, dword [esp + 0x5c]
mov edx, edi
push eax
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0
push 0
push 0xffffffffffffffff
push dword [edi]
call fcn.1005ce90
mov edx, dword [esp + 0x98]
add esp, 0x24
mov ecx, dword [esp + 0x34]
call fcn.10034d70
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
js 0x100668cf
mov edx, dword [eax + 0x70]
test edx, edx
je 0x100668cf
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
dec eax
mov dword [ecx + 0x58], eax
cmp byte [esp + 0x85], 3
jne 0x100668f0
mov edx, 0x100d9940
mov ecx, ebx
call fcn.1005dde0
cmp dword [esp + 0x90], 0
je 0x10066933
cmp dword [esp + 0x94], 0
mov eax, 0x100d9970
mov edx, 0x100d9958
mov ecx, ebx
cmovle edx, eax
call fcn.1005dde0
mov eax, dword [esp + 0x30]
mov edx, edi
push dword [ebp + 8]
mov ecx, ebx
push dword [eax]
lea eax, [esp + 0x98]
push eax
call fcn.1005df60
add esp, 0xc
mov edx, dword [esi + 0x18]
or edi, 0xffffffff
sub edi, dword [esp + 0x10c]
js 0x1006694f
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x1006694f
mov eax, dword [esi + 0x20]
mov dword [ecx + edi*4], eax
mov eax, dword [esi + 0x20]
mov esi, dword [esp + 0x34]
dec eax
mov dword [edx + 0x58], eax
xor edi, edi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
jmp 0x10066bf7
cmp dword [edi + 0x2c], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x44], 0
jne 0x10066afe
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], eax
cmp ecx, 1
jne 0x10066ab9
mov eax, dword [esp + 0xec]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10066ab7
cmp dword [eax], 1
jne 0x10066ab7
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0x9c
jne 0x10066ab7
mov eax, dword [ecx + 8]
mov edx, 0x100d89fc
mov al, byte [eax]
mov byte [esp + 0x3b], al
mov cl, al
test al, al
je 0x10066a1d
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
sub ecx, edx
mov esi, ecx
nop dword [eax]
movzx ecx, byte [edx]
mov byte [esp + 0x73], al
movzx eax, al
mov al, byte [eax + 0x100dc190]
cmp al, byte [ecx + 0x100dc190]
jne 0x10066a15
mov al, byte [esi + edx + 1]
inc edx
mov cl, al
test al, al
jne 0x100669f0
jmp 0x10066a19
mov cl, byte [esp + 0x73]
mov esi, dword [esp + 0x5c]
movzx eax, cl
movzx ecx, byte [eax + 0x100dc190]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x100dc190]
sub ecx, eax
jne 0x10066a47
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], 1
mov dword [esp + 0x1c], eax
jmp 0x10066ab9
mov cl, byte [esp + 0x3b]
mov edx, 0x100d8a00
test cl, cl
je 0x10066a8d
mov al, cl
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 8]
sub ebx, edx
nop
movzx ecx, byte [edx]
mov byte [esp + 0x3b], al
movzx eax, al
mov al, byte [eax + 0x100dc190]
cmp al, byte [ecx + 0x100dc190]
jne 0x10066a85
mov al, byte [ebx + edx + 1]
inc edx
mov cl, al
test al, al
jne 0x10066a60
jmp 0x10066a89
mov cl, byte [esp + 0x3b]
mov ebx, dword [esp + 0x40]
movzx eax, cl
movzx ecx, byte [eax + 0x100dc190]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x100dc190]
sub ecx, eax
jne 0x10066ab7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], 2
mov dword [esp + 0x1c], eax
jmp 0x10066ab9
xor eax, eax
cmp byte [esp + 0x44], 0
je 0x10066afe
mov ecx, dword [esp + 0x34]
mov edx, eax
push 0
call fcn.100344d0
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x74], edx
test edx, edx
je 0x10066afe
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x40], 0
jne 0x10066afe
mov eax, dword [edx + 4]
cmp byte [esp + 0x44], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov byte [eax], 0x9a
lea edx, [esp + 0xc4]
mov ecx, ebx
call fcn.100640d0
mov eax, dword [esp + 0x44]
mov ecx, ebx
mov edx, dword [esp + 0x2c]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x88]
call fcn.100756d0
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10066b4d
mov esi, dword [esp + 0x34]
mov ecx, esi
mov edx, dword [esp + 0x74]
call fcn.10034d70
jmp 0x10066bea
lea edx, [esp + 0xc4]
mov ecx, ebx
call fcn.10064300
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x24], 0
jle 0x10066bc6
mov eax, dword [edx + 0x34]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], ecx
jg 0x10066b8f
mov ecx, esi
call fcn.10021250
test eax, eax
jne 0x10066bc6
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [edx + 1]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
call fcn.10076170
lea edx, [esp + 0xc4]
mov ecx, ebx
call fcn.10064230
jmp 0x10066869
mov esi, dword [esp + 0x34]
jmp 0x10066bee
mov esi, eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, 1
mov ecx, dword [esp + 0xf4]
mov dword [ebx + 0x1d0], ecx
test edi, edi
jne 0x10066c1d
mov ecx, dword [ebp + 8]
cmp byte [ecx], 9
jne 0x10066c1d
push edx
mov edx, eax
mov ecx, ebx
call fcn.1005e930
add esp, 4
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x10066c6b
cmp dword [esi + 0x208], 0
je 0x10066c3c
mov edx, ecx
mov ecx, esi
call fcn.10004740
jmp 0x10066c6b
cmp ecx, dword [esi + 0x114]
jb 0x10066c62
cmp ecx, dword [esi + 0x118]
jae 0x10066c62
mov eax, dword [esi + 0x110]
mov dword [ecx], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], ecx
jmp 0x10066c6b
push ecx
call fcn.100046a0
add esp, 4
mov edx, dword [esp + 0xec]
test edx, edx
je 0x10066cd2
cmp dword [esi + 0x208], 0
je 0x10066c8f
mov ecx, esi
call fcn.10004740
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xec]
cmp edx, dword [esi + 0x114]
jb 0x10066cc3
cmp edx, dword [esi + 0x118]
jae 0x10066cc3
mov eax, dword [esi + 0x110]
mov dword [edx], eax
mov eax, edi
dec dword [esi + 0xfc]
mov dword [esi + 0x110], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0xec]
call fcn.100046a0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret