Function at 0x4112f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41339d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x87f03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push 0
push eax
push ecx
push 0
push 0
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x411415
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00403290
movups xmm0, xmmword [str.Fatal:_Could_not_create_remote_thread_n]
mov edx, eax
mov dword [ebp - 0x18], 0x26
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], 0x2f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x87b1f4]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x87b204]
mov dword [edx + 0x20], ecx
mov ax, word [0x87b208]
mov word [edx + 0x24], ax
mov byte [edx + 0x26], 0
mov dword [ebp - 4], esi
cmp dword [edi + 0x238], esi
je 0x4113dd
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call fcn.0040a180
push edx
push eax
call fcn.0040ad50
mov ecx, dword [edi + 0x238]
lea eax, [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.00403340
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x411709
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4116ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4116ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0xf
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x41150e
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00403290
movups xmm0, xmmword [str.Warning:_Could_not_set_remote_thread_priority]
mov ecx, eax
mov dword [ebp - 0x18], 0x2d
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x2f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x87b21c]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x87b22c]
movq qword [ecx + 0x20], xmm0
mov eax, dword [0x87b234]
mov dword [ecx + 0x28], eax
mov al, byte [0x87b238]
mov byte [ecx + 0x2c], al
mov byte [ecx + 0x2d], 0
cmp dword [edi + 0x238], 0
mov dword [ebp - 4], 1
je 0x4114d1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call fcn.0040a180
push edx
push eax
call fcn.0040ad50
mov ecx, dword [edi + 0x238]
lea eax, [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.00403340
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x41150e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411504
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x411504
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e25c
add esp, 8
push 0x4e20
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41160b
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00403290
movups xmm0, xmmword [str.Warning:_The_remote_thread_did_not_respond_n]
mov ecx, eax
mov dword [ebp - 0x18], 0x2b
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x2f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x87b24c]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x87b25c]
movq qword [ecx + 0x20], xmm0
mov ax, word [0x87b264]
mov word [ecx + 0x28], ax
mov al, byte [0x87b266]
mov byte [ecx + 0x2a], al
mov byte [ecx + 0x2b], 0
cmp dword [edi + 0x238], 0
mov dword [ebp - 4], 2
je 0x4115d3
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call fcn.0040a180
push edx
push eax
call fcn.0040ad50
mov ecx, dword [edi + 0x238]
lea eax, [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.00403340
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x411709
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4116ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4116ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x41170d
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00403290
movups xmm0, xmmword [str.Warning:_Could_not_get_remote_thread_exit_code_n]
mov ecx, eax
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x2f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x87b278]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x87b288]
movq qword [ecx + 0x20], xmm0
mov eax, dword [0x87b290]
mov dword [ecx + 0x28], eax
mov ax, word [0x87b294]
mov word [ecx + 0x2c], ax
mov al, byte [0x87b296]
mov byte [ecx + 0x2e], al
mov byte [ecx + 0x2f], 0
cmp dword [edi + 0x238], 0
mov dword [ebp - 4], 3
je 0x4116d3
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call fcn.0040a180
push edx
push eax
call fcn.0040ad50
mov ecx, dword [edi + 0x238]
lea eax, [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.00403340
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x411709
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4116ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4116ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e25c
add esp, 8
xor al, al
jmp 0x41177b
cmp dword [ebp - 0x74], 0
jne 0x411772
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.00411a40
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 4
push str.Warning:_Could_not_confirm_that_the_library_was_loaded__exit_code:
push eax
call fcn.0040f7e0
push 0x87afd8
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.004011c0
add esp, 0x20
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00412620
lea ecx, [ebp - 0x40]
call fcn.004019f0
lea ecx, [ebp - 0x58]
call fcn.004019f0
lea ecx, [ebp - 0x70]
call fcn.004019f0
xor al, al
jmp 0x41177b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e6c4
mov esp, ebp
pop ebp
ret 8