Function at 0x409d80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
cmp word [0x4116f0], 0
mov dword [ebp - 0xc], 0
jne 0x40a05a
push ebx
push esi
push edi
call dword [sym.imp.MSVCR110.dll___iob_func]
mov ebx, dword [ebp + 8]
add eax, 0x20
mov dword [ebp - 4], eax
mov esi, 1
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x409db8
sub ebx, ecx
xor edi, edi
lea edx, [ebx - 1]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], edx
test edx, edx
je 0x409e34
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
lea edx, [ebp + 8]
lea esp, [esp]
cmp byte [edi + ebx], 0x25
jne 0x409e2c
mov al, byte [edi + ebx + 1]
inc edi
cmp al, 0x66
je 0x409e23
add edx, 4
cmp al, 0x6c
je 0x409e1e
cmp al, 0x73
je 0x409dff
add esi, 0xa
jmp 0x409e29
mov ecx, dword [edx]
test ecx, ecx
je 0x409e29
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
jmp 0x409e10
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409e10
sub ecx, dword [ebp - 0x34]
add esi, ecx
jmp 0x409e29
add esi, 0x14
jmp 0x409e29
add edx, 8
add esi, 0x19
mov eax, dword [ebp - 8]
inc edi
cmp edi, eax
jb 0x409de0
mov ebx, dword [ebp - 0x38]
mov edi, dword [sym.imp.MSVCR110.dll_malloc]
add ebx, esi
cmp ebx, 0x200
ja 0x409e51
mov ebx, 0x200
lea esi, [ebp - 0x238]
jmp 0x409e6d
push ebx
call edi
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x409e6b
mov ebx, 0x200
lea esi, [ebp - 0x238]
jmp 0x409e6d
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.MSVCR110.dll__vsnprintf]
lea eax, [ebx + 1]
add eax, eax
push eax
mov byte [esi + ebx - 1], 0
call edi
mov edi, eax
add esp, 0x14
test edi, edi
je 0x409f90
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x23], 0x68436564
mov word [ebp - 0x25], 0x6957
mov dword [ebp - 0x2a], 0x54657479
mov dword [ebp - 0x30], 0x746c754d
mov word [ebp - 0x2c], 0x4269
mov byte [ebp - 0x26], 0x6f
mov word [ebp - 0x1e], 0x72
mov byte [ebp - 0x1f], 0x61
mov dword [ebp - 0x17], 0x2e32336c
mov word [ebp - 0x19], 0x656e
mov word [ebp - 0x1c], 0x654b
mov dword [ebp - 0x13], 0x6c6c64
mov byte [ebp - 0x1a], 0x72
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409f25
lea ecx, [ebx + 1]
push ecx
push edi
push 0xffffffffffffffff
push esi
push 8
push 0xfde9
call eax
test eax, eax
je 0x409f25
lea eax, [ebx + 1]
push eax
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x409f33
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
add esp, 4
jmp 0x409f96
push 0
push 0
lea ecx, [ebx + 1]
push ecx
push eax
push 0xffffffffffffffff
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x409f65
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCR110.dll_free]
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
add esp, 8
jmp 0x409f96
push edi
mov edi, dword [sym.imp.MSVCR110.dll_free]
call edi
add esp, 4
cmp ebx, 0x200
jbe 0x409f81
push dword [ebp - 0xc]
call edi
add esp, 4
mov eax, dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0xc], eax
mov ebx, 0x201
jmp 0x409f96
mov edi, dword [sym.imp.MSVCR110.dll_free]
mov al, byte [esi]
cmp al, 0x21
je 0x409fa0
cmp al, 0x40
jne 0x409fcf
cmp word [0x4116e0], 0
jne 0x409fb7
mov eax, dword [sym.imp.MSVCR110.dll___iob_func]
call eax
add eax, 0x40
mov dword [ebp - 4], eax
lea eax, [esi + 1]
mov esi, dword [ebp - 4]
push eax
push str.ERROR:__s
push esi
call dword [sym.imp.MSVCR110.dll_fprintf]
add esp, 0xc
jmp 0x40a027
cmp word [0x4116e8], 0
jne 0x40a024
cmp al, 0x5e
jne 0x40a016
cmp word [0x4116f4], 0
jne 0x40a024
cmp word [0x4116e0], 0
jne 0x409ffe
mov eax, dword [sym.imp.MSVCR110.dll___iob_func]
call eax
add eax, 0x40
mov dword [ebp - 4], eax
lea eax, [esi + 1]
mov esi, dword [ebp - 4]
push eax
push str.WARNING:__s
push esi
call dword [sym.imp.MSVCR110.dll_fprintf]
add esp, 0xc
jmp 0x40a027
cmp al, 0x2a
jne 0x40a05e
cmp word [0x4116d4], 0
jne 0x40a062
mov esi, dword [ebp - 4]
call dword [sym.imp.MSVCR110.dll___iob_func]
add eax, 0x20
cmp esi, eax
jne 0x40a047
call dword [sym.imp.MSVCR110.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR110.dll_fflush]
add esp, 4
cmp ebx, 0x200
jbe 0x40a057
push dword [ebp - 0xc]
call edi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x7e
jne 0x40a07a
lea eax, [esi + 1]
push eax
mov esi, dword [ebp - 4]
push 0x410400
push esi
call dword [sym.imp.MSVCR110.dll_fprintf]
add esp, 0xc
jmp 0x40a027
push esi
jmp 0x40a066