Function at 0x40af20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xa
cmp dword [0x4f1140], 0
jne 0x40b26c
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x83c], eax
cmp dword [0x4f1140], 0
jne 0x40b262
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x10], eax
xor esi, esi
lea edi, [ebp - 8]
lea ebx, [ebp - 0x3c]
push 0x24
push ebx
push edi
push dword [esi*4 + 0x4c3dc0]
call fcn.0040bd90
add esp, 0x10
test eax, eax
jne 0x40afc2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x40afb4
movzx edx, byte [ecx + 0x1c]
test edx, edx
jne 0x40afa2
movzx edx, byte [ecx + 0x1d]
test edx, edx
je 0x40afb4
mov edx, dword [ebp - 0x83c]
cmp edx, dword [eax + 0xe4]
je 0x40b21a
push dword [eax + 0x100]
call fcn.0040b280
add esp, 4
inc esi
cmp esi, 4
jl 0x40af71
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40aff6
jle 0x40aff1
mov ecx, dword [ebp + 8]
xor eax, eax
movsx edx, byte [eax + ecx]
cmp edx, 0x30
jl 0x40b25b
cmp edx, 0x39
jg 0x40b25b
inc eax
cmp eax, esi
jl 0x40afd6
mov edi, 1
push 0x400
push 0
lea ebx, [ebp - 0x83c]
push ebx
call fcn.004a9020
add esp, 0xc
test esi, esi
je 0x40b077
test edi, edi
je 0x40b05d
mov byte [ebp - 0x82c], 0
mov dword [ebp - 0x830], 0x202d2065
mov dword [ebp - 0x834], 0x73756150
mov dword [ebp - 0x838], 0x206e6172
mov dword [ebp - 0x83c], 0x74726f46
push esi
push dword [ebp + 8]
push ebx
call fcn.0045d130
add esp, 0xc
mov byte [ebp + esi - 0x82c], 0xa
jmp 0x40b103
push esi
push dword [ebp + 8]
push ebx
call fcn.0045d270
add esp, 0xc
mov byte [ebp + esi - 0x83c], 0xa
jmp 0x40b103
mov dword [ebp - 0x808], 0xa2e65
mov dword [ebp - 0x80c], 0x756e6974
mov dword [ebp - 0x810], 0x6e6f6320
mov dword [ebp - 0x814], 0x6f74203e
mov dword [ebp - 0x818], 0x52433c20
mov dword [ebp - 0x81c], 0x726f203e
mov dword [ebp - 0x820], 0x52433c64
mov dword [ebp - 0x824], 0x6e616d6d
mov dword [ebp - 0x828], 0x6f632072
mov dword [ebp - 0x82c], 0x65746e45
mov dword [ebp - 0x830], 0x202d2065
mov dword [ebp - 0x834], 0x73756150
mov dword [ebp - 0x838], 0x206e6172
mov dword [ebp - 0x83c], 0x74726f46
mov ecx, ebx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x40b11c
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x40b107
dec eax
mov edi, eax
push edi
push ebx
push 0
call fcn.00413fb0
push 0x400
push 0
lea eax, [ebp - 0x43c]
push eax
call fcn.004a9020
add esp, 0x18
mov edx, dword [0x4f1140]
test edx, edx
je 0x40b16a
xor eax, eax
lea ecx, [ebp - 0xc]
push eax
push eax
push edx
push edx
push ecx
push 0x400
lea edx, [ebp - 0x43c]
push edx
push dword [ebp - 0x10]
call fcn.00421680
add esp, 0x20
jmp 0x40b184
call fcn.0045d3a0
push eax
push 0x400
lea edx, [ebp - 0x43c]
push edx
call fcn.0045d670
add esp, 0xc
movsx esi, byte [ebp - 0x43c]
cmp esi, 0xd
je 0x40b20d
call fcn.0045d3a0
mov edx, eax
mov eax, esi
mov esi, edx
lea ebx, [ebp - 0x43c]
cmp eax, 0xa
je 0x40b20d
push ebx
call fcn.0045da00
push edi
lea edx, [ebp - 0x83c]
push edx
push 0
call fcn.00413fb0
push 0x400
push 0
push ebx
call fcn.004a9020
add esp, 0x1c
mov ecx, dword [0x4f1140]
test ecx, ecx
je 0x40b1f2
xor edx, edx
lea eax, [ebp - 0xc]
push edx
push edx
push ecx
push ecx
push eax
push 0x400
push ebx
push dword [ebp - 0x10]
call fcn.00421680
add esp, 0x20
jmp 0x40b201
push esi
push 0x400
push ebx
call fcn.0045d670
add esp, 0xc
movsx eax, byte [ebp - 0x43c]
cmp eax, 0xd
jne 0x40b1a1
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
push 1
lea edx, [ebp - 4]
push edx
push eax
call fcn.00413fb0
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x40b248
mov byte [eax + 0x1c], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x40b248
mov byte [eax + 0x1d], 0
mov edx, dword [ebp - 8]
push dword [edx + 0x100]
call fcn.0040b280
add esp, 4
jmp 0x40afc8
xor edi, edi
jmp 0x40aff6
call fcn.004b3120
jmp 0x40af66
call fcn.004b3120
jmp 0x40af4b