Function at 0x10001380
Capabilities:
Create thread

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
xor ebx, ebx
or ecx, 0xffffffff
lea edi, [esp + 0x13]
xor eax, eax
xor ebp, ebp
mov byte [esp + 0x13], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x18], 0x51
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x19], 0x77
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
mov byte [esp + 0x1a], 0x57
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], bl
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x14], 0x5f
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov byte [esp + 0x15], 0x25
and ecx, 3
mov byte [esp + 0x16], 0x64
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
mov byte [esp + 0x17], bl
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, 0x2694
lea ecx, [esp + 0x120]
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x120]
push edx
push ebx
push 0xf001f
call fcn.10003480
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, ebx
je 0x100014a8
push ebx
push ebx
push ebx
push 6
push esi
call fcn.100033f0
cmp eax, ebx
je 0x100014a5
mov ecx, dword [eax + 8]
mov ebp, dword [eax + 4]
mov dword [0x10006034], ecx
mov edx, dword [eax + 0xc]
push eax
mov dword [0x10006048], edx
call fcn.10003420
push esi
call edi
cmp dword [0x10006048], ebx
je 0x100014c1
push ebx
call fcn.10001570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
cmp ebp, ebx
je 0x10001542
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
mov dword [0x10006070], ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push eax
call edi
push ebp
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
push 0xfffffffffffffffc
push ebp
je 0x10001517
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x10002060
push 0xfffffffffffffffc
push ebp
mov dword [0x1000606c], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push ebx
call esi
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x10002060
push 0xfffffffffffffffc
push ebp
mov dword [0x1000606c], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push ebx
call esi
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push ebx
push ebx
push 0x10001d00
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
je 0x10001564
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret