Function at 0x1005b150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x144
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x14c]
push ebx
push ebp
push esi
mov ebx, 1
push edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
cmp dword [0x101d0888], 0x45d3
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov al, al
mov edx, edx
mov eax, eax
cmp dword [0x101d089c], 0xffff92cc
cmp dword [0x101d0890], 0xffffff63
cmp dword [0x101d089c], 0xffff92cc
mov al, al
mov eax, eax
xor esi, esi
mov dword [esp + 0x20], esi
mov edi, edi
mov dword [esp + 0x34], ebp
cmp dword [0x101d0894], 0xffffe953
mov al, 0x40
mov byte [esp + 0x10], 0x62
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0
cmp dword [0x101d0888], 0xffffba2c
mov byte [esp + 0x14], 0x42
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0
cmp dword [0x101d0890], 0x9c
push 2
lea eax, [esp + 0x14]
push eax
push edi
call fcn.10130a34
add esp, 0xc
test eax, eax
je 0x1005b233
push 2
lea ecx, [esp + 0x18]
push ecx
push edi
call fcn.10130a34
add esp, 0xc
test eax, eax
jne 0x1005b246
mov dword [esp + 0x34], ebx
mov cl, cl
add edi, 2
cmp dword [0x101d089c], 0xffff92cc
push 0x10198bac
push edi
call fcn.1012e9d0
add esp, 8
test eax, eax
je 0x1005b4a2
mov ecx, ecx
cmp edi, ebp
je 0x1005b7eb
mov ebx, 0x64
jmp 0x1005b270
cmp esi, 0xa
jge 0x1005b7e7
cmp dword [0x101d0890], 0x9c
mov dword [esp + 0x38], ebp
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x40], ebp
mov dh, dh
mov dword [esp + 0x20], ebp
mov dword [esp + 0x134], ebp
mov dword [esp + 0x24], ebp
push eax
pop eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
nop
mov byte [esp + 0x13c], 0x25
mov byte [esp + 0x13d], bl
mov byte [esp + 0x13e], 0x2e
mov byte [esp + 0x13f], 0x25
mov byte [esp + 0x140], bl
mov byte [esp + 0x141], 0x2e
mov byte [esp + 0x142], 0x25
mov byte [esp + 0x143], bl
mov byte [esp + 0x144], 0x2d
mov byte [esp + 0x145], 0x25
mov byte [esp + 0x146], bl
mov byte [esp + 0x147], 0x2e
mov byte [esp + 0x148], 0x25
mov byte [esp + 0x149], bl
mov byte [esp + 0x14a], 0x2e
mov byte [esp + 0x14b], 0x25
mov byte [esp + 0x14c], bl
mov byte [esp + 0x14d], 0
cmp dword [0x101d0894], 0xffffe953
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x154]
push edx
push edi
call fcn.101302dd
add esp, 0x20
cmp dword [0x101d0884], 0xffffc29c
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov dword [esp + esi*4 + 0x6c], eax
push edx
pop edx
cmp eax, ebp
jge 0x1005b39d
mov dword [esp + esi*4 + 0x6c], ebp
cmp dword [0x101d08a0], 0x5de7
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + esi*4 + 0x44], edx
cmp dword [0x101d0888], 0x45d3
mov eax, 0x168
cmp edx, eax
jle 0x1005b3c3
mov dword [esp + esi*4 + 0x44], eax
nop
mov eax, dword [esp + 0x134]
sub eax, dword [esp + 0x18]
mov dword [esp + esi*4 + 0x94], eax
cmp dword [0x101d08a8], 0x389b
cmp eax, ebp
jge 0x1005b3ec
mov dword [esp + esi*4 + 0x94], ebp
mov ah, ah
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x18]
add edx, ecx
mov dword [esp + esi*4 + 0xbc], edx
cmp dword [0x101d0890], 0xffffff63
cmp edx, ebx
jle 0x1005b417
mov dword [esp + esi*4 + 0xbc], ebx
mov ebp, ebp
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x28]
mov dword [esp + esi*4 + 0x10c], eax
cmp dword [0x101d089c], 0xffff92cc
cmp eax, ebp
jge 0x1005b43d
mov dword [esp + esi*4 + 0x10c], ebp
mov bh, bh
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add edx, ecx
mov dword [esp + esi*4 + 0xe4], edx
cmp dword [0x101d08a0], 0x5de7
cmp edx, ebx
jle 0x1005b46d
mov dword [esp + esi*4 + 0xe4], ebx
cmp dword [0x101d088c], 0x6537
push 0x10198a34
push edi
call fcn.1012e9d0
add esp, 8
mov edi, eax
mov eax, eax
cmp edi, ebp
je 0x1005b490
add edi, 1
cmp dword [0x101d0890], 0x9c
add esi, 1
mov cl, cl
cmp edi, ebp
jne 0x1005b270
jmp 0x1005b7e7
push 0x10198ba8
push edi
call fcn.1012e9d0
add esp, 8
test eax, eax
je 0x1005b5ed
cmp dword [0x101d089c], 0xffff92cc
cmp edi, ebp
je 0x1005b7eb
mov ebx, 0x64
nop
cmp esi, 0xa
jge 0x1005b7e7
mov dl, dl
mov dword [esp + 0x38], ebp
cmp dword [0x101d0888], 0xffffba2c
mov dword [esp + 0x40], 1
cmp dword [0x101d0884], 0x3d63
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov ebp, ebp
mov byte [esp + 0x134], 0x23
mov byte [esp + 0x135], 0x25
mov byte [esp + 0x136], bl
mov byte [esp + 0x137], 0x2d
mov byte [esp + 0x138], 0x25
mov byte [esp + 0x139], bl
mov byte [esp + 0x13a], 0
cmp dword [0x101d0894], 0xffffe953
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x13c]
push edx
push edi
call fcn.101302dd
add esp, 0x10
mov edx, edx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x24]
mov dword [esp + esi*4 + 0x44], eax
cmp dword [0x101d0884], 0x3d63
cmp eax, ebp
jge 0x1005b581
mov dword [esp + esi*4 + 0x44], ebp
nop
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add edx, ecx
mov dword [esp + esi*4 + 0x6c], edx
mov cl, cl
mov eax, 0xff
cmp edx, eax
jle 0x1005b5a8
mov dword [esp + esi*4 + 0x6c], eax
cmp dword [0x101d088c], 0x6537
push 0x10198a34
push edi
call fcn.1012e9d0
add esp, 8
mov edi, eax
cmp dword [0x101d08a8], 0x389b
cmp edi, ebp
je 0x1005b5d3
add edi, 1
cmp dword [0x101d089c], 0xffff92cc
add esi, 1
cmp dword [0x101d0894], 0x16ac
cmp edi, ebp
jne 0x1005b4d0
jmp 0x1005b7e7
mov dword [esp + 0x24], edi
cmp dword [0x101d0890], 0xffffff63
cmp edi, ebp
je 0x1005b7eb
jmp 0x1005b607
xor ebp, ebp
cmp esi, 0xa
jge 0x1005b7e7
xor eax, eax
mov dword [esp + 0x1c], eax
mov bl, bl
mov dword [esp + 0x18], eax
cmp dword [0x101d089c], 0xffff92cc
nop
cmp dword [0x101d08a4], 0xfffff8aa
mov byte [esp + 0x134], 0x25
mov byte [esp + 0x135], 0x78
mov byte [esp + 0x136], 0x2d
mov byte [esp + 0x137], 0x25
mov byte [esp + 0x138], 0x78
mov byte [esp + 0x139], al
cmp dword [0x101d0898], 0xffffa30d
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x13c]
push edx
push eax
call fcn.101302dd
add esp, 0x10
cmp dword [0x101d0888], 0x45d3
movzx edi, byte [esp + 0x1a]
cmp dword [0x101d0890], 0xffffff63
movzx ebx, byte [esp + 0x19]
cmp dword [0x101d0894], 0xffffe953
mov ecx, dword [esp + 0x18]
and ecx, 0xff
mov ah, ah
movzx ebp, byte [esp + 0x1e]
cmp dword [0x101d088c], 0xffff9ac8
movzx edx, byte [esp + 0x1d]
mov dword [esp + 0x20], edx
mov dl, dl
mov edx, dword [esp + 0x1c]
and edx, 0xff
cmp dword [0x101d08a8], 0xffffc764
mov eax, ebp
sub eax, edi
mov dword [esp + esi*4 + 0xe4], eax
mov ebp, ebp
test eax, eax
jge 0x1005b711
mov dword [esp + esi*4 + 0xe4], 0
cmp dword [0x101d0884], 0xffffc29c
add edi, ebp
mov dword [esp + esi*4 + 0x10c], edi
mov esi, esi
cmp edi, 0xff
jle 0x1005b731
mov dword [esp + esi*4 + 0x10c], 0xff
push eax
pop eax
mov edi, dword [esp + 0x20]
mov eax, edi
sub eax, ebx
mov dword [esp + esi*4 + 0xbc], eax
push ebx
pop ebx
xor ebp, ebp
cmp eax, ebp
jge 0x1005b751
mov dword [esp + esi*4 + 0xbc], ebp
mov dl, dl
add ebx, edi
mov dword [esp + esi*4 + 0x94], ebx
cmp dword [0x101d08a8], 0x389b
mov edi, 0xff
cmp ebx, edi
jle 0x1005b776
mov dword [esp + esi*4 + 0x94], edi
mov bl, bl
mov eax, edx
sub eax, ecx
mov dword [esp + esi*4 + 0x6c], eax
cmp dword [0x101d0888], 0x45d3
cmp eax, ebp
jge 0x1005b79a
mov dword [esp + esi*4 + 0x6c], ebp
cmp dword [0x101d08a4], 0xfffff8aa
add ecx, edx
mov dword [esp + esi*4 + 0x44], ecx
push ebx
pop ebx
cmp ecx, edi
jle 0x1005b7b4
mov dword [esp + esi*4 + 0x44], edi
cmp dword [0x101d08a0], 0xffffa218
mov eax, dword [esp + 0x24]
push 0x10198a34
push eax
call fcn.1012e9d0
add esp, 8
mov dword [esp + 0x24], eax
nop
cmp eax, ebp
je 0x1005b7d8
add eax, 1
mov dword [esp + 0x24], eax
push eax
pop eax
add esi, 1
push ecx
pop ecx
cmp eax, ebp
jne 0x1005b605
xor ebp, ebp
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
imul ecx, dword [esi + 8]
push ecx
call fcn.1012de1c
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ecx], eax
cmp dword [0x101d08a0], 0xffffa218
mov eax, dword [ecx]
cmp eax, ebp
jne 0x1005b82b
mov edx, dword [esp + 0x3c]
push edx
call fcn.1012dedf
add esp, 4
mov ebp, ebp
xor eax, eax
jmp 0x1005bcae
cmp dword [esp + 0x34], ebp
je 0x1005b850
mov ecx, dword [esi + 4]
imul ecx, dword [esi + 8]
push ecx
push 1
push eax
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d08a4], 0xfffff8aa
jmp 0x1005b864
mov edx, dword [esi + 4]
imul edx, dword [esi + 8]
push edx
push ebp
push eax
call fcn.1012ea60
add esp, 0xc
mov cl, cl
cmp dword [0x101d089c], 0x6d33
cmp dword [0x101d089c], 0x6d33
cmp dword [esi + 8], ebp
jle 0x1005bc92
mov eax, dword [esp + 0x3c]
add eax, 1
mov dword [esp + 0x134], eax
nop
push edx
pop edx
mov ecx, dword [esp + 0x2c]
xor edi, edi
cmp dword [ecx + 4], edi
jle 0x1005bc74
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x24], ebx
lea esp, [esp]
cmp dword [esp + 0x38], 0
je 0x1005b9ea
cmp dword [0x101d08a8], 0x389b
xor ecx, ecx
cmp dword [esp + 0x20], ecx
jle 0x1005bc5d
mov edi, edi
cmp dword [esp + 0x34], 0
jne 0x1005b8f0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x30]
imul eax, ebp
add eax, dword [edx]
cmp byte [eax + edi], 1
jmp 0x1005b904
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x30]
imul edx, ebp
add edx, dword [eax]
cmp byte [edx + edi], 0
je 0x1005bc5d
movzx edx, byte [ebx + 1]
cmp dword [0x101d0894], 0x16ac
movzx esi, byte [ebx]
mov ah, ah
mov eax, dword [ebx - 1]
and eax, 0xff
cmp dword [0x101d0890], 0xffffff63
cmp dword [esp + 0x34], 0
jne 0x1005b98e
cmp edx, dword [esp + ecx*4 + 0xe4]
jl 0x1005b9d4
cmp edx, dword [esp + ecx*4 + 0x10c]
jg 0x1005b9d4
cmp esi, dword [esp + ecx*4 + 0xbc]
jl 0x1005b9d4
cmp esi, dword [esp + ecx*4 + 0x94]
jg 0x1005b9d4
cmp eax, dword [esp + ecx*4 + 0x6c]
jl 0x1005b9d4
cmp eax, dword [esp + ecx*4 + 0x44]
jg 0x1005b9d4
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x30]
imul eax, ebp
add eax, dword [edx]
mov byte [eax + edi], 1
cmp dword [0x101d0898], 0xffffa30d
jmp 0x1005b9d4
cmp edx, dword [esp + ecx*4 + 0xe4]
jl 0x1005b9d4
cmp edx, dword [esp + ecx*4 + 0x10c]
jg 0x1005b9d4
cmp esi, dword [esp + ecx*4 + 0xbc]
jl 0x1005b9d4
cmp esi, dword [esp + ecx*4 + 0x94]
jg 0x1005b9d4
cmp eax, dword [esp + ecx*4 + 0x6c]
jl 0x1005b9d4
cmp eax, dword [esp + ecx*4 + 0x44]
jg 0x1005b9d4
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x30]
imul edx, ebp
add edx, dword [eax]
mov byte [edx + edi], 0
mov esi, esi
mov ebx, dword [esp + 0x24]
add ecx, 1
cmp ecx, dword [esp + 0x20]
jl 0x1005b8d1
jmp 0x1005bc5d
cmp dword [esp + 0x40], 0
je 0x1005bafa
mov esi, esi
xor esi, esi
cmp dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
jle 0x1005bc5d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
cmp dword [0x101d0894], 0xffffe953
mov al, al
test edx, edx
jne 0x1005ba31
mov edx, dword [eax + 4]
imul edx, ebp
add edx, dword [ecx]
cmp byte [edx + edi], 1
jmp 0x1005ba3d
mov eax, dword [eax + 4]
imul eax, ebp
add eax, dword [ecx]
cmp byte [eax + edi], 0
je 0x1005bc5d
movzx edx, byte [ebx + 1]
mov ch, ch
movzx ecx, byte [ebx]
cmp dword [0x101d0888], 0x45d3
mov eax, dword [ebx - 1]
and eax, 0xff
cmp dword [0x101d08a8], 0xffffc764
add ecx, eax
add ecx, edx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
pop ecx
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x1005bab4
cmp eax, dword [esp + esi*4 + 0x44]
jl 0x1005badc
cmp eax, dword [esp + esi*4 + 0x6c]
jg 0x1005badc
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0x30]
imul esi, ebp
add esi, dword [ecx]
mov byte [esi + edi], 1
cmp dword [0x101d08a4], 0x755
mov esi, dword [esp + 0x24]
jmp 0x1005bae4
cmp eax, dword [esp + esi*4 + 0x44]
jl 0x1005badc
cmp eax, dword [esp + esi*4 + 0x6c]
jg 0x1005badc
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0x30]
imul esi, ebp
add esi, dword [ecx]
mov byte [esi + edi], 0
mov ah, ah
mov esi, dword [esp + 0x24]
jmp 0x1005bae4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esi, 1
cmp esi, dword [esp + 0x20]
mov dword [esp + 0x24], esi
jl 0x1005ba13
jmp 0x1005bc5d
mov bh, bh
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x1005bc5d
jmp 0x1005bb10
cmp dword [0x101d0894], 0xffffe953
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x30]
imul edx, ebp
add edx, dword [eax]
cmp dword [esp + 0x34], 0
jne 0x1005bb39
cmp byte [edx + edi], 1
jmp 0x1005bb3d
cmp byte [edx + edi], 0
je 0x1005bc5d
movzx ecx, byte [ebx + 1]
mov bl, bl
movzx edx, byte [ebx]
cmp dword [0x101d0890], 0xffffff63
mov eax, dword [ebx - 1]
and eax, 0xff
mov ecx, ecx
lea ebx, [esp + 0x18]
push ebx
lea ebx, [esp + 0x20]
push ebx
lea ebx, [esp + 0x30]
push ebx
push eax
push edx
push ecx
call fcn.100586f0
add esp, 0x18
nop
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x28]
jne 0x1005bbf6
cmp eax, dword [esp + esi*4 + 0x6c]
jl 0x1005bc4c
cmp eax, dword [esp + esi*4 + 0x44]
jg 0x1005bc4c
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + esi*4 + 0x94]
jl 0x1005bc4c
cmp eax, dword [esp + esi*4 + 0xbc]
jg 0x1005bc4c
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + esi*4 + 0x10c]
jl 0x1005bc4c
cmp eax, dword [esp + esi*4 + 0xe4]
jg 0x1005bc4c
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x30]
imul edx, ebp
add edx, dword [eax]
mov byte [edx + edi], 1
cmp dword [0x101d0898], 0x5cf2
jmp 0x1005bc4c
cmp eax, dword [esp + esi*4 + 0x6c]
jl 0x1005bc4c
cmp eax, dword [esp + esi*4 + 0x44]
jg 0x1005bc4c
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + esi*4 + 0x94]
jl 0x1005bc4c
cmp eax, dword [esp + esi*4 + 0xbc]
jg 0x1005bc4c
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + esi*4 + 0x10c]
jl 0x1005bc4c
cmp eax, dword [esp + esi*4 + 0xe4]
jg 0x1005bc4c
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x30]
imul edx, ebp
add edx, dword [eax]
mov byte [edx + edi], 0
cmp dword [0x101d08a8], 0xffffc764
mov ebx, dword [esp + 0x24]
add esi, 1
cmp esi, dword [esp + 0x20]
jl 0x1005bb10
mov ecx, dword [esp + 0x2c]
add edi, 1
add ebx, 4
cmp edi, dword [ecx + 4]
mov dword [esp + 0x24], ebx
jl 0x1005b8b0
mov edx, dword [esp + 0x160]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x134], edx
add ebp, 1
cmp ebp, dword [eax + 8]
jl 0x1005b890
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1012dedf
add esp, 4
cmp dword [0x101d0890], 0x9c
mov eax, 1
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1012e3ba
add esp, 0x144
ret