Function at 0x4012e0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push str.ConsoleWindowClass
call dword [0x4060e0]
cmp eax, ebx
je 0x401309
push 1
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x4060dc]
lea eax, [esp + 0x28]
mov dword [esp + 0x58], 0x46746553
push eax
mov dword [esp + 0x60], 0x50656c69
mov dword [esp + 0x64], 0x746e696f
mov dword [esp + 0x68], 0x7265
mov dword [esp + 0x50], 0x736f6c43
mov dword [esp + 0x54], 0x6e614865
mov dword [esp + 0x58], 0x656c64
mov dword [esp + 0x2c], 0x46746547
mov dword [esp + 0x30], 0x53656c69
mov dword [esp + 0x34], 0x657a69
mov dword [esp + 0x44], 0x64616552
mov dword [esp + 0x48], 0x656c6946
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], 0x61657243
mov dword [esp + 0x3c], 0x69466574
mov dword [esp + 0x40], 0x57656c
call fcn.00401000
add esp, 4
test eax, eax
jne 0x4013a1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret
lea ecx, [esp + 0x40]
push ecx
call fcn.00401000
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4013c1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x260
ret
lea edx, [esp + 0x58]
push edx
call fcn.00401000
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x4013e1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x260
ret
lea eax, [esp + 0x4c]
push eax
call fcn.00401000
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x401403
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x260
ret
lea ecx, [esp + 0x34]
push ecx
call fcn.00401000
add esp, 4
cmp eax, ebx
jne 0x401421
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x260
ret
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push 0x409cc0
mov dword [esp + 0x38], ebx
call eax
mov edi, eax
cmp edi, 0xffffffff
jne 0x401450
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x260
ret
push 2
push ebx
push 0xfffffffffffffff8
push edi
call ebp
lea edx, [esp + 0x1c]
push ebx
push edx
lea eax, [esp + 0x18]
push 8
push eax
push edi
call esi
push 2
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, 0xfffffff8
sub ecx, ebx
push ecx
push edi
call ebp
mov edx, dword [esp + 0x14]
push edx
call fcn.00401695
mov ecx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x1c]
push 0
push eax
push ecx
push ebx
push edi
call esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, 0xfffffff8
push 2
sub edx, ecx
push 0
sub edx, eax
push edx
push edi
call ebp
mov eax, dword [esp + 0x10]
push eax
call fcn.00401695
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x1c]
mov ebp, eax
push 0
push ecx
push edx
push ebp
push edi
call esi
push edi
call dword [esp + 0x1c]
push ebx
call fcn.004016a3
push ebx
lea edi, [ebx + eax*2 + 2]
call fcn.004016a3
mov ecx, dword [esp + 0x1c]
add esp, 8
inc eax
xor esi, esi
neg eax
lea eax, [ecx + eax*2]
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x40158f
mov edx, dword [esi + edi]
mov eax, dword [esi + edi + 4]
add esi, 4
mov dword [esp + 0x18], edx
add esi, 4
mov dword [esp + 0x24], eax
lea ebx, [esi + edi]
push ebx
call fcn.004016a3
lea esi, [esi + eax*2 + 2]
lea eax, [esi + edi]
push eax
mov dword [esp + 0x28], eax
call fcn.004016a3
push ebx
push 0x409ab8
lea ecx, [esp + 0x78]
push str._s_s
push ecx
lea esi, [esi + eax*2 + 2]
call dword [0x4060d8]
mov ebx, dword [esp + 0x30]
push 1
push ebx
lea edx, [esp + 0x88]
push ebp
push edx
call fcn.00401280
add esp, 0x28
test eax, eax
je 0x401443
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x68]
push eax
push ecx
push edx
add ebp, ebx
call fcn.004011c0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp esi, eax
jb 0x401501
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x260
ret