Function at 0x10040bf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14c
mov eax, dword [0x101b629c]
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.10102134
add esp, 0xc
test eax, eax
je 0x10040c7d
push 2
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.10102134
add esp, 0xc
test eax, eax
jne 0x10040c84
mov dword [esp + 0x24], edi
add esi, 2
push 0x1016a964
push esi
call fcn.10101f80
add esp, 8
test eax, eax
je 0x10040e6e
cmp esi, ebx
je 0x100410cf
mov edi, dword [esp + 0x10]
mov ebx, 0x64
jmp 0x10040cb0
cmp edi, 0xa
jge 0x100410cf
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.101019f5
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 0x10040dbd
mov dword [esp + edi*4 + 0x44], 0
lea eax, [edx + ecx]
cmp eax, 0x168
mov dword [esp + edi*4 + 0x6c], eax
jle 0x10040dd3
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 0x10040df6
mov dword [esp + edi*4 + 0xbc], 0
lea eax, [edx + ecx]
cmp eax, ebx
mov dword [esp + edi*4 + 0x94], eax
jle 0x10040e0b
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 0x10040e2e
mov dword [esp + edi*4 + 0xe4], 0
lea eax, [edx + ecx]
cmp eax, ebx
mov dword [esp + edi*4 + 0x10c], eax
jle 0x10040e43
mov dword [esp + edi*4 + 0x10c], ebx
push 0x1016a58c
push esi
call fcn.10101f80
mov esi, eax
add esp, 8
test esi, esi
je 0x10040e5a
add esi, 1
add edi, 1
test esi, esi
mov dword [esp + 0x10], edi
jne 0x10040cb0
jmp 0x100410cf
push 0x1016a960
push esi
call fcn.10101f80
add esp, 8
test eax, eax
je 0x10040f6c
cmp esi, ebx
je 0x100410cf
mov edi, dword [esp + 0x10]
mov ebx, 0x64
cmp edi, 0xa
jge 0x100410cf
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.101019f5
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 0x10040f2b
mov dword [esp + edi*4 + 0x44], 0
lea eax, [edx + ecx]
cmp eax, 0xff
mov dword [esp + edi*4 + 0x6c], eax
jle 0x10040f41
mov dword [esp + edi*4 + 0x6c], 0xff
push 0x1016a58c
push esi
call fcn.10101f80
mov esi, eax
add esp, 8
test esi, esi
je 0x10040f58
add esi, 1
add edi, 1
test esi, esi
mov dword [esp + 0x10], edi
jne 0x10040e95
jmp 0x100410cf
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x100410cf
jmp 0x10040f80
cmp dword [esp + 0x10], 0xa
jge 0x100410cf
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.101019f5
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 0x10041025
mov dword [ecx], 0
mov ecx, dword [esp + 0x10]
add esi, edi
cmp esi, 0xff
mov dword [esp + ecx*4 + 0x94], esi
jle 0x10041045
mov dword [esp + ecx*4 + 0x94], 0xff
mov edx, eax
sub edx, ebx
mov dword [esp + ecx*4 + 0xbc], edx
jns 0x1004105d
mov dword [esp + ecx*4 + 0xbc], 0
add eax, ebx
cmp eax, 0xff
mov dword [esp + ecx*4 + 0x6c], eax
jle 0x10041072
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 0x10041088
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 0x100410a1
mov dword [ecx], 0xff
mov ecx, dword [esp + 0x14]
push 0x1016a58c
push ecx
call fcn.10101f80
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
je 0x100410c2
add eax, 1
mov dword [esp + 0x14], eax
add dword [esp + 0x10], 1
test eax, eax
jne 0x10040f80
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 4]
imul edx, dword [esi + 8]
push edx
call fcn.100ff166
mov ecx, dword [esp + 0x2c]
add esp, 4
test eax, eax
mov dword [ecx], eax
jne 0x10041101
mov edx, dword [esp + 0x40]
push edx
call fcn.100ff229
add esp, 4
xor eax, eax
jmp 0x1004142e
cmp dword [esp + 0x24], 0
je 0x10041114
mov ecx, dword [esi + 4]
imul ecx, dword [esi + 8]
push ecx
push 1
jmp 0x1004111e
mov edx, dword [esi + 4]
imul edx, dword [esi + 8]
push edx
push 0
push eax
call fcn.10100160
add esp, 0xc
cmp dword [esi + 8], 0
mov dword [esp + 0x14], 0
jle 0x1004141c
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 0x100413f9
mov ebx, dword [esp + 0x20]
jmp 0x10041160
cmp dword [esp + 0x3c], 0
je 0x10041248
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jle 0x100413e6
cmp dword [esp + 0x24], 0
jne 0x10041199
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 0x100411b2
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 0x100413e6
mov eax, dword [ebx - 2]
movzx edx, byte [ebx]
movzx edi, byte [ebx - 1]
and eax, 0xff
cmp dword [esp + 0x24], 0
jne 0x10041203
cmp edx, dword [esp + ecx*4 + 0x10c]
jl 0x10041236
cmp edx, dword [esp + ecx*4 + 0x94]
jg 0x10041236
cmp edi, dword [esp + ecx*4 + 0xbc]
jl 0x10041236
cmp edi, dword [esp + ecx*4 + 0x6c]
jg 0x10041236
cmp eax, dword [esp + ecx*4 + 0x44]
jl 0x10041236
cmp eax, dword [esp + ecx*4 + 0xe4]
jg 0x10041236
mov byte [esi], 1
jmp 0x10041236
cmp edx, dword [esp + ecx*4 + 0x10c]
jl 0x10041236
cmp edx, dword [esp + ecx*4 + 0x94]
jg 0x10041236
cmp edi, dword [esp + ecx*4 + 0xbc]
jl 0x10041236
cmp edi, dword [esp + ecx*4 + 0x6c]
jg 0x10041236
cmp eax, dword [esp + ecx*4 + 0x44]
jl 0x10041236
cmp eax, dword [esp + ecx*4 + 0xe4]
jg 0x10041236
mov byte [esi], 0
add ecx, 1
cmp ecx, dword [esp + 0x10]
jl 0x10041177
jmp 0x100413e6
cmp dword [esp + 0x38], 0
je 0x100412e1
xor edi, edi
cmp dword [esp + 0x10], edi
jle 0x100413e6
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 0x10041281
cmp byte [esi], 1
jmp 0x10041284
cmp byte [esi], 0
je 0x100413e6
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 0x100412c4
cmp eax, dword [esp + edi*4 + 0x44]
jl 0x100412d3
cmp eax, dword [esp + edi*4 + 0x6c]
jg 0x100412d3
mov byte [esi], 1
jmp 0x100412d3
cmp eax, dword [esp + edi*4 + 0x44]
jl 0x100412d3
cmp eax, dword [esp + edi*4 + 0x6c]
jg 0x100412d3
mov byte [esi], 0
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x10041260
jmp 0x100413e6
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x100413e6
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 0x10041311
cmp byte [edi], 1
jmp 0x10041314
cmp byte [edi], 0
je 0x100413e6
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.1003ebc0
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp dword [esp + 0x24], 0
jne 0x10041398
cmp eax, dword [esp + esi*4 + 0x44]
jl 0x100413d9
cmp eax, dword [esp + esi*4 + 0x6c]
jg 0x100413d9
mov eax, dword [esp + 0x134]
cmp eax, dword [esp + esi*4 + 0xbc]
jl 0x100413d9
cmp eax, dword [esp + esi*4 + 0x94]
jg 0x100413d9
mov eax, dword [esp + 0x13c]
cmp eax, dword [esp + esi*4 + 0xe4]
jl 0x100413d9
cmp eax, dword [esp + esi*4 + 0x10c]
jg 0x100413d9
mov byte [edi], 1
jmp 0x100413d9
cmp eax, dword [esp + esi*4 + 0x44]
jl 0x100413d9
cmp eax, dword [esp + esi*4 + 0x6c]
jg 0x100413d9
mov eax, dword [esp + 0x134]
cmp eax, dword [esp + esi*4 + 0xbc]
jl 0x100413d9
cmp eax, dword [esp + esi*4 + 0x94]
jg 0x100413d9
mov eax, dword [esp + 0x13c]
cmp eax, dword [esp + esi*4 + 0xe4]
jl 0x100413d9
cmp eax, dword [esp + esi*4 + 0x10c]
jg 0x100413d9
mov byte [edi], 0
add esi, 1
cmp esi, dword [esp + 0x10]
jl 0x100412f0
mov ecx, dword [esp + 0x18]
add ebp, 1
add ebx, 4
cmp ebp, dword [ecx + 4]
jl 0x10041160
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 0x10041144
mov edx, dword [esp + 0x40]
push edx
call fcn.100ff229
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ff704
add esp, 0x14c
ret