Function at 0x10009d30
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x3d], 0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1000d6a0], eax
mov eax, dword [str.USER32.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x10009d85
xor eax, eax
jmp 0x1000a193
push 0x88
push 0
push 0x1000d6a0
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [0x1000d6a4], ecx
lea edx, [ebp - 0x3d]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.10008fa0
test eax, eax
je 0x10009feb
cmp dword [ebp - 0xc], 5
jne 0x10009dec
cmp dword [ebp - 4], 1
jb 0x10009dec
mov dword [0x1000d6a8], 0
movzx edx, byte [ebp - 0x3d]
cmp edx, 1
je 0x10009de7
mov eax, dword [0x1000d6a8]
add eax, 2
mov dword [0x1000d6a8], eax
jmp 0x10009e76
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.100085fd
test eax, eax
je 0x10009e76
cmp dword [ebp - 0xc], 6
jne 0x10009e15
cmp dword [ebp - 4], 0
jne 0x10009e15
mov dword [0x1000d6a8], 4
jmp 0x10009e76
cmp dword [ebp - 0xc], 6
jne 0x10009e2d
cmp dword [ebp - 4], 1
jne 0x10009e2d
mov dword [0x1000d6a8], 6
jmp 0x10009e76
cmp dword [ebp - 0xc], 6
jne 0x10009e45
cmp dword [ebp - 4], 2
jne 0x10009e45
mov dword [0x1000d6a8], 8
jmp 0x10009e76
cmp dword [ebp - 0xc], 6
jne 0x10009e5d
cmp dword [ebp - 4], 3
jne 0x10009e5d
mov dword [0x1000d6a8], 0xa
jmp 0x10009e76
cmp dword [ebp - 0xc], 0xa
jne 0x10009e6f
mov dword [0x1000d6a8], 0xc
jmp 0x10009e76
xor eax, eax
jmp 0x1000a193
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x10009e8c
cmp dword [ebp - 0x44], 0
je 0x10009e93
xor eax, eax
jmp 0x1000a193
mov ecx, dword [0x1000d6a8]
mov edx, dword [ecx*4 + 0x1000d0c8]
mov dword [0x1000d6b4], edx
mov eax, dword [0x1000d6a8]
mov ecx, dword [eax*4 + str._h_h_h]
mov dword [0x1000d6d4], ecx
mov edx, dword [0x1000d6a8]
mov eax, dword [edx*4 + 0x1000d138]
mov dword [0x1000d6d8], eax
mov ecx, dword [0x1000d6a8]
mov edx, dword [ecx*4 + 0x1000d170]
mov dword [0x1000d6dc], edx
call fcn.10009170
mov dword [0x1000d6b4], eax
call fcn.10009220
mov dword [0x1000d6b8], eax
cmp dword [0x1000d6b4], 0
je 0x10009f03
cmp dword [0x1000d6b8], 0
jne 0x10009f0a
xor eax, eax
jmp 0x1000a193
cmp dword [0x1000d6a8], 0xc
jne 0x10009f34
mov eax, dword [str.win32u.dll]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10009f34
mov ecx, dword [0x1000d6d4]
add ecx, 8
mov dword [0x1000d6d4], ecx
jmp 0x10009f5b
cmp dword [0x1000d6a8], 0xd
jne 0x10009f5b
mov edx, dword [str.win32u.dll]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10009f5b
mov eax, dword [0x1000d6d4]
sub eax, 4
mov dword [0x1000d6d4], eax
mov ecx, dword [0x1000d6ac]
neg ecx
sbb ecx, ecx
and ecx, 0x18
add ecx, 0x2a
mov dword [0x1000d6b0], ecx
mov edx, dword [0x1000d6ac]
neg edx
sbb edx, edx
and edx, 0x24
add edx, 0x34
mov dword [0x1000d6bc], edx
mov eax, dword [0x1000d6ac]
neg eax
sbb eax, eax
and eax, 0x1c
add eax, 0x24
mov dword [0x1000d6c4], eax
mov ecx, dword [0x1000d6c4]
add ecx, 4
mov dword [0x1000d6c8], ecx
cmp dword [0x1000d6ac], 0
je 0x10009fc1
mov edx, dword [0x1000d6c8]
add edx, 0xc
mov dword [ebp - 0x58], edx
jmp 0x10009fcc
mov eax, dword [0x1000d6c8]
add eax, 0x10
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [0x1000d6cc], ecx
mov edx, dword [0x1000d6ac]
neg edx
sbb edx, edx
and edx, 0x44
add edx, 0x5c
mov dword [0x1000d6d0], edx
mov dword [ebp - 0x3c], 0x30
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x10009000
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [0x1000d6a0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [str.SWL_Window_Class]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x1000a05f
xor eax, eax
jmp 0x1000a193
push 0
mov ecx, dword [0x1000d6a0]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [str.SWL_Window_Class]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1000a0e4
mov eax, dword [ebp - 0x48]
push eax
call fcn.100085ce
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x1000a0e4
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x50], 0
jmp 0x1000a0bb
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0x20
jae 0x1000a0e4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + edx*4], 0x10009000
jne 0x1000a0e2
mov ecx, dword [ebp - 0x50]
lea edx, [ecx*4 + 4]
mov dword [0x1000d6c0], edx
jmp 0x1000a0e4
jmp 0x1000a0b2
cmp dword [0x1000d6c0], 0
jne 0x1000a0f4
xor eax, eax
jmp 0x1000a193
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1000d718], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1000d71c], eax
push 0
push 0
push 0
push 0x10009750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000a18e
mov dword [ebp - 0x54], 0
cmp dword [0x1000d724], 0
jne 0x1000a15e
cmp dword [0x1000d720], 0xa
jae 0x1000a15e
cmp dword [ebp - 0x54], 0x64
jae 0x1000a15e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
jmp 0x1000a133
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
push 0
push 0x1b
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [0x1000d724]
mov esp, ebp
pop ebp
ret 4