Function at 0x4010d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x422390]
mov dword [ebp - 0x170], 0
push esi
mov esi, ecx
mov dword [ebp - 0x16c], esi
push edi
mov edi, edx
test eax, eax
je 0x401140
test edi, edi
je 0x401108
mov dword [edi], eax
mov edx, dword [eax*4 + 0x41da88]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [edx], ax
je 0x40139b
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
jmp 0x4013af
mov eax, dword [0x42238c]
test eax, eax
jne 0x4011a5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x6c64746e
push eax
mov dword [ebp - 0xc], 0x6c642e6c
mov word [ebp - 8], 0x6c
mov dword [ebp - 0x20], 0x476c7452
mov dword [ebp - 0x1c], 0x65567465
mov dword [ebp - 0x18], 0x6f697372
mov word [ebp - 0x14], 0x6e
call dword [0x418014]
test eax, eax
je 0x401198
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [0x418088]
mov dword [0x42238c], eax
jmp 0x40119d
mov eax, dword [0x42238c]
test eax, eax
je 0x401370
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], 0x11c
push ecx
call eax
test eax, eax
jne 0x401370
mov eax, dword [ebp - 0x164]
add eax, 0xfffffffc
cmp eax, 6
ja case.default.0x4012f8
jmp dword [eax*4 + 0x4013d0]
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x401210
cmp eax, 0xa
je 0x401200
xor edx, edx
mov ecx, 4
cmp eax, 0x5a
cmovne ecx, edx
mov dword [0x422390], ecx
jmp 0x401376
mov ecx, 3
mov dword [0x422390], ecx
jmp 0x401376
mov eax, dword [ebp - 0x158]
cmp eax, 2
jne 0x40122b
mov ecx, 1
mov dword [0x422390], ecx
jmp 0x401376
cmp eax, 1
jne 0x401370
mov ecx, 2
mov dword [0x422390], ecx
jmp 0x401376
mov eax, dword [ebp - 0x160]
sub eax, 0
je 0x4012d9
sub eax, 1
je 0x4012c9
sub eax, 1
je 0x40126a
xor ecx, ecx
mov dword [0x422390], ecx
jmp 0x401376
lea eax, [ebp - 0x44]
push eax
call dword [0x418090]
cmp byte [ebp - 0x4e], 1
jne 0x401291
cmp word [ebp - 0x44], 9
jne 0x401291
mov ecx, 7
mov dword [0x422390], ecx
jmp 0x401376
push 0x59
call dword [0x418170]
test eax, eax
jne 0x4012ad
mov ecx, 8
mov dword [0x422390], ecx
jmp 0x401376
push 0x59
call dword [0x418170]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 9
mov dword [0x422390], ecx
jmp 0x401376
mov ecx, 6
mov dword [0x422390], ecx
jmp 0x401376
mov ecx, 5
mov dword [0x422390], ecx
jmp 0x401376
mov eax, dword [ebp - 0x160]
cmp eax, 3
ja case.default.0x4012f8
jmp dword [eax*4 + 0x4013ec]
xor ecx, ecx
cmp byte [ebp - 0x4e], 1
setne cl
add ecx, 0xa
mov dword [0x422390], ecx
jmp 0x401376
xor ecx, ecx
cmp byte [ebp - 0x4e], 1
setne cl
add ecx, 0xc
mov dword [0x422390], ecx
jmp 0x401376
call fcn.00401030
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 0xf
mov dword [0x422390], ecx
jmp 0x401376
call fcn.00401030
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 0x11
mov dword [0x422390], ecx
jmp 0x401376
call fcn.00401030
xor ecx, ecx
test al, al
sete cl
lea ecx, [ecx*2 + 0x12]
mov dword [0x422390], ecx
jmp 0x401376
mov ecx, dword [0x422390]
test edi, edi
je 0x40137c
mov dword [edi], ecx
mov edx, dword [ecx*4 + 0x41da88]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [edx], ax
jne 0x40139f
xor ecx, ecx
jmp 0x4013b3
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4013a4
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00401870
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0040654e
mov esp, ebp
pop ebp
ret