Function at 0x100034c0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
lea ebp, [esp - 0x444]
sub esp, 0x444
push 0xffffffffffffffff
push 0x100654d5
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp + 0x440], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x44c]
mov ebx, dword [ebp + 0x454]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x238]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp + 0x18], 0
lea ecx, [ebp + 0x238]
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 7
lea edx, [ecx + 2]
mov word [ebp + 0x18], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003540
sub ecx, edx
lea eax, [ebp + 0x238]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x18]
call fcn.10003e30
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x18]
mov edi, dword [ebp + 0x2c]
cmp edi, 8
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x28]
cmovae ecx, esi
push 0x12
push str.capture_helper.exe
push ecx
call fcn.100040c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10003903
mov edx, dword [ebp + 0x28]
lea ecx, [ebp + 0x18]
cmp edi, 8
push 0x16
cmovae ecx, esi
push str.capture_helper_x86.exe
push ecx
call fcn.100040c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10003903
mov edx, dword [ebp + 0x28]
lea ecx, [ebp + 0x18]
cmp edi, 8
push 0x16
cmovae ecx, esi
push str.capture_helper_x64.exe
push ecx
call fcn.100040c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10003903
mov eax, dword [ebp + 0x450]
cmp eax, 1
jne 0x100037d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp]
call fcn.10002f70
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp]
mov ecx, esp
push eax
call fcn.10003b10
call fcn.100031f0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x10003671
push 1
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10003671
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x10003903
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003662
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003963
push edx
push ecx
call fcn.10041ac4
add esp, 8
jmp 0x10003903
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x100036af
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100036a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003963
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov ebx, dword [ebp - 0x10]
lea eax, [ebp + 0x30]
push 0x104
push eax
push ebx
mov dword [0x10089360], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x100036dd
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor esi, esi
call fcn.10040350
cmp dword [0x10089368], esi
jne 0x100037c2
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
test eax, eax
mov dword [0x10089368], eax
mov ecx, 9
cmove esi, ecx
xor eax, eax
mov ecx, 0x10089364
xchg dword [ecx], eax
test esi, esi
jne 0x10003903
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10088574]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10089744]
cmp eax, dword [ecx + 4]
jle 0x10003762
push 0x10089744
call fcn.1004158f
add esp, 4
cmp dword [0x10089744], 0xffffffff
jne 0x10003762
push 0x1006bce0
call fcn.10041aaf
push 0x10089744
call fcn.10041545
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1002a460
push 0
push 0
call edi
mov dword [0x10089550], eax
call fcn.10020de0
mov esi, eax
cmp dword [esi + 4], 0
jne 0x1000379f
push 0
push 0
push 0
push 0x10020bb0
push 0
push 0
call edi
mov dword [esi + 4], eax
cmp dword [esi + 8], 0
jne 0x10003903
push 0
push 0
push 0
push 0x10020c50
push 0
push 0
call edi
mov dword [esi + 8], eax
jmp 0x10003903
xor eax, eax
mov ecx, 0x10089364
xchg dword [ecx], eax
jmp 0x10003903
test eax, eax
jne 0x100038f3
push dword [0x10089320]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword fs:[0x2c]
test ebx, ebx
mov ecx, dword [0x10088574]
setne byte [ebp - 0x10]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10089744]
cmp eax, dword [ecx + 4]
jle 0x10003833
push 0x10089744
call fcn.1004158f
add esp, 4
cmp dword [0x10089744], 0xffffffff
jne 0x10003833
push 0x1006bce0
call fcn.10041aaf
push 0x10089744
call fcn.10041545
add esp, 8
cmp dword [0x10089550], 0
je 0x1000387e
mov al, 1
mov ecx, 0x10089554
xchg byte [ecx], al
push 0x3e8
push dword [0x10089550]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10003868
push 0
push dword [0x10089550]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10089550]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10089550], 0
mov ecx, dword [0x10089558]
mov dword [0x10089558], 0
test ecx, ecx
je 0x10003898
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [0x1008955c]
mov dword [0x1008955c], 0
test ecx, ecx
je 0x100038b2
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [0x10089560]
mov dword [0x10089560], 0
test ecx, ecx
je 0x100038cc
mov eax, dword [ecx]
push 1
call dword [eax]
xor al, al
mov ecx, 0x10089555
xchg byte [ecx], al
test ebx, ebx
je 0x100038e2
call fcn.100332f0
mov byte [eax + 0x19], 1
call fcn.10020de0
push dword [ebp - 0x10]
mov ecx, eax
call fcn.10021860
jmp 0x10003903
cmp eax, 6
jne 0x10003903
test ebx, ebx
je 0x10003903
mov eax, dword [0x10089360]
mov dword [ebx], eax
mov edi, dword [ebp + 0x2c]
cmp edi, 8
jb 0x10003939
mov esi, dword [ebp + 0x18]
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x1000392f
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003963
push edi
push esi
call fcn.10041ac4
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x440]
xor ecx, ebp
call fcn.1004144e
lea esp, [ebp + 0x444]
pop ebp
ret 0xc
call fcn.1004a021
int3