joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 3
push 0
push 0
push connect
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x435dbc
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435db5
cmp dword [ebp - 0x10], 4
jne 0x435db5
push dword [ebp - 0x14]
call fcn.00468e70
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x435d48
mov ecx, esi
call fcn.00468e60
jmp 0x435d4a
xor eax, eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435da3
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x435da3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
mov dword [edi], esi
test esi, esi
je 0x435d7e
mov ecx, esi
call fcn.00468c60
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x435d90
mov ecx, esi
call fcn.00468f40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x435db5
mov ecx, esi
call fcn.00468f40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x435e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486f01
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call fcn.00468e70
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x435e80
mov ecx, esi
call fcn.00468e60
jmp 0x435e82
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp + 8]
test eax, eax
jne 0x435eab
mov dword [edi], esi
test esi, esi
je 0x435ea9
mov ecx, esi
call fcn.00468c60
jmp 0x435eb1
mov dword [edi], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], 1
test esi, esi
je 0x435ec7
mov ecx, esi
call fcn.00468f40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4377d0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4377fd
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x437819
call fcn.00468f60
mov dword [ebp - 8], eax
jmp 0x437820
mov dword [ebp - 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call ebx
test eax, eax
je 0x43786b
cmp dword [ebp - 4], 4
jne 0x43786b
mov ecx, dword [edi]
test ecx, ecx
je 0x43784c
call fcn.00468e60
jmp 0x43784e
xor eax, eax
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 8]
push eax
push esi
call ebx
test eax, eax
je 0x43786b
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0x43786b
mov bl, 1
jmp 0x43786d
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x437881
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438540
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4870e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call esi
push 0
push 0x4b3104
call fcn.0040ef20
add esp, 8
test eax, eax
jne 0x438599
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0040eab0
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
test eax, eax
je 0x43860a
mov eax, dword [eax]
test eax, eax
je 0x43860a
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x43860a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4385d1
mov eax, dword [eax]
jmp 0x4385d3
xor eax, eax
push 0x4b3104
push eax
call fcn.0040ecf0
mov edi, eax
add esp, 8
test edi, edi
je 0x43862d
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4385f2
mov eax, dword [ecx]
jmp 0x4385f4
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp edi, 0x800704d6
jne 0x438607
push 4
jmp 0x438608
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.004039e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x438641
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x438612
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x438612
Function at 0x439730
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487206
mov eax, dword fs:[0]
push eax
mov eax, 0x2006c
call fcn.004707d0
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
push 0
push 3
push 0
push 3
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x20030], ebx
cmp ebx, 0xffffffff
jne 0x439792
xor al, al
jmp 0x439989
push 0x4b49d0
mov dword [ebp - 0x20050], 0x4b49d0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x20048]
mov dword [ebp - 4], 0
push eax
push ebx
mov dword [0x4b4df0], 4
mov byte [ebp - 0x20025], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [ebp - 0x20025]
mov dword [ebp - 0x2004c], eax
push ecx
push 0
push 0x3e8
push dword [ebp - 0x20048]
push eax
call fcn.00470410
push eax
push 0x49ac10
push esi
lea ecx, [ebp - 0x20078]
call fcn.0040c410
cmp byte [ebp - 0x20025], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movlpd qword [ebp - 0x2003c], xmm0
jne 0x43995c
mov eax, dword [ebp - 0x20038]
mov dword [ebp - 0x2002c], eax
mov eax, dword [ebp - 0x2003c]
mov dword [ebp - 0x20034], eax
jmp 0x439840
push 0
push dword [0x4b4dfc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43995c
push 0
lea eax, [ebp - 0x20014]
push eax
push 0x20000
lea eax, [ebp - 0x20010]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43995c
mov eax, dword [ebp - 0x20014]
test eax, eax
je 0x43995c
xor edi, edi
cmp eax, 0x34
jb 0x43995c
lea ebx, [ebp - 0x20010]
add ebx, edi
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x34]
movzx ecx, word [ebx + 0x28]
lea esi, [eax + ecx*4]
sub esi, ebx
add esi, edx
lea eax, [esi + edi]
mov dword [ebp - 0x20038], eax
cmp eax, dword [ebp - 0x20014]
ja 0x43990b
push esi
push ebx
call fcn.00439e30
mov eax, dword [ebp - 0x20034]
add esp, 8
mov ebx, dword [ebp - 0x2002c]
add eax, esi
mov dword [ebp - 0x20034], eax
adc ebx, 0
push 0
push 0x3e8
push ebx
push eax
mov dword [ebp - 0x2002c], ebx
call fcn.00470410
mov edi, dword [ebp - 0x20038]
mov dword [ebp - 0x20074], eax
mov eax, dword [ebp - 0x20014]
sub eax, edi
cmp eax, 0x34
jae 0x439893
test edi, edi
je 0x439956
push 0
mov ecx, 0x4b49d0
call fcn.004178f0
sub edi, dword [ebp - 0x20014]
lea ecx, [ebp - 0x20040]
mov ebx, dword [ebp - 0x20030]
mov eax, edi
push 1
cdq
push ecx
push eax
push ebx
mov dword [ebp - 0x20044], eax
mov dword [ebp - 0x20040], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [ebp - 0x20025], 0
je 0x439840
jmp 0x43995c
mov ebx, dword [ebp - 0x20030]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20078]
mov dword [0x4b4df0], 0
mov byte [ebp - 4], 0
call fcn.0040c560
push 0x4b49d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret
Function at 0x439a60
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 1
push 2
mov dword [ebp - 0x18], 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x439aa1
push 0x49ac7c
call fcn.00468d70
push eax
push 0x49ac7c
jmp 0x439b0e
mov eax, 2
mov dword [ebp - 0xa], 0
xorps xmm0, xmm0
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x12], xmm0
push 0x5ab3
mov word [ebp - 6], 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x439afe
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x49ad28
call fcn.00468d70
push eax
push 0x49ad28
jmp 0x439b0e
push 0
mov dword [0x4b3108], edi
call fcn.00468d70
push eax
push 0
call fcn.00468f00
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
pop esi
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret
Function at 0x43a1f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
add edi, esi
cmp esi, edi
jae 0x43a227
mov ebx, dword [sym.imp.WS2_32.dll_recv]
push 0
mov eax, edi
sub eax, esi
push eax
push esi
push dword [0x4b3108]
call ebx
test eax, eax
je 0x43a22e
cmp eax, 0xffffffff
je 0x43a22e
add esi, eax
cmp esi, edi
jb 0x43a208
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x43a360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x4b52a0], 0
je 0x43a372
call fcn.004399b0
cmp byte [ebp + 8], 0
je 0x43a3cc
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x438b20
push 0
push 0
call fcn.00470f30
mov dword [0x4b4de4], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x441100
push 0
push 0
call fcn.00470f30
mov dword [0x4b4de8], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x43a0b0
push 0
push 0
call fcn.00470f30
add esp, 0x48
mov dword [0x4b4dec], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x438690
push 0
push 0
call fcn.00470f30
mov dword [0x4b4ddc], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x438990
push 0
push 0
call fcn.00470f30
add esp, 0x30
mov dword [0x4b4de0], eax
mov esp, ebp
pop ebp
ret
Function at 0x43a4f0
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns
Start tcp server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 1
push 2
mov dword [ebp - 0x124], 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43a53a
push 0x49ac7c
call fcn.00468d70
push eax
push 0x49ac7c
jmp 0x43a642
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x118], xmm0
mov cx, word [eax + 8]
mov word [ebp - 0x118], cx
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x114]
push eax
call fcn.0046ea20
add esp, 0xc
push 0x5ab3
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x116], ax
lea eax, [ebp - 0x118]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x43a5cc
push 0x49acac
call fcn.00468d70
push eax
push 0x49acac
jmp 0x43a642
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x10
push eax
lea eax, [ebp - 0x118]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x43a601
push 0x49acd8
call fcn.00468d70
push eax
push 0x49acd8
jmp 0x43a642
push 0
push edi
call dword [sym.imp.WS2_32.dll_listen]
push 0
push 0
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [0x4b3108], eax
cmp eax, 0xffffffff
jne 0x43a631
push 0x49ad0c
call fcn.00468d70
push eax
push 0x49ad0c
jmp 0x43a642
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
call fcn.00468d70
push eax
push 0
call fcn.00468f00
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
pop esi
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret
Function at 0x43bb00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
mov dword [ebp - 0x11c], 0
call fcn.0046e870
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jb 0x43bb65
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x43bba9
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x43bba9
cmp eax, 1
jne 0x43bb8f
cmp word [ebp - 0xc], 2
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x43bba9
cmp byte [ebp - 6], 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret
Function at 0x444760
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487dbb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
test eax, eax
je 0x4447e1
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [edi + 0x34]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x34]
call fcn.00444600
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x444820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487de8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CResizer.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0x32
mov dword [esi + 0x30], 0x43
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x34], 1
test eax, eax
je 0x444891
push eax
call fcn.004452c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x445eb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48808b
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x240]
push eax
call fcn.0040e420
add esp, 4
mov eax, dword [ebp - 0x240]
mov dword [ebp - 4], 0
test eax, eax
je 0x445f05
mov eax, dword [eax]
jmp 0x445f07
xor eax, eax
lea ecx, [ebp - 0x23c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x446057
test byte [ebp - 0x23c], 0x10
jne 0x446057
call fcn.00439a30
cmp dword [ebp - 0x21c], 0
jne 0x445f7c
cmp dword [ebp - 0x220], 0
jne 0x445f7c
push 0x30
push 0x48f9d4
push 0x49e128
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x445f6e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x446057
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x446057
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x24
push 0x48f9d4
push 0x49e210
push esi
call edi
cmp eax, 6
jne 0x446057
push 0x49e310
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0046d74c
push 0x54
lea eax, [ebp - 0x294]
push 0
push eax
call fcn.0046e870
add esp, 0x18
mov dword [ebp - 0x298], 0x58
lea eax, [ebp - 0x218]
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x278], 0x104
push eax
mov dword [ebp - 0x28c], 0x49c5b0
mov dword [ebp - 0x264], 0x20008
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x446057
push 0x49bea8
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004346c0
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, 0x4b49d0
push 0x4b54b8
push 0x4b52b0
push 0
push eax
call fcn.00415af0
test al, al
jne 0x4460c6
push 0x10
push 0x48f9d4
push 0x49e328
push esi
call edi
xor bl, bl
mov esi, dword [ebp - 0x240]
test esi, esi
je 0x4460a8
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4460a8
test esi, esi
je 0x4460a8
mov eax, dword [esi]
test eax, eax
je 0x446088
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x44609f
push eax
call fcn.0046d747
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0046d747
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x4460d4
mov eax, dword [eax]
jmp 0x4460d6
xor eax, eax
push eax
push esi
call fcn.00439730
mov ecx, dword [ebp - 0x240]
add esp, 8
mov bl, al
test ecx, ecx
je 0x4460f0
mov ecx, dword [ecx]
jmp 0x4460f2
xor ecx, ecx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
jne 0x44610e
push 0x10
push 0x48f9d4
push 0x49e378
jmp 0x446054
mov bl, 1
jmp 0x446059
Function at 0x44cdb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48880b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov eax, dword [esi]
mov ebx, dword [ebp + 8]
push dword [eax + 4]
call fcn.00418b90
mov eax, dword [esi]
xor edi, edi
push edi
push edi
push edi
mov dword [eax + 4], eax
mov eax, dword [esi]
push edi
mov dword [ebp - 0x21c], 0x104
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [esi + 4], 0
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44cef3
jmp 0x44ce40
push dword [0x4b3114]
lea eax, [ebp - 0x218]
push 0x49bc98
push eax
call fcn.0046e6bb
add esp, 0xc
test eax, eax
jne 0x44cec2
mov eax, dword [0x4b3114]
lea esi, [ebp - 0x218]
lea esi, [esi + eax*2]
push esi
call fcn.00468d70
push eax
push esi
call fcn.00468f00
add esp, 0xc
mov dword [ebp - 0x220], eax
movzx eax, byte [0x4b5c9b]
mov ecx, dword [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.0041be90
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x44cec2
call fcn.00468f40
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x218]
inc edi
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x44ce40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret 4

Function at 0x452100
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b5c9c]
test eax, eax
je 0x45212d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b5c9c], 0
push dword [0x4b4dfc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
call fcn.004396a0
add esp, 8
cmp byte [0x4b52a2], 0
jne 0x4521af
push 0x38
lea eax, [ebp - 0x244]
mov dword [ebp - 0x24c], 0x40
push 0
push eax
mov dword [ebp - 0x248], 0
call fcn.0046e870
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x49eec8
push eax
call fcn.00401f70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x10
push 0x48f9d4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]