Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
mov esi, dword [0x409008]
push edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
push 0
push 0x409238
push 0x40921c
mov dword [ebp - 0x14], 0
call esi
mov edi, dword [0x409004]
push eax
call edi
call eax
cmp dword [ebp - 0x20], 0
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], 0
jbe 0x4012a5
mov ecx, dword [ebx]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x4c]
push eax
push 5
push ecx
push 0
push 0x409200
push 0x40921c
mov dword [ebp - 0x4c], 0
call esi
push eax
call edi
call eax
cmp dword [ebp - 0x1c], 2
jbe 0x40128f
xor eax, eax
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebx]
push eax
push 0x4091ec
push 0x40921c
call esi
push eax
call edi
call eax
mov edx, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
push 1
push 1
xor ebx, ebx
push ebx
push 0x2000000
push edx
push 0x4091d8
push 0x4091bc
call esi
push eax
call edi
call eax
mov eax, dword [ebp - 8]
push eax
push 0x4091b0
push 0x409194
call esi
push eax
call edi
call eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
push ecx
push 4
lea edx, [ebp - 0x48]
push edx
push 0x13
push eax
push 0x409180
push 0x4091bc
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
call esi
push eax
call edi
call eax
test eax, eax
je 0x401110
mov eax, dword [ebp - 0x48]
jmp 0x401116
mov eax, dword [ebp - 8]
mov dword [ebp - 8], ebx
push ebx
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x409168
push 0x409150
mov dword [ebp - 0xc], ebx
call esi
push eax
call edi
call eax
test eax, eax
jne 0x40113a
mov dword [ebp - 0xc], ebx
push 0x44
lea ecx, [ebp - 0xac]
push ebx
push ecx
call fcn.004013a0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x570049
mov dword [ebp - 0x40], 0x4d0050
mov dword [ebp - 0x3c], 0x5f004a
mov dword [ebp - 0x38], 0x62000e
mov dword [ebp - 0x34], 0x5b005a
mov dword [ebp - 0x30], 0x5f0058
mov dword [ebp - 0x2c], 0x52004b
mov dword [ebp - 0x28], 0x4a
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x10], 0x44
mov ecx, dword [ebp - 0x10]
add esp, 0xc
and ecx, 0x80000001
jns 0x4011a4
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [ebp - 0xac], ecx
xor eax, eax
xor word [ebp + eax*2 - 0x44], 0x3e
inc eax
cmp eax, 0xf
jb 0x4011c0
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x68]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xac]
push eax
push ebx
push ecx
push 0x420
push 1
push ebx
push ebx
mov ebx, dword [ebp + 8]
push ebx
push 0
push edx
push 0x409138
push 0x4091bc
call esi
push eax
call edi
call eax
test eax, eax
jne 0x401243
push 0x4e20
call dword [section..rdata]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xac]
push ecx
push 0
push edx
push 0x420
push 1
push 0
push 0
push ebx
push 0
push eax
push 0x409138
push 0x4091bc
call esi
push eax
call edi
call eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x40125c
push eax
push 0x409120
push 0x409150
call esi
push eax
call edi
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
xor ebx, ebx
mov ecx, dword [ebp + ebx*4 - 0x58]
push ecx
push 0x4091b0
push 0x409194
call esi
push eax
call edi
call eax
inc ebx
cmp ebx, 3
jb 0x401270
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
inc eax
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x20]
jb 0x401055
mov edx, dword [ebp - 0x14]
push edx
push 0x409110
push 0x40921c
call esi
push eax
call edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret