Function at 0x10040bc0
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 + 0x1c], 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.10102524
add esp, 0xc
test eax, eax
je 0x10040c4d
push 2
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.10102524
add esp, 0xc
test eax, eax
jne 0x10040c54
mov dword [esp + 0x24], edi
add esi, 2
push 0x1016b98c
push esi
call fcn.10102370
add esp, 8
test eax, eax
je 0x10040e3e
cmp esi, ebx
je 0x1004109f
mov edi, dword [esp + 0x10]
mov ebx, 0x64
jmp 0x10040c80
cmp edi, 0xa
jge 0x1004109f
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x14], 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 + 0x24]
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.10101de5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov eax, ecx
add esp, 0x20
sub eax, edx
mov dword [esp + edi*4 + 0x44], eax
jns 0x10040d8d
mov dword [esp + edi*4 + 0x44], 0
lea eax, [edx + ecx]
cmp eax, 0x168
mov dword [esp + edi*4 + 0x6c], eax
jle 0x10040da3
mov dword [esp + edi*4 + 0x6c], 0x168
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x13c]
mov eax, ecx
sub eax, edx
mov dword [esp + edi*4 + 0xbc], eax
jns 0x10040dc6
mov dword [esp + edi*4 + 0xbc], 0
lea eax, [edx + ecx]
cmp eax, ebx
mov dword [esp + edi*4 + 0x94], eax
jle 0x10040ddb
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 0x10040dfe
mov dword [esp + edi*4 + 0xe4], 0
lea eax, [edx + ecx]
cmp eax, ebx
mov dword [esp + edi*4 + 0x10c], eax
jle 0x10040e13
mov dword [esp + edi*4 + 0x10c], ebx
push 0x1016b5b4
push esi
call fcn.10102370
mov esi, eax
add esp, 8
test esi, esi
je 0x10040e2a
add esi, 1
add edi, 1
test esi, esi
mov dword [esp + 0x10], edi
jne 0x10040c80
jmp 0x1004109f
push 0x1016b988
push esi
call fcn.10102370
add esp, 8
test eax, eax
je 0x10040f3c
cmp esi, ebx
je 0x1004109f
mov edi, dword [esp + 0x10]
mov ebx, 0x64
cmp edi, 0xa
jge 0x1004109f
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.10101de5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x144]
mov edi, dword [esp + 0x20]
mov eax, ecx
add esp, 0x10
sub eax, edx
mov dword [esp + edi*4 + 0x44], eax
jns 0x10040efb
mov dword [esp + edi*4 + 0x44], 0
lea eax, [edx + ecx]
cmp eax, 0xff
mov dword [esp + edi*4 + 0x6c], eax
jle 0x10040f11
mov dword [esp + edi*4 + 0x6c], 0xff
push 0x1016b5b4
push esi
call fcn.10102370
mov esi, eax
add esp, 8
test esi, esi
je 0x10040f28
add esi, 1
add edi, 1
test esi, esi
mov dword [esp + 0x10], edi
jne 0x10040e65
jmp 0x1004109f
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x1004109f
jmp 0x10040f50
cmp dword [esp + 0x10], 0xa
jge 0x1004109f
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x139], al
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x13c]
push edx
push eax
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.10101de5
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 + 0x20]
mov edx, edi
add esp, 0x10
sub edx, esi
lea ecx, [esp + ecx*4 + 0x10c]
mov dword [ecx], edx
jns 0x10040ff5
mov dword [ecx], 0
mov ecx, dword [esp + 0x10]
add esi, edi
cmp esi, 0xff
mov dword [esp + ecx*4 + 0x94], esi
jle 0x10041015
mov dword [esp + ecx*4 + 0x94], 0xff
mov edx, eax
sub edx, ebx
mov dword [esp + ecx*4 + 0xbc], edx
jns 0x1004102d
mov dword [esp + ecx*4 + 0xbc], 0
add eax, ebx
cmp eax, 0xff
mov dword [esp + ecx*4 + 0x6c], eax
jle 0x10041042
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 0x10041058
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 0x10041071
mov dword [ecx], 0xff
mov ecx, dword [esp + 0x14]
push 0x1016b5b4
push ecx
call fcn.10102370
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
je 0x10041092
add eax, 1
mov dword [esp + 0x14], eax
add dword [esp + 0x10], 1
test eax, eax
jne 0x10040f50
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 4]
imul edx, dword [esi + 8]
push edx
call fcn.100ff548
mov ecx, dword [esp + 0x2c]
add esp, 4
test eax, eax
mov dword [ecx], eax
jne 0x100410d1
mov edx, dword [esp + 0x40]
push edx
call fcn.100ff60b
add esp, 4
xor eax, eax
jmp 0x100413fe
cmp dword [esp + 0x24], 0
je 0x100410e4
mov ecx, dword [esi + 4]
imul ecx, dword [esi + 8]
push ecx
push 1
jmp 0x100410ee
mov edx, dword [esi + 4]
imul edx, dword [esi + 8]
push edx
push 0
push eax
call fcn.10100550
add esp, 0xc
cmp dword [esi + 8], 0
mov dword [esp + 0x14], 0
jle 0x100413ec
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 0x100413c9
mov ebx, dword [esp + 0x20]
jmp 0x10041130
cmp dword [esp + 0x3c], 0
je 0x10041218
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jle 0x100413b6
cmp dword [esp + 0x24], 0
jne 0x10041169
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
imul eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add eax, dword [edx]
cmp byte [eax + ebp], 1
lea esi, [eax + ebp]
jmp 0x10041182
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
imul edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add edx, dword [eax]
cmp byte [edx + ebp], 0
lea esi, [edx + ebp]
je 0x100413b6
mov eax, dword [ebx - 2]
movzx edx, byte [ebx]
movzx edi, byte [ebx - 1]
and eax, 0xff
cmp dword [esp + 0x24], 0
jne 0x100411d3
cmp edx, dword [esp + ecx*4 + 0x10c]
jl 0x10041206
cmp edx, dword [esp + ecx*4 + 0x94]
jg 0x10041206
cmp edi, dword [esp + ecx*4 + 0xbc]
jl 0x10041206
cmp edi, dword [esp + ecx*4 + 0x6c]
jg 0x10041206
cmp eax, dword [esp + ecx*4 + 0x44]
jl 0x10041206
cmp eax, dword [esp + ecx*4 + 0xe4]
jg 0x10041206
mov byte [esi], 1
jmp 0x10041206
cmp edx, dword [esp + ecx*4 + 0x10c]
jl 0x10041206
cmp edx, dword [esp + ecx*4 + 0x94]
jg 0x10041206
cmp edi, dword [esp + ecx*4 + 0xbc]
jl 0x10041206
cmp edi, dword [esp + ecx*4 + 0x6c]
jg 0x10041206
cmp eax, dword [esp + ecx*4 + 0x44]
jl 0x10041206
cmp eax, dword [esp + ecx*4 + 0xe4]
jg 0x10041206
mov byte [esi], 0
add ecx, 1
cmp ecx, dword [esp + 0x10]
jl 0x10041147
jmp 0x100413b6
cmp dword [esp + 0x38], 0
je 0x100412b1
xor edi, edi
cmp dword [esp + 0x10], edi
jle 0x100413b6
nop
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
imul edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add edx, dword [eax]
cmp dword [esp + 0x24], 0
lea esi, [edx + ebp]
jne 0x10041251
cmp byte [esi], 1
jmp 0x10041254
cmp byte [esi], 0
je 0x100413b6
movzx edx, byte [ebx - 1]
mov ecx, dword [ebx - 2]
movzx eax, byte [ebx]
and ecx, 0xff
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], 0
jne 0x10041294
cmp eax, dword [esp + edi*4 + 0x44]
jl 0x100412a3
cmp eax, dword [esp + edi*4 + 0x6c]
jg 0x100412a3
mov byte [esi], 1
jmp 0x100412a3
cmp eax, dword [esp + edi*4 + 0x44]
jl 0x100412a3
cmp eax, dword [esp + edi*4 + 0x6c]
jg 0x100412a3
mov byte [esi], 0
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x10041230
jmp 0x100413b6
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x100413b6
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
imul edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add edx, dword [eax]
cmp dword [esp + 0x24], 0
lea edi, [edx + ebp]
jne 0x100412e1
cmp byte [edi], 1
jmp 0x100412e4
cmp byte [edi], 0
je 0x100413b6
lea ecx, [esp + 0x13c]
push ecx
mov ecx, dword [ebx - 2]
lea edx, [esp + 0x138]
push edx
movzx edx, byte [ebx - 1]
lea eax, [esp + 0x24]
push eax
movzx eax, byte [ebx]
and ecx, 0xff
push ecx
push edx
push eax
call fcn.1003eb90
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp dword [esp + 0x24], 0
jne 0x10041368
cmp eax, dword [esp + esi*4 + 0x44]
jl 0x100413a9
cmp eax, dword [esp + esi*4 + 0x6c]
jg 0x100413a9
mov eax, dword [esp + 0x134]
cmp eax, dword [esp + esi*4 + 0xbc]
jl 0x100413a9
cmp eax, dword [esp + esi*4 + 0x94]
jg 0x100413a9
mov eax, dword [esp + 0x13c]
cmp eax, dword [esp + esi*4 + 0xe4]
jl 0x100413a9
cmp eax, dword [esp + esi*4 + 0x10c]
jg 0x100413a9
mov byte [edi], 1
jmp 0x100413a9
cmp eax, dword [esp + esi*4 + 0x44]
jl 0x100413a9
cmp eax, dword [esp + esi*4 + 0x6c]
jg 0x100413a9
mov eax, dword [esp + 0x134]
cmp eax, dword [esp + esi*4 + 0xbc]
jl 0x100413a9
cmp eax, dword [esp + esi*4 + 0x94]
jg 0x100413a9
mov eax, dword [esp + 0x13c]
cmp eax, dword [esp + esi*4 + 0xe4]
jl 0x100413a9
cmp eax, dword [esp + esi*4 + 0x10c]
jg 0x100413a9
mov byte [edi], 0
add esi, 1
cmp esi, dword [esp + 0x10]
jl 0x100412c0
mov ecx, dword [esp + 0x18]
add ebp, 1
add ebx, 4
cmp ebp, dword [ecx + 4]
jl 0x10041130
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x168]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x20], edx
add eax, 1
cmp eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
jl 0x10041114
mov edx, dword [esp + 0x40]
push edx
call fcn.100ff60b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ffae6
add esp, 0x14c
ret