Function at 0x40a0dd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
call fcn.0040a4dc
mov eax, 0x446ee2
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040138f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a116
push ebx
call fcn.0041fc51
add esp, 4
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040157c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a13f
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a14f
push ebx
call fcn.0041fc51
add esp, 4
mov eax, 0x446f0c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040138f
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a173
push ebx
call fcn.0041fc51
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call fcn.00401030
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a1a0
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a1b0
push ebx
call fcn.0041fc51
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x40a20a
mov eax, 0x446f18
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040138f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a1de
push ebx
call fcn.0041fc51
add esp, 4
lea eax, [ebp - 0xc]
push eax
push 0x45ac1d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a204
push ebx
call fcn.0041fc51
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x40a409
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x40fbc4
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 8], esp
je 0x40a262
push 0x2f9
push 0x4023f6e
push 6
call fcn.0041fc57
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40a291
push 0x2f9
push 0x4023f6e
push 6
call fcn.0041fc57
add esp, 0xc
mov eax, 0x446f2b
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040138f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a2b5
push ebx
call fcn.0041fc51
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.0040aa7f
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a2ce
push ebx
call fcn.0041fc51
add esp, 4
mov eax, 0x446f40
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040138f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a2f2
push ebx
call fcn.0041fc51
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.0040aa7f
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a30b
push ebx
call fcn.0041fc51
add esp, 4
mov eax, 0x446f50
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040138f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a32f
push ebx
call fcn.0041fc51
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.0040aa7f
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a348
push ebx
call fcn.0041fc51
add esp, 4
mov eax, 0x446f60
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040138f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a36c
push ebx
call fcn.0041fc51
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.0040aa7f
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a385
push ebx
call fcn.0041fc51
add esp, 4
mov eax, 0x446f70
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040138f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a3a9
push ebx
call fcn.0041fc51
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.0040aa7f
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a3c2
push ebx
call fcn.0041fc51
add esp, 4
push 1
push 2
push 0x45ac1d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x45ac1d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xec]
call fcn.0040aae4
push eax
push 0x45ac1d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.0040ab1f
jmp 0x40a4d8
mov eax, 0x446f80
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040138f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a42d
push ebx
call fcn.0041fc51
add esp, 4
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x168
call fcn.00420f00
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401333
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a472
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a482
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, 6
call fcn.004010cd
push 0x80000301
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40a4ab
mov eax, 0x434291
push eax
push 4
mov ebx, 0x300
call fcn.004201a0
add esp, 0x34
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a4ce
push ebx
call fcn.0041fc51
add esp, 4
push 0
call fcn.0041fc39
add esp, 4
mov esp, ebp
pop ebp
ret