Function at 0x1006f030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x102beb54]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, ecx
mov dword [esp + 8], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x5c], ecx
xor ecx, ecx
push esi
mov esi, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x41], cl
mov ecx, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], esi
push edi
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x38], edi
test esi, esi
jne 0x1006f0a3
mov ecx, eax
call fcn.100797d0
mov edx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x48], esi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x1c], eax
jne 0x1006f0c3
mov dword [esp + 0x30], 0
mov dword [esp + 0x4c], 1
jmp 0x1006f0f0
mov edx, dword [edx + 8]
mov dword [esp + 0x30], edx
test edx, edx
je 0x1006f0e8
nop
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x1006f0e0
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x1006f0d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x1006f310
xor edx, edx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp ecx, eax
je 0x1006f2f8
test edi, edi
je 0x1006f122
cmp dword [edi + ecx*4], 0
jl 0x1006f2f8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov al, byte [edx + eax + 0xc]
movzx edi, al
mov dword [esp + 0x20], edi
test al, al
je 0x1006f2f4
mov ah, byte [ebp + 0x20]
cmp ah, 0xa
jne 0x1006f153
cmp al, ah
jne 0x1006f153
mov edi, 2
jmp 0x1006f174
cmp ah, 0xa
movzx edi, ah
cmove edi, dword [esp + 0x20]
cmp edi, 5
jne 0x1006f174
mov eax, dword [esp + 0x2c]
cmp dword [edx + eax + 4], 0
mov eax, 2
cmove edi, eax
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x1006f180
jmp dword [eax*4 + 0x100704d4]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x10]
mov byte [ecx + 0x15], 1
mov eax, dword [eax + 4]
jmp 0x1006f1a4
mov eax, dword [esp + 0x2c]
push dword [edx + eax]
mov eax, dword [esp + 0x14]
push dword [eax]
push str._s._s
push dword [esp + 0x5c]
call fcn.100220d0
mov ecx, dword [esp + 0x34]
mov edx, 0x36
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
inc eax
add ecx, eax
push ecx
push edi
push 0x513
mov ecx, esi
call fcn.1003e6e0
mov ecx, dword [esi]
add esp, 0x1c
mov edx, dword [esp + 0x2c]
cmp byte [ecx + 0x45], 0
je 0x1006f1fb
push edx
mov edx, 0xfffffff9
call fcn.1003f280
add esp, 4
jmp 0x1006f210
mov eax, dword [esi + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x88]
mov edi, dword [esp + 0x38]
test eax, eax
jle 0x1006f22e
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x24]
jmp 0x1006f2f8
mov eax, dword [ebp + 0x14]
mov edx, 0x4b
push dword [ebp + 0x24]
inc eax
add eax, ecx
mov ecx, esi
push eax
call fcn.1003e830
add esp, 8
jmp 0x1006f2f0
mov edi, dword [ebp + 0x14]
mov edx, 0x4c
inc edi
add edi, ecx
mov ecx, esi
push edi
call fcn.1003e7c0
mov edx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov edx, dword [edx + eax + 4]
test edx, edx
je 0x1006f299
cmp byte [edx], 0x9d
jne 0x1006f299
mov eax, dword [esp + 0xc]
push edi
push dword [edx + 0x1c]
mov edx, 0x40
mov ecx, dword [eax + 8]
jmp 0x1006f2bc
mov ecx, dword [esp + 0xc]
push edi
call fcn.10058a70
add esp, 4
cmp eax, edi
je 0x1006f2c4
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1006f2c4
push edi
push eax
mov edx, 0x41
call fcn.1003e830
add esp, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x1006f2d5
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x1006f2e4
mov eax, 0x102c70c4
jmp 0x1006f2ed
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
add dword [esp + 0x28], 0x10
inc ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x1c]
jl 0x1006f104
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x1006f57d
mov eax, dword [esp + 0x50]
test dword [eax + 0x18], 0x200
jne 0x1006f57d
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0x14]
not eax
mov dword [ecx + 0x38], eax
mov al, byte [ebp + 0x20]
cmp al, 0xa
je 0x1006f350
movzx eax, al
mov dword [esp + 0x28], eax
jmp 0x1006f358
mov dword [esp + 0x28], 2
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [edx], ecx
jle 0x1006f572
lea eax, [edx + 0xc]
mov dword [esp + 0x18], 3
mov dword [esp + 0x34], eax
mov eax, dword [eax - 4]
mov dword [esp + 0x54], eax
test edi, edi
je 0x1006f3d9
mov dword [esp + 0x88], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x74], 0x1006eff0
mov dword [esp + 0x88], edi
test eax, eax
je 0x1006f3c2
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.10051100
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
cmp byte [ebp + 0x1c], 0
mov al, byte [esp + 0x84]
jne 0x1006f3d1
and al, 0xfd
test al, al
je 0x1006f55a
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
mov edi, dword [ecx + 0x44]
lea eax, [edi + 1]
mov dword [ecx + 0x44], eax
lea eax, [edi - 1]
test edi, eax
jne 0x1006f40e
mov edx, dword [ecx + 0x48]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.100203f0
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x1006f41c
mov dword [eax + edi*4], 0xffffffff
push 0x10
not edi
push edi
push dword [esp + 0x5c]
push dword [esp + 0x18]
call fcn.1005a1e0
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp eax, 4
jne 0x1006f49d
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1006f463
push 0
push dword [ebp + 0x24]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006f533
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
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
jmp 0x1006f533
mov edx, dword [esp + 0x34]
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x1006f4b5
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc]
cmp eax, 5
mov ecx, 2
cmove eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1006f4e6
mov ecx, edx
call fcn.100797d0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
cmp eax, 2
jne 0x1006f4f7
mov ecx, dword [edx + 0x78]
test ecx, ecx
cmovne edx, ecx
mov byte [edx + 0x15], 1
mov ecx, dword [esp + 0x1c]
mov edx, 0x37
push 0
push dword [esp + 0x30]
push 0
push eax
push 0x113
call fcn.1003eae0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [eax + 0x88]
test ecx, ecx
jle 0x1006f533
mov eax, dword [eax + 0x58]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x1006f552
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
inc ecx
add eax, 0x18
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
cmp ecx, dword [edx]
jl 0x1006f375
mov eax, dword [esp + 0xc]
mov dword [eax + 0x38], 0
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x68], 0x4e
je 0x1006f946
cmp dword [esp + 0x30], 0
jne 0x1006f946
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
mov edi, dword [ecx + 0x44]
lea eax, [edi + 1]
mov dword [ecx + 0x44], eax
lea eax, [edi - 1]
test edi, eax
jne 0x1006f5cf
mov edx, dword [ecx + 0x48]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.100203f0
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x1006f5dd
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [esp + 0x10]
not edi
mov dl, byte [ebp + 0x20]
mov dword [esp + 0x20], edi
movzx eax, byte [ecx + 0x30]
cmp dl, 0xa
je 0x1006f5f8
movzx eax, dl
jmp 0x1006f603
cmp eax, 0xa
mov edx, 2
cmove eax, edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x1006f680
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1006f632
push edx
push edi
push dword [ebp + 0x14]
mov edx, 0x4e
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006f662
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x1006f67c
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x1c], 5
jne 0x1006f719
cmp byte [ebp + 0x20], 5
je 0x1006f719
mov eax, dword [ecx + 8]
test eax, eax
je 0x1006f719
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x1006f6b6
cmp cl, 3
je 0x1006f6b6
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1006f6a0
jmp 0x1006f719
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x58], edx
cmp dword [eax + 0x30], edx
jg 0x1006f6e3
push 0
push 0
push 0
mov edx, 0xd
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x1006f719
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
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 + 0xc]
mov ecx, dword [esi + 0x88]
mov edx, dword [ebp + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x1006f740
push dword [ebp + 0x14]
mov ecx, esi
push edi
push edx
mov edx, 0x20
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006f76d
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x1006f77d
jmp dword [ecx*4 + 0x100704e4]
mov eax, dword [esp + 0x50]
xor edi, edi
test dword [eax + 0x18], 0x2000
je 0x1006f7d9
mov ecx, dword [esp + 0xc]
xor edx, edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x1006f7af
mov edx, dword [esp + 0x10]
call fcn.100810d0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x1006f7c8
cmp byte [ecx + 8], 0x6d
jne 0x1006f7c1
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1006f7b5
xor eax, eax
test edi, edi
cmovne eax, edx
mov dword [esp + 0x2c], eax
mov edi, eax
test eax, eax
jne 0x1006f82e
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
push 0
call fcn.1006cc30
add esp, 8
test eax, eax
jne 0x1006f82e
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], eax
je 0x1006f862
mov edi, dword [esp + 0xc]
mov ecx, edi
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov eax, dword [edi + 0x78]
test eax, eax
push dword [ebp + 0xc]
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.100671a0
mov edi, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x5c], 1
jmp 0x1006f893
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x78]
test eax, eax
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x2c]
push edi
call fcn.10066d50
add esp, 0x24
mov edi, dword [esp + 0x20]
mov dword [esp + 0x5c], 1
jmp 0x1006f893
mov edx, dword [ebp + 0x24]
mov ecx, esi
call fcn.1003e8a0
jmp 0x1006f893
mov eax, 2
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.10064f10
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x1006f8ae
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov edi, dword [esp + 0x58]
test edi, edi
je 0x1006f946
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x60], ecx
cmp dword [eax + 0x30], ecx
jg 0x1006f8e7
push 0
push 0
push 0
mov edx, 0xd
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x1006f91d
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
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]
mov edx, dword [esi + 0x88]
cmp byte [eax + 0x45], 0
je 0x1006f932
mov eax, 0x102c70c4
jmp 0x1006f943
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10070423
mov edx, dword [esp + 0x40]
xor ecx, ecx
nop word [eax + eax]
cmp dword [edx + ecx*4], 0
je 0x1007040f
cmp byte [esp + 0x45], 0
jne 0x1006f997
mov eax, dword [ebp + 0x14]
mov edx, edi
inc eax
mov ecx, esi
push eax
call fcn.1006d960
add esp, 4
mov byte [esp + 0x45], 1
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x34], ecx
lea eax, [ecx + 1]
mov dword [edi + 0x44], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1006f9cc
mov edx, dword [edi + 0x48]
lea eax, [ecx*8 + 4]
mov ecx, dword [edi]
push 0
push eax
call fcn.100203f0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x48]
test eax, eax
je 0x1006f9da
mov dword [eax + ecx*4], 0xffffffff
mov edi, dword [esp + 0x14]
not ecx
mov dword [esp + 0x34], ecx
cmp dword [edi + 0x24], 0
je 0x1006faba
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1006fa1d
push 0
push edx
push 0
mov edx, 0x3b
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006fa53
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x3b
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 + 0xc]
mov eax, dword [ebp + 0x14]
not eax
mov dword [ecx + 0x38], eax
mov edx, dword [edi + 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x1006fa86
push 0
push 0
mov ecx, eax
call fcn.100549d0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x34]
add esp, 8
jmp 0x1006fa88
xor edi, edi
cmp byte [eax + 0x45], 0
jne 0x1006faa2
push 0x10
push dword [esp + 0x38]
push edi
push ecx
call fcn.1005a510
mov eax, dword [esp + 0x3c]
add esp, 0x10
test edi, edi
je 0x1006faaf
mov edx, edi
mov ecx, eax
call fcn.100547e0
mov eax, dword [esp + 0xc]
mov dword [eax + 0x38], 0
mov eax, dword [esp + 0x18]
xor edi, edi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], edi
mov edx, dword [ecx + eax*4]
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x34]
mov ecx, eax
cmp di, ax
jae 0x1006fc38
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
jmp 0x1006fb04
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movsx edx, word [eax + edi*2]
cmp edx, 0xfffffffe
jne 0x1006fb8b
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + ecx + 8]
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x1006fb4f
push 0
push 0
mov ecx, eax
call fcn.100549d0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x2c]
jmp 0x1006fb51
xor edi, edi
cmp byte [eax + 0x45], 0
jne 0x1006fb6e
mov ecx, dword [esp + 0x28]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.10059e00
mov eax, dword [esp + 0x30]
add esp, 4
test edi, edi
je 0x1006fb7b
mov edx, edi
mov ecx, eax
call fcn.100547e0
mov eax, dword [esp + 0xc]
mov dword [eax + 0x38], 0
jmp 0x1006fc0b
cmp edx, 0xffffffff
je 0x1006fba4
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x1006fba4
mov edi, dword [ebp + 0x14]
inc edi
add edi, edx
jmp 0x1006fba7
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
sar edx, 0x1f
and edx, 1
add edx, 0x41
cmp dword [eax + 0x30], ecx
jg 0x1006fbd2
mov ecx, dword [esp + 0x28]
push 0
push ecx
push edi
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006fc0b
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 0x10], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov byte [eax + 1], 0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
add dword [esp + 0x1c], 0x18
inc edi
inc dword [esp + 0x28]
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x3c], edi
cmp edi, ecx
jl 0x1006fb00
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov edx, dword [edx + eax*4]
mov eax, dword [esi + 0xc]
movzx edi, cx
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1006fc60
push edx
push edi
push dword [esp + 0x40]
mov edx, 0x63
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006fc92
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
je 0x1006fcda
cmp edx, eax
jne 0x1006fcda
cmp byte [ebp + 0x1c], 0
jne 0x1006fcda
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x10070407
mov eax, dword [esp + 0x34]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
jmp 0x10070407
movzx ecx, byte [eax + 0x36]
test ecx, ecx
je 0x1006fcaa
cmp byte [ebp + 0x20], 0xa
je 0x1006fcee
movzx ecx, byte [ebp + 0x20]
jmp 0x1006fcf9
cmp ecx, 0xa
mov edi, 2
cmove ecx, edi
cmp dword [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
jne 0x1006fda9
cmp dword [eax + 0x14], 0
jne 0x1006fda9
cmp edx, eax
jne 0x1006fda9
cmp ecx, 5
jne 0x1006fda9
mov eax, dword [esp + 0x50]
test dword [eax + 0x18], 0x2000
je 0x1006fd76
mov ecx, dword [esp + 0xc]
xor edi, edi
xor edx, edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x1006fd4e
mov edx, dword [esp + 0x10]
call fcn.100810d0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x1006fd67
cmp byte [ecx + 8], 0x6d
jne 0x1006fd60
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1006fd54
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x1006fda9
mov eax, dword [esp + 0x50]
test dword [eax + 0x18], 0x4000
mov edi, dword [esp + 0x10]
je 0x1006fcae
cmp dword [edi + 0x10], 0
jne 0x1006fda9
mov ecx, dword [edi + 0x48]
mov edx, dword [edi]
add ecx, 0x38
push 0
call fcn.100243f0
add esp, 4
cmp dword [eax + 8], 0
je 0x1006fcae
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x20], edx
movzx edi, word [eax + 0x32]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x54], edi
cmp dword [eax + 0x30], edx
jg 0x1006fdea
push dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov edx, 0x1c
push dword [esp + 0x38]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.1003e6a0
add esp, 0xc
mov edx, eax
jmp 0x1006fe2f
mov edi, dword [esp + 0x18]
lea eax, [edx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x1006fe46
mov eax, dword [esi + 0x58]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x30]
jne 0x1006fe5a
mov edi, dword [esp + 0x38]
mov dword [esp + 0x24], edi
jmp 0x1006feb8
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
cmp eax, 1
jne 0x1006fe87
mov al, byte [edx + 0x13]
test al, al
jne 0x1006fe76
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x1006feb0
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x15c]
jmp 0x1006feb0
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x24], edi
cmp eax, ecx
jg 0x1006fea3
add eax, edi
sub ecx, dword [esp + 0x4c]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x1006feb4
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x4c]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x18], 0
jne 0x1006fec9
cmp dword [esp + 0x2c], 5
jne 0x10070253
mov eax, dword [esp + 0x10]
test byte [eax + 0x24], 0x20
jne 0x1006ffc2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1006ff01
mov eax, dword [esp + 0x18]
mov edx, 0x81
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006ff3e
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x81
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
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x10070253
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1006ff6e
push edx
push dword [esp + 0x38]
mov edx, 0x4e
mov ecx, esi
push edi
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006ff9f
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x10070253
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x10070253
mov edi, dword [esp + 0x30]
cmp edx, edi
je 0x100700be
mov eax, dword [esp + 0x30]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x3c], edi
cmp cx, word [eax + 0x32]
jae 0x100700ba
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
nop dword [eax]
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x1007001d
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
nop dword [eax]
cmp di, word [eax]
je 0x10070054
inc ecx
add eax, 2
cmp ecx, edx
jl 0x10070010
or eax, 0xffffffff
mov ecx, dword [esi + 0x88]
movsx edx, ax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x30], ecx
jg 0x10070059
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov eax, dword [esp + 0x18]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x60
call fcn.1003e6a0
add esp, 0xc
jmp 0x10070096
movzx eax, cx
jmp 0x10070020
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x60
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 + 0x30]
inc edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x1c], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jl 0x1006fff0
mov edi, dword [esp + 0x30]
cmp dword [ebp + 0x18], 0
je 0x10070253
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x88]
add eax, ecx
mov dword [esp + 0x3c], 0x4d
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x24]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x38]
mov dword [esp + 0x6c], edx
xor edx, edx
mov dword [esp + 0x28], edx
test ecx, ecx
je 0x10070253
mov eax, dword [edi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x42]
mov byte [esp + 0x46], al
mov al, byte [ecx + 0x99]
mov byte [esp + 0x47], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x4e]
call fcn.100659e0
add esp, 8
mov edi, eax
cmp byte [esp + 0x47], 0
jne 0x1007015e
test edi, edi
je 0x10070147
cmp dword [edi + 0xc], 0
jne 0x1007015e
push dword [esp + 0x20]
mov dl, byte [esp + 0x4a]
mov ecx, dword [esp + 0x10]
push edi
call fcn.100657a0
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x3c]
dec ecx
cmp dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x18]
cmove eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
cmovne eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], eax
add ecx, edx
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x6c]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x54], ecx
cmp dword [eax + 0x30], edx
jg 0x100701d3
push dword [esp + 0x20]
mov edx, dword [esp + 0x40]
push dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
mov edx, eax
jmp 0x10070213
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
push 0xfffffffffffffffe
push edi
mov ecx, esi
call fcn.1003f4e0
mov eax, dword [esi + 0x88]
add esp, 8
test eax, eax
jle 0x1007023a
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x28], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x10070102
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x100702ef
cmp edx, 3
jbe 0x100702d8
cmp edx, 4
jne 0x100702ef
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007029a
push 0
push dword [ebp + 0x24]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.1003e6a0
mov edi, dword [esp + 0x18]
add esp, 0xc
jmp 0x100703a4
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov edi, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
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
jmp 0x100703a4
push dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.10064c90
add esp, 4
jmp 0x100703a4
mov edi, dword [esp + 0xc]
xor edx, edx
mov ecx, edi
mov eax, dword [edi + 0x78]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x50]
mov byte [ecx + 0x14], 1
test dword [eax + 0x18], 0x2000
je 0x10070360
mov ecx, dword [esp + 0xc]
xor edi, edi
mov dword [esp + 0x20], edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x20000
je 0x10070334
mov edx, dword [esp + 0x10]
call fcn.100810d0
mov edx, eax
mov dword [esp + 0x20], eax
mov ecx, edx
test edx, edx
je 0x10070353
nop word [eax + eax]
cmp byte [ecx + 8], 0x6d
jne 0x1007034c
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x10070340
xor edx, edx
test edi, edi
mov edi, dword [esp + 0xc]
cmovne edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, edi
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x18], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x5c]
push dword [esp + 0x38]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x34]
call fcn.10066d50
mov esi, dword [esp + 0x6c]
add esp, 0x24
mov dword [esp + 0x5c], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x100703c3
mov eax, dword [esp + 0x34]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x38]
je 0x100703ff
mov ecx, dword [esp + 0x4c]
mov edx, eax
cmp ecx, 1
jne 0x100703e1
mov ecx, edi
call fcn.1005b1c0
jmp 0x100703ff
push ecx
mov ecx, edi
call fcn.100584b0
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, dword [edi + 0x1c]
jle 0x100703ff
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x20], eax
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x1006f970
mov eax, dword [esp + 0x58]
test eax, eax
je 0x100704b5
mov ecx, dword [esi + 0x88]
lea edi, [eax + 1]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x10070456
push 0
push edi
push 0
mov edx, 0xd
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
jmp 0x10070488
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x88]
cmp byte [eax + 0x45], 0
je 0x1007049d
mov eax, 0x102c70c4
jmp 0x100704b2
mov ecx, dword [esp + 0x60]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret