joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432e50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 4], eax
mov dword [esp], 0x105
mov ebx, 0x105
push 0
push 1
push 0x105
call fcn.004143e0
add esp, 0xc
mov esi, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, esp
nop
nop
nop
nop
nop
nop
nop
push ebx
push esi
push dword [esp + 0x28]
push dword [esp + 0x28]
call ebp
cmp eax, 0xea
jne 0x432ebe
push 0
push 1
push dword [esp + 8]
push 1
push edi
push esi
call fcn.00414480
add esp, 0x18
mov esi, eax
mov ebx, dword [esp]
jmp 0x432e90
test eax, eax
je 0x432ecd
push esi
call fcn.00414470
add esp, 4
xor esi, esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046ea50
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x432ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov esi, dword [0x4c2010]
xor esi, esp
mov dword [esp + 8], esi
mov dword [esp], 4
mov esi, esp
lea edi, [esp + 4]
push esi
push edx
push edi
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
xor ecx, 4
or ecx, eax
mov eax, dword [esp + 4]
xor eax, 4
or eax, ecx
sete bl
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0046ea50
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
ret

Function at 0x432f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x20]
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 8], eax
mov ebx, esp
lea eax, [esp + 4]
push ebx
push 0
push eax
push 0
push dword [esp + 0x34]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
test eax, eax
jne 0x432fef
cmp dword [esp + 4], 1
jne 0x432fef
mov ebp, dword [esp]
add ebp, 1
push 0
push 1
push ebp
call fcn.004143e0
add esp, 0xc
mov ecx, edi
mov edi, eax
push ebx
push eax
lea eax, [esp + 0xc]
push eax
push 0
push dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x432fe6
cmp dword [esp + 4], 1
jne 0x432fe6
mov eax, dword [esp]
cmp eax, ebp
jb 0x432fde
push 0x6c
push str._home_simon_mem_.build_workdirs_bob_u160jzna_putty_windows_utils_registry.c
push str.size___allocsize
call fcn.0047ef54
add esp, 0xc
mov eax, dword [esp]
mov byte [edi + eax], 0
mov esi, edi
jmp 0x432fef
push edi
call fcn.00414470
add esp, 4
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0046ea50
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x433010
Capabilities:
Set registry value

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push ebx
call fcn.00482c50
add esp, 4
add eax, 1
push eax
push ebx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete al
pop esi
pop edi
pop ebx
ret
Function at 0x433050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 8], eax
mov ebp, esp
lea ebx, [esp + 4]
push ebp
push 0
push ebx
push 0
push dword [esp + 0x34]
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
test eax, eax
jne 0x4330fc
cmp dword [esp + 4], 7
jne 0x4330fc
call fcn.00414720
mov edi, eax
mov eax, dword [esp]
add eax, 2
push eax
push edi
call fcn.00414640
add esp, 8
push ebp
push eax
push ebx
push 0
push dword [esp + 0x34]
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4330f3
cmp dword [esp + 4], 7
jne 0x4330f3
push dword [esp]
push edi
call fcn.00414680
add esp, 8
nop
nop
nop
nop
nop
nop
push 0
push edi
call fcn.004146f0
add esp, 8
test al, al
jne 0x4330d0
mov eax, edi
add eax, 0xc
push 0
push eax
call fcn.00413be0
add esp, 8
mov esi, edi
jmp 0x4330fc
push edi
call fcn.004147e0
add esp, 4
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0046ea50
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x435250
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp eax, dword [esi]
je 0x43527d
push 0xa6
push str._home_simon_mem_.build_workdirs_bob_u160jzna_putty_crypto_mpint.c
push str.x0__nw__x1__nw
call fcn.0047ef54
add esp, 0xc
and ebx, 1
neg ebx
mov dword [esp], ebx
cmp dword [edi], 0
je 0x4352b4
xor eax, eax
nop
nop
nop
nop
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esp]
and ecx, edx
mov edx, dword [edi + 4]
xor dword [edx + eax*4], ecx
mov edx, dword [esi + 4]
xor dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [edi]
jb 0x435290
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x43d4b0
Capabilities:
Create pipe
Create process on windows
Create reverse shell

Disassembly:
push edi
push esi
sub esp, 0x7c
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 0x78], eax
mov dword [esp + 0x54], 0xc
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 1
lea esi, [esp + 0x54]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x6c]
push 0
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x43d665
lea eax, [esp + 0x74]
lea ecx, [esp + 0x70]
push 0
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x43d635
lea eax, [esp + 0x60]
lea ecx, [esp + 0x64]
push 0
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x43d647
mov esi, dword [esp + 0x8c]
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [esp + 0x7c]
call edi
push 0
push 1
push dword [esp + 0x74]
call edi
mov eax, dword [esp + 0x64]
test eax, eax
je 0x43d561
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x10], 0x44
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], 0x100
mov word [esp + 0x42], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
push esi
call fcn.00413af0
add esp, 4
mov esi, eax
mov eax, esp
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 0x8000020
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
call fcn.00414470
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp]
call esi
push dword [esp + 4]
call esi
push dword [esp + 0x70]
call esi
push dword [esp + 0x68]
call esi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x43d617
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [esp + 0x68]
push dword [esp + 0x74]
push dword [esp + 0x80]
push edi
call fcn.0045e400
add esp, 0x14
xor esi, esi
jmp 0x43d684
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x6c]
call esi
push dword [esp + 0x68]
jmp 0x43d663
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x6c]
call esi
push dword [esp + 0x68]
call esi
push dword [esp + 0x74]
call esi
push dword [esp + 0x70]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417110
add esp, 4
push eax
push str.Unable_to_create_pipes_for_proxy_command:__s
call fcn.00413aa0
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0046ea50
mov eax, esi
add esp, 0x7c
pop esi
pop edi
ret
Function at 0x449e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov dword [esp + 0xc], edx
mov ebp, dword [esp + 0xa8]
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 0x88], eax
push ecx
mov dword [esp + 0xc], ecx
call dword [ecx]
add esp, 4
mov esi, eax
test eax, eax
je 0x449e6c
mov eax, dword [esi]
push esi
call dword [eax + 4]
add esp, 4
mov dword [esp], esi
test ebp, ebp
jle 0x449f83
mov esi, dword [esp + 0xa4]
mov dword [esp + 4], 0
jmp 0x449ea3
add dword [esp + 4], 1
add esi, edi
mov ebp, dword [esp + 0x10]
sub ebp, edi
jle 0x449f83
mov ebx, dword [esp + 8]
mov edi, dword [ebx + 0x14]
cmp ebp, edi
mov dword [esp + 0x10], ebp
cmovbe edi, ebp
mov ebp, dword [esp]
mov eax, dword [ebp]
push ebp
call dword [eax + 4]
add esp, 4
cmp dword [ebx + 0x14], 0x73
jb 0x449edd
push 0x3c0
push str._home_simon_mem_.build_workdirs_bob_u160jzna_putty_crypto_rsa.c
push str.h__hlen___MAX_HASH_LEN
call fcn.0047ef54
add esp, 0xc
push dword [esp + 0xa0]
push dword [esp + 0x10]
push dword [ebp + 4]
call fcn.00413b60
add esp, 0xc
push dword [esp + 4]
push dword [ebp + 4]
call fcn.00413c90
add esp, 8
mov eax, dword [ebp]
lea ecx, [esp + 0x16]
push ecx
push ebp
call dword [eax + 0xc]
add esp, 8
test edi, edi
jle 0x449e90
lea edx, [edi - 1]
mov eax, edi
and eax, 3
xor ecx, ecx
cmp edx, 3
jb 0x449f5a
mov edx, edi
and edx, 0xfffffffc
xor ecx, ecx
nop
movzx ebx, byte [esp + ecx + 0x16]
xor byte [esi + ecx], bl
movzx ebx, byte [esp + ecx + 0x17]
xor byte [esi + ecx + 1], bl
movzx ebx, byte [esp + ecx + 0x18]
xor byte [esi + ecx + 2], bl
movzx ebx, byte [esp + ecx + 0x19]
xor byte [esi + ecx + 3], bl
add ecx, 4
cmp edx, ecx
jne 0x449f30
test eax, eax
je 0x449e90
lea edx, [esi + ecx]
add ecx, esp
add ecx, 0x16
xor ebp, ebp
nop
nop
nop
nop
movzx ebx, byte [ecx + ebp]
xor byte [edx + ebp], bl
add ebp, 1
cmp eax, ebp
jne 0x449f70
jmp 0x449e90
mov ecx, dword [esp]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
add esp, 4
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0046ea50
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44a0e0
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
push 0x4adab9
push dword [eax]
call fcn.00480968
add esp, 8
test eax, eax
je 0x44a156
mov esi, eax
mov ebp, dword [esp + 0x14]
mov dword [ebp + 4], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x44a16d
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
add eax, dword [ebp]
push esi
push ecx
push 1
push eax
call fcn.00480e79
add esp, 0x10
mov edi, eax
push esi
call fcn.004803b2
add esp, 4
test eax, eax
jne 0x44a15d
mov eax, dword [ebp + 4]
test edi, edi
je 0x44a164
add eax, edi
mov dword [ebp + 4], eax
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x44a120
jmp 0x44a167
mov ebx, 2
jmp 0x44a1a7
mov ebx, 2
jmp 0x44a19e
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp eax, ecx
jne 0x44a181
push esi
call fcn.00480747
add esp, 4
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], edx
push esi
call fcn.0048025d
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x45d290
Capabilities:
Get common file path

Disassembly:
push esi
cmp dword [0x4c3954], 0
jne 0x45d2f0
push dword [0x4c3958]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, dword [0x4c3958]
jb 0x45d2f0
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0
push 1
push eax
push 1
push 0x4c3958
push dword [0x4c3954]
call fcn.00414480
add esp, 0x18
mov dword [0x4c3954], eax
push dword [0x4c3958]
push eax
call esi
cmp eax, dword [0x4c3958]
jae 0x45d2c0
mov eax, dword [0x4c3954]
pop esi
ret

Function at 0x45d460
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x2c]
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
xor esi, esi
call fcn.00415420
test al, al
je 0x45d4b2
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
xor esi, esi
push edi
push eax
push ecx
push 0x1f0001
call fcn.00417db0
add esp, 0x10
test al, al
je 0x45d508
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov dword [esp], 0xc
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov eax, esp
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x45d4e6
mov esi, eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x45d508
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417110
add esp, 4
push eax
push ebx
push str.CreateMutex___s___failed:__s
call fcn.00413aa0
add esp, 0xc
mov dword [edi], eax
xor esi, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45d517
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45d526
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0046ea50
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
ret
Function at 0x45d560
Capabilities:
Compare security identifiers

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x20]
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 8], eax
push 9
push str..pipe_
push esi
call fcn.00482ce0
add esp, 0xc
test eax, eax
je 0x45d59e
push 0x16
push str._home_simon_mem_.build_workdirs_bob_u160jzna_putty_windows_named_pipe_client.c
push str.strncmp_pipename___.pipe___9___0
call fcn.0047ef54
add esp, 0xc
lea eax, [esi + 9]
push 0x5c
push eax
call fcn.004718e0
add esp, 8
test eax, eax
je 0x45d5c4
push 0x17
push str._home_simon_mem_.build_workdirs_bob_u160jzna_putty_windows_named_pipe_client.c
push str.strchr_pipename__9_____NULL
call fcn.0047ef54
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
mov ebp, esi
push esi
call edi
cmp eax, 0xffffffff
jne 0x45d61c
call ebx
cmp eax, 0xe7
jne 0x45d664
push 0
mov esi, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
jne 0x45d5d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417110
add esp, 4
push eax
push esi
push str.Error_waiting_for_named_pipe__s:__s
jmp 0x45d67a
mov esi, eax
call fcn.00417c60
test eax, eax
je 0x45d684
mov edi, eax
mov eax, esp
lea ecx, [esp + 4]
push eax
push 0
push 0
push 0
push ecx
push 1
push 6
push esi
call dword [0x4c3430]
test eax, eax
je 0x45d6a2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417110
add esp, 4
push eax
push str.Unable_to_get_named_pipe_security_information:__s
jmp 0x45d6d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417110
add esp, 4
push eax
push ebp
push str.Unable_to_open_named_pipe__s:__s
call fcn.00413aa0
add esp, 0xc
jmp 0x45d6da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417110
add esp, 4
push eax
push str.Unable_to_get_user_SID:__s
jmp 0x45d6d2
push edi
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x45d6bc
push dword [esp]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x45d6e5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push str.Owner_of_named_pipe__s_is_not_us
call fcn.00413aa0
add esp, 8
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov esi, 0xffffffff
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0046ea50
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x45d770
Capabilities:
Create pipe

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 0xc], eax
push 0
push 0x34
push 1
call fcn.004143e0
add esp, 0xc
mov esi, eax
mov dword [eax + 0x30], 0x49f804
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], 0
mov dword [eax], 0
push ebx
call fcn.00413af0
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi + 0x24], 0
push 9
push str..pipe_
push ebx
call fcn.00482ce0
add esp, 0xc
test eax, eax
je 0x45d7f6
push 0xd5
push str._home_simon_mem_.build_workdirs_bob_u160jzna_putty_windows_named_pipe_server.c
push str.strncmp_pipename___.pipe___9___0
call fcn.0047ef54
add esp, 0xc
lea ebp, [esi + 0x2c]
lea ebx, [esi + 4]
mov eax, dword [esp + 0x24]
add eax, 9
push 0x5c
push eax
call fcn.004718e0
add esp, 8
test eax, eax
je 0x45d829
push 0xd6
push str._home_simon_mem_.build_workdirs_bob_u160jzna_putty_windows_named_pipe_server.c
push str.strchr_pipename__9_____NULL
call fcn.0047ef54
add esp, 0xc
mov edi, esi
add edi, 0x30
push ebp
push ebx
push esi
push 0xc0000000
call fcn.00417db0
add esp, 0x10
test al, al
je 0x45d8fc
mov dword [esp], 0xc
mov eax, dword [esi]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov eax, esp
push eax
push 0
push 0x1000
push 0x1000
push 0xff
push 8
push 0x40080003
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x45d8d8
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x20], eax
push esi
push 0x45d920
push eax
call fcn.004329a0
add esp, 0xc
mov dword [esi + 0x24], eax
mov ecx, esi
xor edx, edx
call fcn.0045d930
jmp 0x45d8fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417110
add esp, 4
push eax
push dword [esp + 0x28]
push str.unable_to_create_named_pipe__s:__s
call fcn.00413aa0
add esp, 0xc
mov dword [ebp], eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0046ea50
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x45d930
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov esi, ecx
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 0xc], eax
lea ebp, [ecx + 0x10]
jmp 0x45d991
mov dword [esp], 0xc
mov eax, dword [esi]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov eax, esp
push eax
push 0
push 0x1000
push 0x1000
push 0xff
push 8
push 0x40000003
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x45d9f1
test bl, 1
jne 0x45d9c0
push ebp
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x45d9c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45d9c2
mov edi, eax
cmp eax, 0x217
je 0x45d9c2
jmp 0x45da4b
xor ebx, ebx
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x28]
mov dword [esp], edi
mov ecx, dword [eax]
mov edx, dword [esp]
push edx
push 0x45daf0
push eax
call dword [ecx + 0x10]
add esp, 0xc
test eax, eax
je 0x45d950
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45d950
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call fcn.00417110
add esp, 4
push eax
push str.Error_while_listening_to_named_pipe:__s
call fcn.00413aa0
add esp, 8
mov ebx, eax
push dword [esi + 8]
call fcn.00410820
add esp, 4
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
push edi
push ebx
push 0
push eax
push 1
push ecx
call dword [edx]
add esp, 0x18
push ebx
call fcn.00414470
add esp, 4
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0046ea50
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
cmp edi, 0x3e5
jne 0x45d9f9
jmp 0x45da38

Function at 0x45fd70
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 4], eax
push 0
push 0x102c
push 1
call fcn.004143e0
add esp, 0xc
mov esi, eax
mov dword [eax], 0
lea edi, [eax + 4]
mov dword [eax + 4], ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1028], ebx
mov byte [esi + 0x16], 0
mov word [esi + 0x14], 0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
cmp dword [0x4c2120], 0xffffffff
jne 0x45fe23
mov dword [0x4c39b8], 0x4c39b8
mov dword [0x4c39bc], 0x4c39b8
push 0x4c39c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4c2120], eax
push 0
push 0x460510
push eax
call fcn.004329a0
add esp, 0xc
mov eax, esp
push eax
push 0
push edi
push 0x45fe60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x45fe43
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0x17], 1
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046ea50
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x460050
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 4], eax
push 0
push 0x102c
push 1
call fcn.004143e0
add esp, 0xc
mov esi, eax
mov dword [eax], 1
lea edi, [eax + 4]
mov dword [eax + 4], ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], ebx
lea eax, [esi + 0x30]
push eax
call fcn.004123d0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esp + 0x20]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], esi
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
cmp dword [0x4c2120], 0xffffffff
jne 0x460113
mov dword [0x4c39b8], 0x4c39b8
mov dword [0x4c39bc], 0x4c39b8
push 0x4c39c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4c2120], eax
push 0
push 0x460510
push eax
call fcn.004329a0
add esp, 0xc
mov eax, esp
push eax
push 0
push edi
push 0x460150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x460133
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0046ea50
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x461990
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [esp + 0x54]
imul eax, dword [esp + 0x24], 0x3e8
mov ecx, 0x10624dd3
mul ecx
shr edx, 6
mov dword [esp], edx
mov edi, 1
mov ebx, 1
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], ebx
mov ebx, edi
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
mov edi, eax
mov ebp, esi
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push ebx
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.00460d80
add esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
mov edi, dword [esp + 4]
add edi, ebx
setb cl
cmp eax, dword [esp]
jae 0x461a34
test cl, cl
jne 0x461a34
push 0
mov esi, ebp
push ebp
call fcn.00414680
add esp, 8
jmp 0x4619c0
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret