Function at 0x426160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x138
push ebx
mov al, 0x40
push ebp
push esi
mov esi, dword [esp + 0x14c]
mov byte [esp + 0x31], al
mov byte [esp + 0x35], al
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strncmp]
lea eax, [esp + 0x34]
push 2
mov ebx, 1
xor ebp, ebp
push eax
push esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x40], 0x62
mov byte [esp + 0x42], 0
mov byte [esp + 0x44], 0x42
mov byte [esp + 0x46], 0
call edi
add esp, 0xc
test eax, eax
je 0x4261ca
lea ecx, [esp + 0x38]
push 2
push ecx
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x4261d1
mov dword [esp + 0x2c], ebx
add esi, 2
push 0x439c4c
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x42635e
cmp esi, ebp
je 0x4264b0
mov ebx, 0x64
cmp byte [esi], 0
je 0x4264b0
cmp dword [esp + 0x14], 0xa
jge 0x4264b0
lea edx, [esp + 0x18]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push esi
mov dword [esp + 0x74], 0
mov byte [esp + 0x60], 0x25
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], 0x2e
mov byte [esp + 0x63], 0x25
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], 0x2e
mov byte [esp + 0x66], 0x25
mov byte [esp + 0x67], bl
mov byte [esp + 0x68], 0x2d
mov byte [esp + 0x69], 0x25
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], 0x2e
mov byte [esp + 0x6c], 0x25
mov byte [esp + 0x6d], bl
mov byte [esp + 0x6e], 0x2e
mov byte [esp + 0x6f], 0x25
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], 0
call dword [sym.imp.MSVCRT.dll_sscanf]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov eax, ecx
add esp, 0x20
sub eax, edx
mov dword [esp + edi*4 + 0x120], eax
jns 0x4262b6
mov dword [esp + edi*4 + 0x120], 0
lea eax, [ecx + edx]
cmp eax, 0x168
mov dword [esp + edi*4 + 0xd0], eax
jle 0x4262d2
mov dword [esp + edi*4 + 0xd0], 0x168
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov eax, ecx
sub eax, edx
mov dword [esp + edi*4 + 0x80], eax
jns 0x4262f2
mov dword [esp + edi*4 + 0x80], 0
lea eax, [ecx + edx]
cmp eax, ebx
mov dword [esp + edi*4 + 0x58], eax
jle 0x426301
mov dword [esp + edi*4 + 0x58], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, ecx
sub eax, edx
mov dword [esp + edi*4 + 0xa8], eax
jns 0x426321
mov dword [esp + edi*4 + 0xa8], 0
lea eax, [ecx + edx]
cmp eax, ebx
mov dword [esp + edi*4 + 0xf8], eax
jle 0x426336
mov dword [esp + edi*4 + 0xf8], ebx
push 0x43df08
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x42634c
inc esi
inc edi
test esi, esi
mov dword [esp + 0x14], edi
jne 0x4261f5
jmp 0x4264b0
cmp esi, ebp
mov dword [esp + 0x10], esi
je 0x4264b0
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x4264b0
cmp dword [esp + 0x14], 0xa
jge 0x4264b0
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x25], al
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
mov byte [esp + 0x30], 0x25
mov byte [esp + 0x31], 0x78
mov byte [esp + 0x32], 0x2d
mov byte [esp + 0x33], 0x25
mov byte [esp + 0x34], 0x78
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x28]
xor edx, edx
mov dl, byte [esp + 0x2a]
xor ecx, ecx
mov ebx, dword [esp + 0x24]
mov cl, ah
and eax, 0xff
mov esi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
xor edx, edx
mov dl, byte [esp + 0x2e]
xor eax, eax
mov al, ch
add esp, 0x10
mov edi, edx
and ecx, 0xff
sub edx, esi
mov dword [esp + 0x28], ecx
mov dword [esp + ebx*4 + 0xf8], edx
jns 0x426415
xor edx, edx
mov dword [esp + ebx*4 + 0xf8], edx
jmp 0x426417
xor edx, edx
add esi, edi
mov edi, 0xff
cmp esi, edi
mov dword [esp + ebx*4 + 0xa8], esi
jle 0x426430
mov dword [esp + ebx*4 + 0xa8], edi
mov ecx, eax
sub ecx, ebp
mov dword [esp + ebx*4 + 0x58], ecx
jns 0x42643e
mov dword [esp + ebx*4 + 0x58], edx
add eax, ebp
cmp eax, edi
mov dword [esp + ebx*4 + 0x80], eax
jle 0x426452
mov dword [esp + ebx*4 + 0x80], edi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, esi
sub eax, ecx
mov dword [esp + ebx*4 + 0xd0], eax
jns 0x42646e
mov dword [esp + ebx*4 + 0xd0], edx
lea eax, [esi + ecx]
cmp eax, edi
mov dword [esp + ebx*4 + 0x120], eax
jle 0x426483
mov dword [esp + ebx*4 + 0x120], edi
mov eax, dword [esp + 0x10]
push 0x43df08
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x4264a3
inc eax
mov dword [esp + 0x10], eax
inc ebx
test eax, eax
mov dword [esp + 0x14], ebx
jne 0x42636a
mov ebp, dword [esp + 0x154]
mov ecx, dword [ebp + 4]
imul ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x164]
mov edi, eax
add esp, 4
test edi, edi
mov dword [edx], edi
jne 0x4264f5
mov eax, dword [esp + 0x158]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 4]
test eax, eax
je 0x42650b
imul ecx, dword [ebp + 8]
mov eax, case.0x42a5d4.22
jmp 0x426511
imul ecx, dword [ebp + 8]
xor eax, eax
mov edx, ecx
mov dword [esp + 0x10], 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
test eax, eax
jle 0x4267dc
mov eax, dword [esp + 0x158]
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 4]
xor ebx, ebx
test ecx, ecx
jle 0x4267b7
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x426657
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
jle 0x4267a0
mov eax, dword [esp + 0x2c]
test eax, eax
mov eax, dword [ebp + 8]
jne 0x426595
mov edx, dword [esp + 0x160]
imul eax, ebx
mov esi, dword [edx]
mov edx, dword [esp + 0x10]
add eax, esi
lea edi, [eax + edx]
mov al, byte [eax + edx]
cmp al, 1
je 0x4267a0
jmp 0x4265b5
mov edx, dword [esp + 0x160]
imul eax, ebx
mov esi, dword [edx]
mov edx, dword [esp + 0x10]
add eax, esi
lea edi, [eax + edx]
mov al, byte [eax + edx]
test al, al
je 0x4267a0
mov eax, dword [esp + 0x18]
xor edx, edx
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov dl, byte [esp + 0x1e]
mov esi, edx
xor edx, edx
mov dl, ah
and eax, 0xff
cmp dword [esp + 0x2c], 0
jne 0x42660f
cmp esi, dword [esp + ecx*4 + 0xf8]
jl 0x426645
cmp esi, dword [esp + ecx*4 + 0xa8]
jg 0x426645
cmp edx, dword [esp + ecx*4 + 0x58]
jl 0x426645
cmp edx, dword [esp + ecx*4 + 0x80]
jg 0x426645
cmp eax, dword [esp + ecx*4 + 0xd0]
jl 0x426645
cmp eax, dword [esp + ecx*4 + 0x120]
jg 0x426645
mov byte [edi], 1
jmp 0x426645
cmp esi, dword [esp + ecx*4 + 0xf8]
jl 0x426645
cmp esi, dword [esp + ecx*4 + 0xa8]
jg 0x426645
cmp edx, dword [esp + ecx*4 + 0x58]
jl 0x426645
cmp edx, dword [esp + ecx*4 + 0x80]
jg 0x426645
cmp eax, dword [esp + ecx*4 + 0xd0]
jl 0x426645
cmp eax, dword [esp + ecx*4 + 0x120]
jg 0x426645
mov byte [edi], 0
mov eax, dword [esp + 0x14]
inc ecx
cmp ecx, eax
jl 0x426568
jmp 0x4267a0
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x4267a0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x160]
test ecx, ecx
jne 0x42668e
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
imul ecx, ebx
add ecx, edx
cmp byte [ecx + edi], 1
je 0x4267a0
jmp 0x4266a2
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
imul edx, ebx
add edx, ecx
cmp byte [edx + edi], 0
je 0x4267a0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x20]
push ecx
mov eax, dword [eax]
push edx
mov edx, eax
lea ecx, [esp + 0x44]
and edx, 0xff
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x2c], eax
mov dl, byte [esp + 0x2e]
mov cl, ah
push ecx
push edx
call fcn.00426800
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + esi*4 + 0x138]
add esp, 0x18
test eax, eax
mov eax, dword [esp + 0x3c]
jne 0x426746
cmp eax, ecx
jl 0x426793
cmp eax, dword [esp + esi*4 + 0xd0]
jg 0x426793
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + esi*4 + 0x80]
cmp eax, ecx
jl 0x426793
cmp eax, dword [esp + esi*4 + 0x58]
jg 0x426793
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + esi*4 + 0xa8]
cmp eax, ecx
jl 0x426793
cmp eax, dword [esp + esi*4 + 0xf8]
jg 0x426793
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x160]
imul eax, ebx
add eax, dword [ecx]
mov byte [eax + edi], 1
jmp 0x426793
cmp eax, ecx
jl 0x426793
cmp eax, dword [esp + esi*4 + 0xd0]
jg 0x426793
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + esi*4 + 0x80]
cmp eax, ecx
jl 0x426793
cmp eax, dword [esp + esi*4 + 0x58]
jg 0x426793
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + esi*4 + 0xa8]
cmp eax, ecx
jl 0x426793
cmp eax, dword [esp + esi*4 + 0xf8]
jg 0x426793
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x160]
imul edx, ebx
add edx, dword [eax]
mov byte [edx + edi], 0
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x426669
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 4]
inc ebx
add ecx, 4
cmp ebx, eax
mov dword [esp + 0x18], ecx
jl 0x42654e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x15c]
mov edx, dword [ebp + 8]
inc ecx
add eax, esi
cmp ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
jl 0x42653d
mov ecx, dword [esp + 0x158]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret