Function at 0x4234c9
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, 0x4335ef
call fcn.004269c8
sub esp, 0x184
mov eax, dword [0x44de90]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push str.Ntdll.dll
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11d], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.NtQueryInformationThread
push edi
call esi
push 0x43e504
push edi
call esi
push str.ZwDuplicateObject
push edi
mov dword [ebp - 0x124], eax
call esi
push str.ZwQueryObject
push edi
mov dword [ebp - 0x13c], eax
call esi
push dword [ebp + 8]
mov dword [ebp - 0x138], eax
push ebx
push 0x7a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x4000
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x11c], 0x1000
call fcn.00426f80
pop ecx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x134]
push ebx
shl eax, 2
push eax
push esi
push 0x10
call dword [ebp - 0x124]
cmp eax, 0xc0000004
jne 0x4235a5
push esi
call fcn.00426f75
mov eax, dword [ebp - 0x11c]
add eax, eax
mov dword [ebp - 0x11c], eax
shl eax, 2
push eax
call fcn.00426f80
pop ecx
jmp 0x42355d
mov dword [ebp - 0x12c], ebx
mov eax, dword [ebp - 0x12c]
cmp eax, dword [esi]
jae 0x423844
shl eax, 4
lea esi, [eax + esi + 4]
mov eax, dword [ebp + 8]
cmp dword [esi], eax
jne 0x423833
push 4
push ebx
push ebx
lea eax, [ebp - 0x128]
push eax
movzx eax, word [esi + 6]
push 0xffffffffffffffff
push eax
push dword [ebp - 0x130]
call dword [ebp - 0x13c]
cmp eax, ebx
jne 0x423833
lea eax, [ebp - 0x11c]
push eax
push 0x38
lea eax, [ebp - 0x190]
push eax
push ebx
push dword [ebp - 0x128]
call dword [ebp - 0x138]
mov eax, dword [ebp - 0x168]
add eax, 2
push eax
mov dword [ebp - 0x11c], eax
call fcn.00426f80
pop ecx
mov edi, eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x11c]
mov dword [ebp - 0x148], edi
push edi
push 2
push dword [ebp - 0x128]
call dword [ebp - 0x138]
push str.File
push dword [edi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
call edi
test eax, eax
jne 0x4237f0
lea eax, [ebp - 0x144]
push eax
push ebx
push dword [ebp - 0x128]
mov dword [ebp - 0x144], ebx
push 0x423386
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0x64
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4236ca
lea eax, [ebp - 0x124]
push eax
push edi
mov dword [ebp - 0x124], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x124]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 0x128]
call esi
jmp 0x423833
mov eax, dword [ebp - 0x16c]
cmp eax, ebx
mov dword [ebp - 0x11c], 0x208
je 0x4236e4
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x11c]
call fcn.00426f80
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x150], eax
pop ecx
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x144]
push eax
push ebx
lea eax, [ebp - 0x158]
push eax
push 0x423395
push ebx
push ebx
mov dword [ebp - 0x154], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0x12c
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x423759
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x40
mov byte [ebp - 0x118], bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp - 0x124]
push 0x104
push dword [edi + 4]
lea eax, [ebp - 0x118]
push eax
call fcn.00427e54
lea eax, [ebp - 0x118]
push eax
call fcn.004233ae
add esp, 0x10
push dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4237e3
push 1
push ebx
push ebx
lea eax, [ebp - 0x140]
push eax
movzx eax, word [esi + 6]
push 0xffffffffffffffff
push eax
push dword [ebp - 0x130]
mov dword [ebp - 0x140], ebx
call dword [ebp - 0x13c]
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x11d], 1
push edi
call fcn.00426f75
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
pop ecx
mov esi, dword [ebp - 0x148]
push str.Port
push dword [esi + 4]
call edi
test eax, eax
je 0x42382c
push 0x44101c
push dword [esi + 4]
call edi
test eax, eax
je 0x42382c
push str.Event
push dword [esi + 4]
call edi
test eax, eax
je 0x42382c
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00426f75
pop ecx
inc dword [ebp - 0x12c]
mov esi, dword [ebp - 0x134]
jmp 0x4235ab
push esi
call fcn.00426f75
pop ecx
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x11d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00425221
pop edi
pop esi
pop ebx
leave
ret