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

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x1017b89c
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 + 0x101c2480]
divsd xmm0, qword [0x101c14d0]
movsd qword [ebp - 0x80], xmm0
fld qword [ebp - 0x80]
fstp qword [esp]
call fcn.1014a6f0
add esp, 8
fstp qword [ebp - 0x80]
movsd xmm0, qword [ebp - 0x80]
call fcn.10049c10
cvttsd2si eax, xmm0
mov ecx, ebx
mov dword [ebx + 0x10], eax
call fcn.1006b270
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 0x1006ca29
lea eax, [esi + 1]
mov dword [ebp - 0x88], eax
cmp edi, eax
jb 0x1006ca29
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.1006d530
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1006ca1a
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 0x1006ca1a
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.100651d0
add esp, 8
test al, al
jne 0x1006c2a9
sub esp, 0x1c
lea eax, [ebp + 0x94]
mov ecx, esp
mov dword [ebp - 0x84], esp
push eax
call fcn.10046ed0
mov ebx, dword [ebp - 0x30]
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
lea edi, [ebx + 8]
push edi
call fcn.10046ed0
mov byte [ebp - 4], 0
call fcn.100d96b0
test al, al
je 0x1006c29d
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
call fcn.1006d530
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x40], ebx
call fcn.1006d530
add eax, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10046ed0
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 0x1006ba2b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006ba2b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006ba4c
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
lea ecx, [ebp - 0x28]
push edi
call fcn.10046ed0
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 0x1006baa7
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006baa7
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006bac8
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
mov ecx, dword [ebp - 0x38]
add esp, 8
push dword [ebp - 0x34]
call fcn.1006d530
movzx ecx, byte [ebx + 4]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x1006bda0
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x1006bda0
cmp ecx, 0x2c
ja 0x1006bda0
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 0x1006bda0
cmp dword [edi + 0x20], 0
jbe 0x1006bc8a
lea ecx, [edi + 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046ed0
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 0x1006bbdd
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006bbb1
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
jmp 0x1006bc8d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1006bc34
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006bc0b
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
jmp 0x1006bc8d
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006bc61
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
jmp 0x1006bc8d
mov ebx, dword [ebp - 0x2c]
mov eax, dword [edi]
xor edx, edx
mov ecx, 0xa
div ecx
test edx, edx
je 0x1006c01d
push edx
lea eax, [ebp + 0x6c]
push 0x101bca90
push eax
call fcn.100524f0
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.100484a0
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 0x1006bd10
sub ecx, edx
lea eax, [ebp + 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10047890
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 0x1006bd58
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006bd58
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006bd79
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
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.1006d530
mov ecx, str.Sell
cmp byte [eax], 0
mov eax, 0x101bca9c
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046d00
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 0x1006bdf2
push 4
push esi
call edi
test eax, eax
jne 0x1006bdf2
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006be13
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
mov ecx, dword [ebp - 0x38]
add esp, 8
push ebx
call fcn.1006d530
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 0x1006be50
push ecx
lea eax, [ebp + 0x81]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1004ef50
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 0x1006beab
push 4
push esi
call edi
test eax, eax
jne 0x1006beab
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006becc
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
mov edi, dword [ebp - 0x34]
lea ecx, [ebx + 0x22c]
add esp, 8
push edi
call fcn.1006d530
push 0x2e
lea ecx, [ebx + 0x22c]
push edi
cmp byte [eax + 0x30], 0
je 0x1006c155
call fcn.1006d530
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.100f6260
mov byte [ebp - 4], 0xb
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1006bf36
mov ecx, dword [ecx]
movaps xmm0, xmmword [str.Fc5f____.2f_5.]
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 0x1006bf44
sub esp, 0x1c
mov byte [ebp + 0x7f], 0
lea eax, [ebp + 0x71]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x28]
push eax
call fcn.10049e30
mov eax, dword [ebp - 0x30]
add esp, 0x24
mov esi, dword [ebx + eax*4 + 0x2c]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x1006bf97
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006bf97
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006bfb4
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1006bffc
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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 0x1006c266
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.100484a0
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.10047890
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 0x1006bd58
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
je 0x1006c0fc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c0d0
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
jmp 0x1006bda6
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c129
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
jmp 0x1006bda6
call fcn.1006d530
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.100f6260
mov byte [ebp - 4], 0xd
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1006c176
mov ecx, dword [ecx]
push ecx
mov cl, 0x4b
mov dword [ebp + 0x60], 0x6b386e4b
mov dword [ebp + 0x64], 0x25222428
xor eax, eax
mov word [ebp + 0x68], 0x38
nop
xor byte [ebp + eax + 0x61], cl
inc eax
cmp eax, 8
jae 0x1006c19f
mov cl, byte [ebp + 0x60]
jmp 0x1006c190
sub esp, 0x1c
mov byte [ebp + 0x69], 0
lea eax, [ebp + 0x61]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x78]
push eax
call fcn.10049e30
mov eax, dword [ebp - 0x30]
add esp, 0x24
mov esi, dword [ebx + eax*4 + 0x2c]
mov byte [ebp - 4], 0xe
test esi, esi
je 0x1006c1e5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c1e5
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x78]
call fcn.10043e40
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x1006c202
inc eax
push eax
push dword [ebp - 0x74]
call fcn.10048530
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.10048530
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.10043e40
mov eax, dword [ebp + 0x34]
cmp eax, 0x10
jb 0x1006c24a
inc eax
push eax
push dword [ebp + 0x20]
call fcn.10048530
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.10048530
mov esi, dword [ebp - 0x30]
add esp, 8
mov ecx, dword [ebx + esi*4 + 0x30]
test ecx, ecx
je 0x1006c284
push 1
call dword [0x101ba7a0]
mov ecx, dword [ebx + esi*4 + 0x34]
test ecx, ecx
je 0x1006ca1a
push 1
call dword [0x101ba7a0]
jmp 0x1006ca1a
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.100651d0
add esp, 8
test al, al
je 0x1006ca17
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
call fcn.1006d530
add eax, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10046ed0
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 0x1006c31a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c31a
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c33b
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
add esp, 8
lea eax, [edi + 8]
push eax
call fcn.10046ed0
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + ebx*4 + 0x1c]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x1006c399
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c399
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c3ba
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
mov ecx, dword [ebp - 0x38]
add esp, 8
push dword [ebp - 0x34]
call fcn.1006d530
movzx ecx, byte [edi + 4]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x1006c666
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x1006c666
cmp ecx, 0x2c
ja 0x1006c666
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 0x1006c666
cmp dword [edi + 0x20], 0
jbe 0x1006c4e0
lea ecx, [edi + 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046ed0
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + ebx*4 + 0x1c]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x1006c498
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c498
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c4b9
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
mov eax, dword [edi]
xor edx, edx
mov ecx, 0xa
div ecx
test edx, edx
je 0x1006c58f
push edx
lea eax, [ebp + 0x6c]
push 0x101bca90
push eax
call fcn.100524f0
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.100484a0
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 0x1006c562
sub ecx, edx
lea eax, [ebp + 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10047890
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], 0
mov esi, dword [eax + ebx*4 + 0x20]
mov byte [ebp - 4], 0x13
jmp 0x1006c601
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.100484a0
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.10047890
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 0x1006c61e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c61e
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c63f
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push edi
call fcn.1006d530
mov ecx, str.Sell
cmp byte [eax], 0
mov eax, 0x101bca9c
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046d00
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + ebx*4 + 0x24]
mov byte [ebp - 4], 0x16
test esi, esi
je 0x1006c6b3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c6b3
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c6d4
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
mov ecx, dword [ebp - 0x38]
add esp, 8
push edi
call fcn.1006d530
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 0x1006c710
push ecx
lea eax, [ebp + 0x81]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1004ef50
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 0x1006c772
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c772
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c793
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
lea ecx, [ebx + 0x22c]
push dword [ebp - 0x34]
call fcn.1006d530
push 0x2e
push dword [ebp - 0x34]
lea ecx, [ebx + 0x22c]
cmp byte [eax + 0x30], 0
je 0x1006c8e6
call fcn.1006d530
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.100f6260
mov byte [ebp - 4], 0x18
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1006c7fe
mov ecx, dword [ecx]
movaps xmm0, xmmword [str.Il:i__._i_:_]
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 0x1006c810
sub esp, 0x1c
mov byte [ebp + 0x7f], 0
lea eax, [ebp + 0x71]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x28]
push eax
call fcn.10049e30
mov esi, dword [ebx + edi*4 + 0x2c]
add esp, 0x24
mov byte [ebp - 4], 0x19
test esi, esi
je 0x1006c860
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c860
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x28]
call fcn.10043e40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1006c87d
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10048530
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.10048530
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1006c8c5
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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 0x1006c9f3
call fcn.1006d530
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp]
push eax
call fcn.100f6260
mov byte [ebp - 4], 0x1a
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1006c907
mov ecx, dword [ecx]
push ecx
mov cl, 0x7a
mov dword [ebp + 0x54], 0x5a095f7a
mov dword [ebp + 0x58], 0x14131519
xor eax, eax
mov word [ebp + 0x5c], 9
xor byte [ebp + eax + 0x55], cl
inc eax
cmp eax, 8
jae 0x1006c92f
mov cl, byte [ebp + 0x54]
jmp 0x1006c920
sub esp, 0x1c
mov byte [ebp + 0x5d], 0
lea eax, [ebp + 0x55]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x54]
push eax
call fcn.10049e30
mov esi, dword [ebx + edi*4 + 0x2c]
add esp, 0x24
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x1006c972
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006c972
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x54]
call fcn.10043e40
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1006c98f
inc eax
push eax
push dword [ebp - 0x50]
call fcn.10048530
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.10048530
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.10043e40
mov eax, dword [ebp + 0x18]
cmp eax, 0x10
jb 0x1006c9d7
inc eax
push eax
push dword [ebp + 4]
call fcn.10048530
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.10048530
mov ecx, dword [ebx + edi*4 + 0x30]
add esp, 8
test ecx, ecx
je 0x1006ca0e
push 1
call dword [0x101ba7a0]
mov ecx, dword [ebx + edi*4 + 0x34]
jmp 0x1006c288
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x88]
cmp esi, 0xe
jb 0x1006b8d0
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x54]
call fcn.10049d90
mov esi, dword [ebx + 0x228]
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x1006ca5b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006ca5b
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x54]
call fcn.10043e40
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1006ca78
inc eax
push eax
push dword [ebp - 0x50]
call fcn.10048530
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.10048530
add esp, 8
lea ecx, [ebp + 0x94]
call fcn.10043e40
mov eax, dword [ebp + 0xac]
cmp eax, 0x10
jb 0x1006cac5
inc eax
push eax
push dword [ebp + 0x98]
call fcn.10048530
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.10048530
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.1011f880
lea esp, [ebp + 0x88]
pop ebp
ret 0x20