Function at 0x401490
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be650
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x507a74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.00402f10
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402d30
add esp, 4
mov byte [ebp - 4], 1
push 0x4bf334
lea ecx, [ebp - 0x2c]
call fcn.004018a0
lea ecx, [ebp - 0x4c]
call fcn.004018c0
push eax
lea edx, [ebp - 0x68]
push edx
call fcn.00402da0
add esp, 8
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00401840
push 0x4bf338
lea ecx, [ebp - 0x2c]
call fcn.004018c0
push eax
call fcn.004a8391
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x401626
push 0x30
push 0
push 4
lea edx, [ebp - 0x84]
push edx
call fcn.00403050
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xc4]
call fcn.00401900
push eax
push 0
push 3
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00403050
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xcc]
call fcn.00401900
push eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.004018e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004018e0
mov byte [ebp - 0xa1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401840
mov al, byte [ebp - 0xa1]
jmp 0x40172b
push 0x40
call fcn.004a8268
add esp, 4
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0xac], 0
je 0x401656
mov ecx, dword [ebp - 0xac]
call fcn.00402980
mov dword [ebp - 0xd0], eax
jmp 0x401660
mov dword [ebp - 0xd0], 0
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
add ecx, 0x20
call fcn.00401860
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0xb4]
mov dword [edx], eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xb4]
mov ecx, dword [edx + 4]
add ecx, 4
call fcn.00401860
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x3c], edx
push 0
push 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
push ecx
push 0x402a60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebp - 0xad], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401840
mov al, byte [ebp - 0xad]
jmp 0x40172b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a81b0
mov esp, ebp
pop ebp
ret