Function at 0x403a60
Capabilities:
Create thread

Disassembly:
mov eax, 0x2188
call fcn.0040c5b0
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x41042c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40
stosb byte es:[edi], al
call dword [0x412fdc]
mov eax, dword [0x410064]
add esp, 8
test eax, eax
je 0x403ab3
push 3
push 0
mov ecx, ebx
call fcn.004030b0
mov dword [0x410064], 0
mov eax, dword [esp + 0x219c]
sub eax, 0x8000
je 0x403c28
sub eax, 4
jne 0x403db2
mov eax, dword [esp + 0x21a0]
lea ebp, [eax + 0x1c]
push ebp
call dword [0x41302c]
test eax, eax
je 0x403db2
cmp dword [0x4104f4], 0x4000
jne 0x403b48
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov esi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x118]
mov edx, ecx
mov dword [esp + 0x114], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push eax
lea eax, [esp + 0x11c]
mov ecx, edx
push eax
and ecx, 3
push 0x4041f0
push 0
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2188
ret 8
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x412a9c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x403c15
push ebp
call dword [0x413028]
test eax, eax
je 0x403b8e
lea edx, [esp + 0x10]
mov edi, 0x410418
jmp 0x403ba6
push ebp
call dword [0x413024]
test eax, eax
je 0x403dc2
lea edx, [esp + 0x10]
mov edi, 0x410408
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x411bd8]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x403db2
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x411ad0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [0x411bd4], 2
mov dword [0x411bd8], 1
jmp 0x403db2
lea ecx, [esp + 0x10]
push 2
push ecx
mov ecx, ebx
call fcn.004030b0
jmp 0x403db2
mov edx, dword [esp + 0x21a0]
lea ebp, [edx + 0x1c]
push ebp
push 0x4103e4
push 0x80
call dword [0x412fdc]
add esp, 0xc
push ebp
call dword [0x41302c]
test eax, eax
je 0x403d9f
cmp dword [0x4104f4], 0x4000
jne 0x403cb8
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov esi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x118]
mov eax, ecx
mov dword [esp + 0x114], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x11c]
push ecx
push 0x4041c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2188
ret 8
push 0x4103c8
push 0x80
call dword [0x412fdc]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x412a9c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x403d91
push ebp
call dword [0x413028]
test eax, eax
je 0x403d11
lea edx, [esp + 0x10]
mov edi, 0x410418
jmp 0x403d29
push ebp
call dword [0x413024]
test eax, eax
je 0x403dc2
lea edx, [esp + 0x10]
mov edi, 0x410408
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x411bd8]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x403d9f
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x411ad0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [0x411bd4], 3
mov dword [0x411bd8], 1
jmp 0x403d9f
lea ecx, [esp + 0x10]
push 3
push ecx
mov ecx, ebx
call fcn.004030b0
push 0x4103ac
push 0x80
call dword [0x412fdc]
add esp, 8
push 0x410394
push 0x40
call dword [0x412fdc]
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2188
ret 8