Function at 0x1006c2f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x1017c52c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
movzx eax, byte [ebp + 0x90]
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebx + 0xc], eax
mov eax, 0x78787879
mov ecx, dword [ebx + 0x234]
sub ecx, dword [ebx + 0x230]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101c2790]
divsd xmm0, qword [0x101c1860]
movsd qword [ebp - 0x80], xmm0
fld qword [ebp - 0x80]
fstp qword [esp]
call fcn.1014b360
add esp, 8
fstp qword [ebp - 0x80]
movsd xmm0, qword [ebp - 0x80]
call fcn.1004a6f0
cvttsd2si eax, xmm0
mov ecx, ebx
mov dword [ebx + 0x10], eax
call fcn.1006bd50
xor esi, esi
nop
mov ecx, dword [ebx + 0x234]
mov eax, 0x78787879
sub ecx, dword [ebx + 0x230]
imul ecx
mov eax, dword [ebx + 0xc]
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
lea edx, [eax*8]
sub edx, eax
lea eax, [edi - 1]
lea ecx, [edx - 7]
lea ecx, [esi + ecx*2]
cmp ecx, eax
ja 0x1006d509
lea eax, [esi + 1]
mov dword [ebp - 0x88], eax
cmp edi, eax
jb 0x1006d509
add edx, 0xfffffff9
lea ecx, [ebx + 0x22c]
mov dword [ebp - 0x38], ecx
lea eax, [esi + edx*2]
push eax
mov dword [ebp - 0x34], eax
call fcn.1006e010
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1006d4fa
mov eax, 0x10624dd3
mul ecx
mov ecx, dword [0xf3e688]
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x101ba7a4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1006d4fa
mov edi, dword [ebp + 0xac]
lea ecx, [ebp + 0x98]
mov ebx, dword [ebp + 0x98]
cmp edi, 0x10
mov edx, dword [ebp + 0xa8]
push 0
cmovae ecx, ebx
push 0x101b8c74
call fcn.10065ca0
add esp, 8
test al, al
jne 0x1006cd89
sub esp, 0x1c
lea eax, [ebp + 0x94]
mov ecx, esp
mov dword [ebp - 0x84], esp
push eax
call fcn.10047950
mov ebx, dword [ebp - 0x30]
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
lea edi, [ebx + 8]
push edi
call fcn.10047950
mov byte [ebp - 4], 0
call fcn.100da1e0
test al, al
je 0x1006cd7d
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
call fcn.1006e010
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x40], ebx
call fcn.1006e010
add eax, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10047950
lea eax, [esi + esi*8]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov esi, dword [esi + eax*4 + 0x18]
mov byte [ebp - 4], 2
test esi, esi
je 0x1006c50b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c50b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c52c
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
lea ecx, [ebp - 0x28]
push edi
call fcn.10047950
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov esi, dword [eax + esi*4 + 0x1c]
mov byte [ebp - 4], 3
test esi, esi
je 0x1006c587
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c587
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c5a8
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
mov ecx, dword [ebp - 0x38]
add esp, 8
push dword [ebp - 0x34]
call fcn.1006e010
movzx ecx, byte [ebx + 4]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x1006c880
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x1006c880
cmp ecx, 0x2c
ja 0x1006c880
mov ecx, dword [ecx*4 + 0xf3e690]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
mov edx, esi
sub edx, eax
cmp esi, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101ba7a8]
mov edi, eax
test edi, edi
je 0x1006c880
cmp dword [edi + 0x20], 0
jbe 0x1006c76a
lea ecx, [edi + 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10047950
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebx + eax*4 + 0x1c]
mov byte [ebp - 4], 4
test esi, esi
jne 0x1006c6bd
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c691
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
jmp 0x1006c76d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1006c714
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c6eb
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
jmp 0x1006c76d
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c741
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
jmp 0x1006c76d
mov ebx, dword [ebp - 0x2c]
mov eax, dword [edi]
xor edx, edx
mov ecx, 0xa
div ecx
test edx, edx
je 0x1006cafd
push edx
lea eax, [ebp + 0x6c]
push 0x101bca90
push eax
call fcn.10052fe0
lea eax, [ebp - 0x59]
mov dword [ebp - 0x28], 0
push 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x8c], eax
call fcn.10048f80
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x90], eax
add esp, 0x10
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x6c]
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006c7f0
sub ecx, edx
lea eax, [ebp + 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10048350
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], 0
mov esi, dword [ebx + eax*4 + 0x20]
mov byte [ebp - 4], 6
test esi, esi
je 0x1006c838
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c838
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c859
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push ebx
call fcn.1006e010
mov ecx, str.Sell
cmp byte [eax], 0
mov eax, 0x101bca9c
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10047780
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov esi, dword [eax + ecx*4 + 0x24]
mov byte [ebp - 4], 9
test esi, esi
je 0x1006c8d2
push 4
push esi
call edi
test eax, eax
jne 0x1006c8d2
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c8f3
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
mov ecx, dword [ebp - 0x38]
add esp, 8
push ebx
call fcn.1006e010
lea esi, [ebp + 0x81]
mov ebx, dword [eax + 0x28]
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x1006c930
push ecx
lea eax, [ebp + 0x81]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1004fa40
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebx + eax*4 + 0x28]
mov byte [ebp - 4], 0xa
test esi, esi
je 0x1006c98b
push 4
push esi
call edi
test eax, eax
jne 0x1006c98b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c9ac
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
mov edi, dword [ebp - 0x34]
lea ecx, [ebx + 0x22c]
add esp, 8
push edi
call fcn.1006e010
push 0x2e
lea ecx, [ebx + 0x22c]
push edi
cmp byte [eax + 0x30], 0
je 0x1006cc35
call fcn.1006e010
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.100f6ec0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1006ca16
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x101c1970]
push ecx
movups xmmword [ebp + 0x70], xmm0
xor ecx, ecx
mov al, byte [ebp + 0x70]
xor byte [ebp + ecx + 0x71], al
inc ecx
cmp ecx, 0xe
jb 0x1006ca24
sub esp, 0x1c
mov byte [ebp + 0x7f], 0
lea eax, [ebp + 0x71]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x28]
push eax
call fcn.1004a910
mov eax, dword [ebp - 0x30]
add esp, 0x24
mov esi, dword [ebx + eax*4 + 0x2c]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x1006ca77
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006ca77
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006ca94
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1006cadc
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
jmp 0x1006cd46
lea eax, [ebp - 0x5a]
mov dword [ebp - 0x28], 0
push 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x94], eax
call fcn.10048f80
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x98], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
push 1
push 0x101bca64
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10048350
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x98], 0
mov esi, dword [ebx + eax*4 + 0x20]
mov byte [ebp - 4], 8
test esi, esi
je 0x1006c838
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
je 0x1006cbdc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006cbb0
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
jmp 0x1006c886
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006cc09
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
jmp 0x1006c886
call fcn.1006e010
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.100f6ec0
mov byte [ebp - 4], 0xd
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1006cc56
mov ecx, dword [ecx]
push ecx
mov cl, 0x75
mov dword [ebp + 0x60], 0x55065075
mov dword [ebp + 0x64], 0x1b1c1a16
xor eax, eax
mov word [ebp + 0x68], 6
nop
xor byte [ebp + eax + 0x61], cl
inc eax
cmp eax, 8
jae 0x1006cc7f
mov cl, byte [ebp + 0x60]
jmp 0x1006cc70
sub esp, 0x1c
mov byte [ebp + 0x69], 0
lea eax, [ebp + 0x61]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x78]
push eax
call fcn.1004a910
mov eax, dword [ebp - 0x30]
add esp, 0x24
mov esi, dword [ebx + eax*4 + 0x2c]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x1006ccc5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006ccc5
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x78]
call fcn.100448c0
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x1006cce2
inc eax
push eax
push dword [ebp - 0x74]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x78]
push 8
push eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
call fcn.10049010
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.100448c0
mov eax, dword [ebp + 0x34]
cmp eax, 0x10
jb 0x1006cd2a
inc eax
push eax
push dword [ebp + 0x20]
call fcn.10049010
add esp, 8
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
mov dword [ebp + 0x1c], 0
push 8
push eax
call fcn.10049010
mov esi, dword [ebp - 0x30]
add esp, 8
mov ecx, dword [ebx + esi*4 + 0x30]
test ecx, ecx
je 0x1006cd64
push 1
call dword [0x101ba7a0]
mov ecx, dword [ebx + esi*4 + 0x34]
test ecx, ecx
je 0x1006d4fa
push 1
call dword [0x101ba7a0]
jmp 0x1006d4fa
mov edi, dword [ebp + 0xac]
mov ebx, dword [ebp + 0x98]
mov edx, dword [ebp + 0xa8]
lea ecx, [ebp + 0x98]
cmp edi, 0x10
push 0
cmovae ecx, ebx
push 0x101b8c74
call fcn.10065ca0
add esp, 8
test al, al
je 0x1006d4f7
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
call fcn.1006e010
add eax, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10047950
mov eax, dword [ebp - 0x2c]
lea ebx, [esi + esi*8]
mov dword [ebp - 0x84], ebx
mov esi, dword [eax + ebx*4 + 0x18]
mov byte [ebp - 4], 0xf
test esi, esi
je 0x1006cdfa
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006cdfa
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006ce1b
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
add esp, 8
lea eax, [edi + 8]
push eax
call fcn.10047950
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + ebx*4 + 0x1c]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x1006ce79
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006ce79
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006ce9a
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
mov ecx, dword [ebp - 0x38]
add esp, 8
push dword [ebp - 0x34]
call fcn.1006e010
movzx ecx, byte [edi + 4]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x1006d146
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x1006d146
cmp ecx, 0x2c
ja 0x1006d146
mov ecx, dword [ecx*4 + 0xf3e690]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
mov edx, esi
sub edx, eax
cmp esi, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101ba7a8]
mov edi, eax
test edi, edi
je 0x1006d146
cmp dword [edi + 0x20], 0
jbe 0x1006cfc0
lea ecx, [edi + 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10047950
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + ebx*4 + 0x1c]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x1006cf78
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006cf78
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006cf99
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
mov eax, dword [edi]
xor edx, edx
mov ecx, 0xa
div ecx
test edx, edx
je 0x1006d06f
push edx
lea eax, [ebp + 0x6c]
push 0x101bca90
push eax
call fcn.10052fe0
lea eax, [ebp - 0x5b]
mov dword [ebp - 0x28], 0
push 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x9c], eax
call fcn.10048f80
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xa0], eax
add esp, 0x10
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x6c]
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d042
sub ecx, edx
lea eax, [ebp + 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10048350
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], 0
mov esi, dword [eax + ebx*4 + 0x20]
mov byte [ebp - 4], 0x13
jmp 0x1006d0e1
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x28], 0
push 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x7c], eax
call fcn.10048f80
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x80], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x14
push 1
push 0x101bca64
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10048350
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x80], 0
mov esi, dword [eax + ebx*4 + 0x20]
mov byte [ebp - 4], 0x15
test esi, esi
je 0x1006d0fe
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006d0fe
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006d11f
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push edi
call fcn.1006e010
mov ecx, str.Sell
cmp byte [eax], 0
mov eax, 0x101bca9c
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10047780
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + ebx*4 + 0x24]
mov byte [ebp - 4], 0x16
test esi, esi
je 0x1006d193
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006d193
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006d1b4
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
mov ecx, dword [ebp - 0x38]
add esp, 8
push edi
call fcn.1006e010
lea esi, [ebp + 0x81]
mov ebx, dword [eax + 0x28]
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x1006d1f0
push ecx
lea eax, [ebp + 0x81]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1004fa40
mov edi, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebx + edi*4 + 0x28]
mov byte [ebp - 4], 0x17
test esi, esi
je 0x1006d252
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006d252
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006d273
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
lea ecx, [ebx + 0x22c]
push dword [ebp - 0x34]
call fcn.1006e010
push 0x2e
push dword [ebp - 0x34]
lea ecx, [ebx + 0x22c]
cmp byte [eax + 0x30], 0
je 0x1006d3c6
call fcn.1006e010
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.100f6ec0
mov byte [ebp - 4], 0x18
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1006d2de
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x101c1940]
push ecx
movups xmmword [ebp + 0x70], xmm0
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + 0x70]
xor byte [ebp + ecx + 0x71], al
inc ecx
cmp ecx, 0xe
jb 0x1006d2f0
sub esp, 0x1c
mov byte [ebp + 0x7f], 0
lea eax, [ebp + 0x71]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x28]
push eax
call fcn.1004a910
mov esi, dword [ebx + edi*4 + 0x2c]
add esp, 0x24
mov byte [ebp - 4], 0x19
test esi, esi
je 0x1006d340
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006d340
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
call fcn.100448c0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006d35d
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1006d3a5
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
jmp 0x1006d4d3
call fcn.1006e010
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp]
push eax
call fcn.100f6ec0
mov byte [ebp - 4], 0x1a
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1006d3e7
mov ecx, dword [ecx]
push ecx
mov cl, 0x56
mov dword [ebp + 0x54], 0x76257356
mov dword [ebp + 0x58], 0x383f3935
xor eax, eax
mov word [ebp + 0x5c], 0x25
xor byte [ebp + eax + 0x55], cl
inc eax
cmp eax, 8
jae 0x1006d40f
mov cl, byte [ebp + 0x54]
jmp 0x1006d400
sub esp, 0x1c
mov byte [ebp + 0x5d], 0
lea eax, [ebp + 0x55]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x54]
push eax
call fcn.1004a910
mov esi, dword [ebx + edi*4 + 0x2c]
add esp, 0x24
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x1006d452
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006d452
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x54]
call fcn.100448c0
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1006d46f
inc eax
push eax
push dword [ebp - 0x50]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x54]
push 8
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
call fcn.10049010
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.100448c0
mov eax, dword [ebp + 0x18]
cmp eax, 0x10
jb 0x1006d4b7
inc eax
push eax
push dword [ebp + 4]
call fcn.10049010
add esp, 8
mov eax, dword [ebp]
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0xf
mov byte [ebp + 4], 0
mov dword [ebp], 0
push 8
push eax
call fcn.10049010
mov ecx, dword [ebx + edi*4 + 0x30]
add esp, 8
test ecx, ecx
je 0x1006d4ee
push 1
call dword [0x101ba7a0]
mov ecx, dword [ebx + edi*4 + 0x34]
jmp 0x1006cd68
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x88]
cmp esi, 0xe
jb 0x1006c3b0
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x54]
call fcn.1004a870
mov esi, dword [ebx + 0x228]
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x1006d53b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006d53b
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x54]
call fcn.100448c0
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1006d558
inc eax
push eax
push dword [ebp - 0x50]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x54]
push 8
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
call fcn.10049010
add esp, 8
lea ecx, [ebp + 0x94]
call fcn.100448c0
mov eax, dword [ebp + 0xac]
cmp eax, 0x10
jb 0x1006d5a5
inc eax
push eax
push dword [ebp + 0x98]
call fcn.10049010
add esp, 8
mov eax, dword [ebp + 0x94]
push 8
push eax
mov dword [ebp + 0xa8], 0
mov dword [ebp + 0xac], 0xf
mov byte [ebp + 0x98], 0
mov dword [ebp + 0x94], 0
call fcn.10049010
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.101204c0
lea esp, [ebp + 0x88]
pop ebp
ret 0x20