Function at 0x1000b5a0
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2058
call fcn.1000b940
mov dword [ebp - 8], 0xffffffff
push str._f___38asx___
lea ecx, [ebp - 0x320]
call fcn.10002a50
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x5f4], eax
push 0x1000e1cc
lea ecx, [ebp - 0x320]
call fcn.10002a50
push eax
mov eax, dword [ebp - 0x5f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
push 0x1000e474
lea ecx, [ebp - 0x320]
call fcn.10002a50
push eax
mov ecx, dword [ebp - 0x5f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000b260
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000b63b
mov eax, dword [ebp - 8]
jmp 0x1000b88e
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x5f0]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1000b420
add esp, 0x20
test eax, eax
je 0x1000b881
mov dword [ebp - 0x5fc], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x34]
cmp eax, dword [ebp - 0x1c]
jne 0x1000b6db
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x18]
jb 0x1000b6db
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5fc], edx
push 0x1000e1b8
lea ecx, [ebp - 0x320]
call fcn.10002a50
push eax
mov eax, dword [ebp - 0x5f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x600], eax
lea ecx, [ebp - 0x5f8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x5fc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0x600]
jmp 0x1000b774
call fcn.1000b240
test eax, eax
je 0x1000b774
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1000b3b0
add esp, 8
test eax, eax
je 0x1000b71e
push 0x40
push 0x3000
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x10011288]
mov dword [ebp - 0x5fc], eax
cmp dword [ebp - 0x5fc], 0
jne 0x1000b774
mov edx, dword [ebp + 0xc]
push edx
call fcn.1000b2c0
add esp, 4
test eax, eax
je 0x1000b774
push 0x40
push 0x3000
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [0x10011288]
mov dword [ebp - 0x5fc], eax
cmp dword [ebp - 0x5fc], 0
je 0x1000b774
mov edx, dword [ebp - 0x5fc]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000b300
add esp, 0xc
cmp dword [ebp - 0x5fc], 0
je 0x1000b85a
lea edx, [ebp - 0x5f8]
push edx
push 4
lea eax, [ebp - 0x5fc]
push eax
mov ecx, dword [ebp - 0x54c]
add ecx, 8
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x5fc]
mov dword [eax + 0x34], ecx
lea edx, [ebp - 0x5f8]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x5fc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0x14]
movzx ecx, al
test ecx, ecx
je 0x1000b831
mov dword [ebp - 0x5f0], 0x10007
mov edx, dword [ebp - 0x5fc]
cmp edx, dword [ebp - 0x1c]
jne 0x1000b7fb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp + 0xc]
add ecx, dword [edx + 0x28]
mov dword [ebp - 0x540], ecx
jmp 0x1000b80d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x5fc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x540], ecx
lea edx, [ebp - 0x5f0]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000b858
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0xffffffff
jmp 0x1000b881
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret