Function at 0x4067c2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
xor ebx, ebx
push ebx
call esi
or eax, 0x8001
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov byte [ebp - 8], bl
push 0xfffffffffffffff4
mov byte [ebp - 1], bl
mov byte [ebp - 7], bl
call esi
push 0xfffffffffffffff5
mov dword [0x4892c4], eax
call esi
push dword [ebp + 0x14]
mov dword [0x4892c0], eax
push dword [ebp + 8]
call fcn.0040becf
mov esi, dword [ebp + 0x10]
cmp esi, ebx
pop ecx
pop ecx
je 0x406a48
mov edi, 0x48abd8
lea ecx, [ebp - 0xc]
call fcn.0042460b
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00412dde
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], eax
call fcn.00403937
mov esi, dword [ebp + 0x10]
push 4
push esi
push 0x4761e4
call fcn.004257a3
add esp, 0x14
test al, al
je 0x406860
mov ax, word [esi + 8]
call fcn.004213da
test al, al
jne 0x406881
push 5
push esi
push str._EXEC
call fcn.004257a3
add esp, 0xc
test al, al
je 0x4068ea
mov ax, word [esi + 0xa]
call fcn.004213da
test al, al
je 0x4068ea
push 0x6592
mov ecx, edi
call fcn.00424699
mov eax, dword [0x48abd8]
push 0x6590
mov word [eax], bx
push dword [0x48abd8]
push 0x2713
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [0x48abd8]
call fcn.0046176a
inc eax
pop ecx
inc eax
push eax
mov ecx, edi
call fcn.00424699
push esi
lea ecx, [ebp - 0x10]
call fcn.0042a183
mov eax, dword [ebp - 0x10]
call fcn.00403cc6
lea ecx, [ebp - 0x10]
call fcn.00424686
mov ecx, edi
mov byte [0x48ae0e], bl
call fcn.00424686
push 4
push esi
push str.MAIN
call fcn.004257a3
add esp, 0xc
test al, al
je 0x406954
lea ecx, [esi + 8]
xor edx, edx
mov dx, word [ecx]
mov eax, edx
call fcn.004213da
test al, al
jne 0x406917
cmp dx, 0x2a
jne 0x406954
mov ax, word [ecx]
call fcn.004213da
mov dword [ebp + 0x10], ecx
lea ecx, [ebp + 0x10]
mov dl, al
mov byte [0x48ab86], bl
call fcn.00403937
cmp dl, bl
je 0x406a4d
push 3
push dword [ebp + 0x10]
push 0x4761d0
call fcn.00425759
add esp, 0xc
test al, al
je 0x406a4d
cmp byte [ebp - 1], 2
jge 0x40698a
push 0x48ab6c
mov eax, 0x10000
push eax
lea ecx, [ebp - 8]
push ecx
push 0x402d77
push eax
push ebx
mov byte [ebp - 8], 0x11
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x406987
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40698a
mov byte [ebp - 8], bl
mov al, byte [0x48aec4]
mov byte [0x48ab84], al
lea eax, [ebp - 0x1c]
push eax
push 0x402ea3
push 0x1000000
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_CreateFiber]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
push esi
mov dword [0x48ab88], eax
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
push ebx
mov ecx, 0x48aec0
call fcn.0040e851
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x4761ce
mov ecx, 0x48aef4
call fcn.00409aca
mov dword [0x48aeec], ebx
mov dword [0x48aef0], ebx
mov byte [0x48ae0e], bl
mov byte [ebp - 7], 0x20
mov esi, 0x139c
jmp 0x406a10
dec esi
js 0x406a15
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 8], bl
jne 0x406a05
mov eax, dword [0x48abe0]
cmp eax, ebx
je 0x406a6e
lea ecx, [ebp - 0xc]
mov byte [0x4892b4], 1
mov esi, eax
mov byte [ebp - 1], 2
call fcn.00424686
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0040becf
cmp esi, ebx
pop ecx
pop ecx
jne 0x40681c
or eax, 0xffffffff
jmp 0x406a91
add esi, 8
push esi
lea ecx, [ebp - 0x14]
call fcn.0042a183
push dword [ebp - 0x14]
mov ecx, 0x48aec0
call fcn.004209ca
lea ecx, [ebp - 0x14]
call fcn.00424686
cmp byte [0x48ad41], bl
je 0x406a7b
call fcn.0040b1fe
call fcn.00424c11
push eax
call fcn.004262c3
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00424686
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10