Function at 0x10040060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x154]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x15c]
mov dword [esp + 0x14], eax
push edi
mov al, 0x40
mov byte [esp + 0x35], al
mov byte [esp + 0x31], al
xor ebx, ebx
push 2
lea eax, [esp + 0x38]
push eax
mov edi, 1
push esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x40], 0x62
mov byte [esp + 0x42], bl
mov byte [esp + 0x3c], 0x42
mov byte [esp + 0x3e], bl
call fcn.101024a4
add esp, 0xc
test eax, eax
je 0x100400ed
push 2
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.101024a4
add esp, 0xc
test eax, eax
jne 0x100400f4
mov dword [esp + 0x24], edi
add esi, 2
push 0x1016b98c
push esi
call fcn.101022f0
add esp, 8
test eax, eax
je 0x100402e0
cmp esi, ebx
je 0x1004054d
mov ebx, 0x64
cmp byte [esi], 0
je 0x1004054d
cmp dword [esp + 0x14], 0xa
jge 0x1004054d
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x155], al
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x15c]
push edx
push esi
mov byte [esp + 0x164], 0x25
mov byte [esp + 0x165], bl
mov byte [esp + 0x166], 0x2e
mov byte [esp + 0x167], 0x25
mov byte [esp + 0x168], bl
mov byte [esp + 0x169], 0x2e
mov byte [esp + 0x16a], 0x25
mov byte [esp + 0x16b], bl
mov byte [esp + 0x16c], 0x2d
mov byte [esp + 0x16d], 0x25
mov byte [esp + 0x16e], bl
mov byte [esp + 0x16f], 0x2e
mov byte [esp + 0x170], 0x25
mov byte [esp + 0x171], bl
mov byte [esp + 0x172], 0x2e
mov byte [esp + 0x173], 0x25
mov byte [esp + 0x174], bl
call fcn.10101d65
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x34]
mov eax, ecx
add esp, 0x20
sub eax, edx
mov dword [esp + edi*4 + 0x44], eax
jns 0x1004022f
mov dword [esp + edi*4 + 0x44], 0
lea eax, [edx + ecx]
cmp eax, 0x168
mov dword [esp + edi*4 + 0x6c], eax
jle 0x10040245
mov dword [esp + edi*4 + 0x6c], 0x168
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x13c]
mov eax, ecx
sub eax, edx
mov dword [esp + edi*4 + 0xbc], eax
jns 0x10040268
mov dword [esp + edi*4 + 0xbc], 0
lea eax, [edx + ecx]
cmp eax, ebx
mov dword [esp + edi*4 + 0x94], eax
jle 0x1004027d
mov dword [esp + edi*4 + 0x94], ebx
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x1c]
mov eax, ecx
sub eax, edx
mov dword [esp + edi*4 + 0xe4], eax
jns 0x100402a0
mov dword [esp + edi*4 + 0xe4], 0
lea eax, [edx + ecx]
cmp eax, ebx
mov dword [esp + edi*4 + 0x10c], eax
jle 0x100402b5
mov dword [esp + edi*4 + 0x10c], ebx
push 0x1016b5b4
push esi
call fcn.101022f0
mov esi, eax
add esp, 8
test esi, esi
je 0x100402cc
add esi, 1
add edi, 1
test esi, esi
mov dword [esp + 0x14], edi
jne 0x10040117
jmp 0x1004054d
push 0x1016b988
push esi
call fcn.101022f0
add esp, 8
test eax, eax
je 0x100403e5
cmp esi, ebx
je 0x1004054d
mov ebx, 0x64
cmp byte [esi], 0
je 0x1004054d
cmp dword [esp + 0x14], 0xa
jge 0x1004054d
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x142], al
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x144]
push edx
push esi
mov dword [esp + 0x48], 1
mov byte [esp + 0x14c], 0x23
mov byte [esp + 0x14d], 0x25
mov byte [esp + 0x14e], bl
mov byte [esp + 0x14f], 0x2d
mov byte [esp + 0x150], 0x25
mov byte [esp + 0x151], bl
call fcn.10101d65
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x144]
mov edi, dword [esp + 0x24]
mov eax, ecx
add esp, 0x10
sub eax, edx
mov dword [esp + edi*4 + 0x44], eax
jns 0x100403a4
mov dword [esp + edi*4 + 0x44], 0
lea eax, [edx + ecx]
cmp eax, 0xff
mov dword [esp + edi*4 + 0x6c], eax
jle 0x100403ba
mov dword [esp + edi*4 + 0x6c], 0xff
push 0x1016b5b4
push esi
call fcn.101022f0
mov esi, eax
add esp, 8
test esi, esi
je 0x100403d1
add esi, 1
add edi, 1
test esi, esi
mov dword [esp + 0x14], edi
jne 0x10040303
jmp 0x1004054d
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x1004054d
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x1004054d
cmp dword [esp + 0x14], 0xa
jge 0x1004054d
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x13d], al
push edx
lea eax, [esp + 0x13c]
push eax
push ecx
mov byte [esp + 0x144], 0x25
mov byte [esp + 0x145], 0x78
mov byte [esp + 0x146], 0x2d
mov byte [esp + 0x147], 0x25
mov byte [esp + 0x148], 0x78
call fcn.10101d65
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
movzx edi, byte [esp + 0x32]
movzx esi, byte [esp + 0x3e]
movzx ebx, ah
and eax, 0xff
mov ebp, eax
movzx eax, ch
and ecx, 0xff
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x24]
mov edx, edi
add esp, 0x10
sub edx, esi
lea ecx, [esp + ecx*4 + 0x10c]
mov dword [ecx], edx
jns 0x100404a3
mov dword [ecx], 0
mov ecx, dword [esp + 0x14]
add esi, edi
cmp esi, 0xff
mov dword [esp + ecx*4 + 0x94], esi
jle 0x100404c3
mov dword [esp + ecx*4 + 0x94], 0xff
mov edx, eax
sub edx, ebx
mov dword [esp + ecx*4 + 0xbc], edx
jns 0x100404db
mov dword [esp + ecx*4 + 0xbc], 0
add eax, ebx
cmp eax, 0xff
mov dword [esp + ecx*4 + 0x6c], eax
jle 0x100404f0
mov dword [esp + ecx*4 + 0x6c], 0xff
mov edx, dword [esp + 0x1c]
mov eax, edx
sub eax, ebp
mov dword [esp + ecx*4 + 0x44], eax
jns 0x10040506
mov dword [esp + ecx*4 + 0x44], 0
lea eax, [edx + ebp]
cmp eax, 0xff
lea ecx, [esp + ecx*4 + 0xe4]
mov dword [ecx], eax
jle 0x1004051f
mov dword [ecx], 0xff
mov edx, dword [esp + 0x10]
push 0x1016b5b4
push edx
call fcn.101022f0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x10040540
add eax, 1
mov dword [esp + 0x10], eax
add dword [esp + 0x14], 1
test eax, eax
jne 0x100403f1
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
imul eax, dword [esi + 8]
push eax
call fcn.100ff4c8
mov ecx, dword [esp + 0x2c]
add esp, 4
test eax, eax
mov dword [ecx], eax
jne 0x1004057f
mov edx, dword [esp + 0x40]
push edx
call fcn.100ff58b
add esp, 4
xor eax, eax
jmp 0x100408ed
cmp dword [esp + 0x24], 0
je 0x10040592
mov ecx, dword [esi + 4]
imul ecx, dword [esi + 8]
push ecx
push 1
jmp 0x1004059c
mov edx, dword [esi + 4]
imul edx, dword [esi + 8]
push edx
push 0
push eax
call fcn.101004d0
add esp, 0xc
cmp dword [esi + 8], 0
mov dword [esp + 0x10], 0
jle 0x100408db
mov eax, dword [esp + 0x40]
add eax, 2
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
xor ebp, ebp
cmp dword [ecx + 4], ebp
jle 0x100408b8
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x3c], 0
je 0x100406c5
xor ecx, ecx
cmp dword [esp + 0x14], ecx
jle 0x100408a5
lea esp, [esp]
cmp dword [esp + 0x24], 0
jne 0x10040614
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x28]
imul eax, ebp
add eax, dword [edx]
mov edx, dword [esp + 0x10]
cmp byte [eax + edx], 1
lea esi, [eax + edx]
jmp 0x1004062f
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x28]
imul edx, ebp
add edx, dword [eax]
mov eax, dword [esp + 0x10]
cmp byte [edx + eax], 0
lea esi, [edx + eax]
je 0x100408a5
mov eax, dword [ebx - 2]
movzx edx, byte [ebx]
movzx edi, byte [ebx - 1]
and eax, 0xff
cmp dword [esp + 0x24], 0
jne 0x10040680
cmp edx, dword [esp + ecx*4 + 0x10c]
jl 0x100406b3
cmp edx, dword [esp + ecx*4 + 0x94]
jg 0x100406b3
cmp edi, dword [esp + ecx*4 + 0xbc]
jl 0x100406b3
cmp edi, dword [esp + ecx*4 + 0x6c]
jg 0x100406b3
cmp eax, dword [esp + ecx*4 + 0x44]
jl 0x100406b3
cmp eax, dword [esp + ecx*4 + 0xe4]
jg 0x100406b3
mov byte [esi], 1
jmp 0x100406b3
cmp edx, dword [esp + ecx*4 + 0x10c]
jl 0x100406b3
cmp edx, dword [esp + ecx*4 + 0x94]
jg 0x100406b3
cmp edi, dword [esp + ecx*4 + 0xbc]
jl 0x100406b3
cmp edi, dword [esp + ecx*4 + 0x6c]
jg 0x100406b3
cmp eax, dword [esp + ecx*4 + 0x44]
jl 0x100406b3
cmp eax, dword [esp + ecx*4 + 0xe4]
jg 0x100406b3
mov byte [esi], 0
add ecx, 1
cmp ecx, dword [esp + 0x14]
jl 0x100405f0
jmp 0x100408a5
cmp dword [esp + 0x38], 0
je 0x10040780
xor edi, edi
cmp dword [esp + 0x14], edi
jle 0x100408a5
lea esp, [esp]
cmp dword [esp + 0x24], 0
jne 0x10040704
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x28]
imul edx, ebp
add edx, dword [eax]
mov ecx, dword [esp + 0x10]
cmp byte [edx + ecx], 1
lea esi, [edx + ecx]
jmp 0x1004071f
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x28]
imul eax, ebp
add eax, dword [ecx]
mov edx, dword [esp + 0x10]
cmp byte [eax + edx], 0
lea esi, [eax + edx]
je 0x100408a5
movzx eax, byte [ebx - 1]
mov ecx, dword [ebx - 2]
movzx edx, byte [ebx]
and ecx, 0xff
add ecx, eax
add ecx, edx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], 0
jne 0x1004075f
cmp eax, dword [esp + edi*4 + 0x44]
jl 0x1004076e
cmp eax, dword [esp + edi*4 + 0x6c]
jg 0x1004076e
mov byte [esi], 1
jmp 0x1004076e
cmp eax, dword [esp + edi*4 + 0x44]
jl 0x1004076e
cmp eax, dword [esp + edi*4 + 0x6c]
jg 0x1004076e
mov byte [esi], 0
add edi, 1
cmp edi, dword [esp + 0x14]
jl 0x100406e0
jmp 0x100408a5
xor esi, esi
cmp dword [esp + 0x14], esi
jle 0x100408a5
lea esp, [esp]
cmp dword [esp + 0x24], 0
jne 0x100407b4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x28]
imul ecx, ebp
add ecx, dword [edx]
mov eax, dword [esp + 0x10]
cmp byte [ecx + eax], 1
lea edi, [ecx + eax]
jmp 0x100407cf
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x28]
imul edx, ebp
add edx, dword [eax]
mov ecx, dword [esp + 0x10]
cmp byte [edx + ecx], 0
lea edi, [edx + ecx]
je 0x100408a5
lea edx, [esp + 0x13c]
push edx
mov edx, dword [ebx - 2]
lea eax, [esp + 0x138]
push eax
movzx eax, byte [ebx - 1]
lea ecx, [esp + 0x24]
push ecx
movzx ecx, byte [ebx]
and edx, 0xff
push edx
push eax
push ecx
call fcn.1003eb60
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp dword [esp + 0x24], 0
jne 0x10040857
cmp eax, dword [esp + esi*4 + 0x44]
jl 0x10040898
cmp eax, dword [esp + esi*4 + 0x6c]
jg 0x10040898
mov eax, dword [esp + 0x134]
cmp eax, dword [esp + esi*4 + 0xbc]
jl 0x10040898
cmp eax, dword [esp + esi*4 + 0x94]
jg 0x10040898
mov eax, dword [esp + 0x13c]
cmp eax, dword [esp + esi*4 + 0xe4]
jl 0x10040898
cmp eax, dword [esp + esi*4 + 0x10c]
jg 0x10040898
mov byte [edi], 1
jmp 0x10040898
cmp eax, dword [esp + esi*4 + 0x44]
jl 0x10040898
cmp eax, dword [esp + esi*4 + 0x6c]
jg 0x10040898
mov eax, dword [esp + 0x134]
cmp eax, dword [esp + esi*4 + 0xbc]
jl 0x10040898
cmp eax, dword [esp + esi*4 + 0x94]
jg 0x10040898
mov eax, dword [esp + 0x13c]
cmp eax, dword [esp + esi*4 + 0xe4]
jl 0x10040898
cmp eax, dword [esp + esi*4 + 0x10c]
jg 0x10040898
mov byte [edi], 0
add esi, 1
cmp esi, dword [esp + 0x14]
jl 0x10040790
mov edx, dword [esp + 0x18]
add ebp, 1
add ebx, 4
cmp ebp, dword [edx + 4]
jl 0x100405d5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x18]
add dword [esp + 0x20], ecx
add eax, 1
cmp eax, dword [edx + 8]
mov dword [esp + 0x10], eax
jl 0x100405c2
mov eax, dword [esp + 0x40]
push eax
call fcn.100ff58b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ffa66
add esp, 0x14c
ret