joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d33b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [ebx + 0x20]
cmp dword [esi], 6
je 0x6d33c7
call fcn.006d2d70
test eax, eax
jle 0x6d3410
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x1c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push ebx
mov esi, eax
call fcn.004f8d00
add esp, 8
test esi, esi
jg 0x6d340e
push esi
call fcn.006d2960
add esp, 4
test eax, eax
je 0x6d340e
push 0xa
push ebx
call fcn.004f8d20
add esp, 8
mov eax, esi
pop esi
pop ebx
ret

Function at 0x6d55c0
Capabilities:
Set socket configuration

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push esi
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jge 0x6d5601
push 0x233
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.004f6240
add esp, 0x14
xor eax, eax
test esi, esi
sete al
pop esi
ret

Function at 0x6d5610
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
mov ecx, ebp
mov ebx, 1
call fcn.006d5500
mov edi, eax
add esp, 4
test edi, edi
jge 0x6d564c
push 0x7b
push str..crypto_bio_b_sock.c
push 0x6c
push 0x6a
push 0x20
call fcn.004f6240
add esp, 0x14
jmp 0x6d570a
call fcn.006d5480
cmp eax, 1
jne 0x6d571a
test edi, edi
jle 0x6d5665
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
push 0x8e
push str..crypto_bio_b_sock.c
push 0x16
push 9
call fcn.0050b520
add esp, 0x10
push ebp
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x6d56a0
push 0x92
push str..crypto_bio_b_sock.c
push 0x66
push 0x6a
push 0x20
call fcn.004f6240
add esp, 0x14
jmp 0x6d56f0
cmp word [eax + 8], 2
je 0x6d56c1
push 0x99
push str..crypto_bio_b_sock.c
push 0x6b
push 0x6a
push 0x20
call fcn.004f6240
add esp, 0x14
jmp 0x6d56f0
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
movzx ecx, byte [edx]
mov byte [esi], cl
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov dl, byte [ecx + 1]
mov byte [esi + 1], dl
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
movzx ecx, byte [edx + 2]
mov byte [esi + 2], cl
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
movzx ecx, byte [eax + 3]
mov byte [esi + 3], cl
xor ebx, ebx
push 0xa2
push str..crypto_bio_b_sock.c
push 0x16
push 0xa
call fcn.0050b520
add esp, 0x10
test ebx, ebx
je 0x6d5721
push ebp
push str.host
push 2
call fcn.004f6540
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x6f03a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7733fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov ecx, dword [ebp + 8]
call fcn.006ef3c0
test eax, eax
je 0x6f049c
push 0
mov ecx, dword [ebp + 8]
call fcn.006ef3c0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x6f0494
mov ecx, dword [ebp + 8]
call fcn.006ef370
lea eax, [ebp - 0x61]
mov dword [ebp - 0x60], eax
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.0041c8f0
mov dword [ebp - 0xb8], str.cannot_kill_process
mov ecx, dword [ebp - 0xb8]
add ecx, 1
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xb8]
mov al, byte [edx]
mov byte [ebp - 0xbd], al
add dword [ebp - 0xb8], 1
cmp byte [ebp - 0xbd], 0
jne 0x6f041a
mov ecx, dword [ebp - 0xb8]
sub ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
push edx
push str.cannot_kill_process
lea ecx, [ebp - 0x58]
call fcn.0041c1a0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.005c9b20
push 0x827c60
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0048d568
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.0041c8f0
mov ecx, dword [ebp + 8]
call fcn.006ef370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6f1aa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x68], 0xffffffff
je 0x6f1ac3
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
jne 0x6f1ac8
or eax, 0xffffffff
jmp 0x6f1b3c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x6f1ae6
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6f1b20
mov eax, dword [ebp - 0x14]
add eax, 0x4c
push eax
call fcn.005e10e0
add esp, 4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x14]
add ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x74]
adc eax, edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x70], ecx
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x6f1b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x68], 0xffffffff
je 0x6f1b73
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
and eax, 2
jne 0x6f1b7b
or eax, 0xffffffff
jmp 0x6f1c38
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x6f1be2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 2
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x6f1bd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x6f1bd3
mov edx, dword [ebp - 0x1c]
add edx, 0x4c
push edx
call fcn.005e10e0
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x70], ecx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x74], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6f1c1c
mov edx, dword [ebp - 0x1c]
add edx, 0x4c
push edx
call fcn.005e10e0
add esp, 4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x70]
mov edx, dword [edx + 0x74]
adc edx, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x70a0d0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x733690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x774b9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov dword [ebp - 0x128], ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x14]
push ecx
push 0
call fcn.0048e0cb
add esp, 0x18
mov edx, dword [ebp - 0x128]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x128]
cmp dword [edx + 8], 0
jne 0x7337a9
lea eax, [ebp - 0xb1]
mov dword [ebp - 0xb0], eax
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.0041c8f0
mov dword [ebp - 0x12c], str.cannot_create_thread
mov ecx, dword [ebp - 0x12c]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x12c]
mov al, byte [edx]
mov byte [ebp - 0x131], al
add dword [ebp - 0x12c], 1
cmp byte [ebp - 0x131], 0
jne 0x73372f
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp - 0x130]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
push edx
push str.cannot_create_thread
lea ecx, [ebp - 0x5c]
call fcn.0041c1a0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.005c9b20
push 0x827c60
lea ecx, [ebp - 0x40]
push ecx
call fcn.0048d568
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.0041c8f0
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x10], 0
je 0x733898
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x733898
lea ecx, [ebp - 0xed]
mov dword [ebp - 0xec], ecx
push 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.0041c8f0
mov dword [ebp - 0x13c], str.cannot_set_thread_priority
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax]
mov byte [ebp - 0x141], cl
add dword [ebp - 0x13c], 1
cmp byte [ebp - 0x141], 0
jne 0x73380f
mov edx, dword [ebp - 0x13c]
sub edx, dword [ebp - 0x140]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
push eax
push str.cannot_set_thread_priority
lea ecx, [ebp - 0xa8]
call fcn.0041c1a0
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.005c9b20
push 0x827c60
lea edx, [ebp - 0x8c]
push edx
call fcn.0048d568
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.0041c8f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x7345c0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76dee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov dword [ebp - 0xb8], ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov edx, dword [ebp - 0xb8]
cmp dword [edx], 0xffffffff
jne 0x7346a6
lea eax, [ebp - 0x61]
mov dword [ebp - 0x60], eax
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.0041c8f0
mov dword [ebp - 0xbc], str.cannot_allocate_thread_context_key
mov ecx, dword [ebp - 0xbc]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xbc]
mov al, byte [edx]
mov byte [ebp - 0xc1], al
add dword [ebp - 0xbc], 1
cmp byte [ebp - 0xc1], 0
jne 0x73462c
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
push edx
push str.cannot_allocate_thread_context_key
lea ecx, [ebp - 0x58]
call fcn.0041c1a0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.005c9b20
push 0x827c60
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0048d568
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.0041c8f0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x7346c0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x774d13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xc4]
call fcn.006dff70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax], vtable.Poco::PipeImpl.0
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0xc4]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x7347de
lea ecx, [ebp - 0x6d]
mov dword [ebp - 0x6c], ecx
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.0041c8f0
mov dword [ebp - 0xc8], str.anonymous_pipe
mov edx, dword [ebp - 0xc8]
add edx, 1
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xc8]
mov cl, byte [eax]
mov byte [ebp - 0xcd], cl
add dword [ebp - 0xc8], 1
cmp byte [ebp - 0xcd], 0
jne 0x73476a
mov edx, dword [ebp - 0xc8]
sub edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
push eax
push str.anonymous_pipe
lea ecx, [ebp - 0x64]
call fcn.0041c1a0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x48]
call fcn.005cc880
push 0x822de8
lea edx, [ebp - 0x48]
push edx
call fcn.0048d568
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.0041c8f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x736460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x775020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov dword [ebp - 0x9c], ecx
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0041c8f0
mov eax, dword [0x7d4aa0]
push eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041c6d0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa0], 0x78e12c
mov edx, dword [ebp - 0xa0]
add edx, 1
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa0]
mov cl, byte [eax]
mov byte [ebp - 0xa5], cl
add dword [ebp - 0xa0], 1
cmp byte [ebp - 0xa5], 0
jne 0x7364c7
mov edx, dword [ebp - 0xa0]
sub edx, dword [ebp - 0xa4]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
push eax
push 0x78e12c
lea ecx, [ebp - 0x28]
call fcn.0044beb8
mov ecx, dword [ebp - 0x9c]
movzx edx, byte [ecx + 0x10]
test edx, edx
je 0x73655c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x10], 0x10
jb 0x736530
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xb0], ecx
jmp 0x736539
lea edx, [ebp - 0x24]
mov dword [ebp - 0xb0], edx
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x7365d3
lea edx, [ebp - 0x59]
mov dword [ebp - 0x58], edx
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.00449c25
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.005db2f0
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x34], 8
jb 0x736599
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xb4], eax
jmp 0x7365a2
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xb4], ecx
push 0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00449c25
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041c8f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x741200
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x775b3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x60], 0
jne 0x741234
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x35]
mov dword [ebp - 0x34], ecx
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00449c25
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
call fcn.005db2f0
add esp, 8
cmp dword [ebp - 0x14], 8
jb 0x74126e
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x68], ecx
jmp 0x741274
lea edx, [ebp - 0x28]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 1
push 0
push 0x1000
mov edx, dword [ebp + 8]
push edx
call fcn.007415b0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00741550
add esp, 4
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00449c25
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x74b760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7761e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x5c]
call fcn.007480d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
add ecx, 4
call fcn.006dff70
mov eax, dword [ebp - 0x5c]
mov dword [eax], vtable.Poco::ActiveRunnableBase.0
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 4], vtable.Poco::ActiveRunnableBase.1.0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
mov dword [edx], vtable.Poco::ActiveRunnable_void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_Poco::ArchiveCompressor_.1.0
mov eax, dword [ebp - 0x5c]
mov dword [eax + 4], vtable.Poco::ActiveRunnable_void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_Poco::ArchiveCompressor_.0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x5c]
add edx, 0x14
mov dword [ebp - 0x50], edx
push 0
push 0
mov ecx, dword [ebp - 0x50]
call fcn.0041c8f0
mov eax, dword [0x7d4aa0]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.0041c6d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
add edx, 0x30
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [ebp - 4], 3
cmp dword [ebp + 8], 0
jne 0x74b84a
push 0x67
push str..includePoco_ActiveRunnable.h
push str.pOwner
call fcn.005da8f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x74bf20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x1c], 0xffffffff
jne 0x74bf46
mov ecx, dword [ebp - 0xa0]
call fcn.0074c190
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x74bf69
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xa4], edx
jmp 0x74bf75
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0xa4], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x74bfc1
push 0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x38]
call fcn.005ccca0
push 0x8281b8
lea ecx, [ebp - 0x38]
push ecx
call fcn.0048d568
push 0
lea edx, [ebp - 8]
push edx
push 2
push 0x78e12c
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x74c006
push 0
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x68]
call fcn.005ccca0
push 0x8281b8
lea eax, [ebp - 0x68]
push eax
call fcn.0048d568
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x74c04c
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x74c04c
push 0
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x98]
call fcn.005ccca0
push 0x8281b8
lea edx, [ebp - 0x98]
push edx
call fcn.0048d568
mov esp, ebp
pop ebp
ret 8
Function at 0x402a04
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404104
test esi, esi
jne 0x402a3a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004041f4
jmp 0x402a58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402918
mov edi, eax
test esi, esi
je 0x402a58
cmp dword [ebx], 0
je 0x402a58
dec esi
jmp 0x402a41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d04
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4ed008], 0x8088405
inc edx
mov dword [ebx + 0x4ed008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ed024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403218
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031f8
xor eax, eax
push ebp
push 0x4031f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403234
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4ed024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ed024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ee4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f004c], 0
je 0x403f45
cmp word [0x4f0220], 0xd7b2
jne 0x403f0d
cmp dword [0x4f0228], 0
jbe 0x403f0d
mov eax, 0x4f021c
call dword [0x4f0238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ed070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403f6c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ed034], 0
jne 0x403f61
push 0
push 0x4ed068
push 0x4ed070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4040b8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f004d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404080
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc