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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.WSOCK32.dll_send]
push edi
mov edi, eax
mov eax, dword [esi + 0x2390]
lea ecx, [eax + ebx]
cmp ecx, 0x2000
jle 0x44a196
mov edx, 0x2000
sub edx, eax
push edx
lea eax, [eax + esi + 0x68]
push edi
push eax
call fcn.00462180
mov edx, dword [esi + 4]
add esp, 0xc
push 0
push 0x2000
lea ecx, [esi + 0x68]
push ecx
push edx
call ebp
mov eax, dword [esi + 0x2390]
sub edi, eax
mov ecx, ebx
lea ebx, [eax + ecx - 0x2000]
add edi, 0x2000
mov dword [esi + 0x2390], 0
cmp ebx, 0x2000
jbe 0x44a196
mov edx, dword [esi + 4]
push 0
push 0x2000
push edi
push edx
call ebp
test eax, eax
je 0x44a1dc
sub ebx, 0x2000
add edi, 0x2000
cmp ebx, 0x2000
ja 0x44a170
mov eax, dword [esi + 0x2390]
push ebx
lea ecx, [esi + eax + 0x68]
push edi
push ecx
call fcn.00462180
add dword [esi + 0x2390], ebx
mov eax, dword [esi + 0x2390]
add esp, 0xc
push 0
push eax
mov eax, dword [esi + 4]
lea edx, [esi + 0x68]
push edx
push eax
call ebp
test eax, eax
je 0x44a1dc
mov eax, dword [esp + 0x10]
pop edi
pop ebp
mov dword [esi + 0x2390], 0
pop ebx
ret 4
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4

Function at 0x44a1f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, eax
mov eax, dword [esi + 0x2390]
lea ecx, [eax + ebp]
cmp ecx, 0x2000
mov ebx, ebp
jle 0x44a28a
mov edx, 0x2000
sub edx, eax
push edx
lea eax, [eax + esi + 0x68]
push edi
push eax
call fcn.00462180
mov edx, dword [esi + 4]
add esp, 0xc
push 0
push 0x2000
lea ecx, [esi + 0x68]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
mov eax, dword [esi + 0x2390]
sub edi, eax
lea ebx, [eax + ebp - 0x2000]
add edi, 0x2000
mov dword [esi + 0x2390], 0
cmp ebx, 0x2000
jbe 0x44a28a
mov edi, edi
mov eax, dword [esi + 4]
push 0
push 0x2000
push edi
push eax
call dword [sym.imp.WSOCK32.dll_send]
test eax, eax
je 0x44a2ad
sub ebx, 0x2000
add edi, 0x2000
cmp ebx, 0x2000
ja 0x44a260
mov ecx, dword [esi + 0x2390]
push ebx
lea edx, [esi + ecx + 0x68]
push edi
push edx
call fcn.00462180
add esp, 0xc
add dword [esi + 0x2390], ebx
pop edi
mov eax, ebp
pop ebp
pop ebx
ret 4
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x44a3e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x470368
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x30]
cmp byte [ebp + 0xc], 0
je 0x44a54b
mov eax, dword [ebp + 8]
cmp byte [eax + 0x21], 0
je 0x44a54b
lea ebx, [eax + 8]
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
mov edi, dword [ebp + 8]
push ecx
mov dword [esp + 0x34], eax
mov edx, dword [edi + 0x2e4]
push esi
push eax
call edx
mov esi, eax
add esp, 0xc
mov dword [edi + 0x2f4], eax
test esi, esi
jne 0x44a482
push str.._vsocket.cpp_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
mov ecx, 4
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x44a502
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x44a4cd
mov edi, dword [sym.imp.WSOCK32.dll_recv]
mov eax, dword [ebp + 4]
push 0
push ecx
push esi
push eax
call edi
test eax, eax
jle 0x44a4b2
mov ecx, dword [esp + 0x30]
add esi, eax
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x44a4c5
je 0x44a518
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x44a522
mov ecx, dword [esp + 0x30]
test ecx, ecx
jg 0x44a496
mov eax, dword [esp + 0x14]
mov ebp, dword [ebp + 8]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x2e4]
push edx
call eax
add esp, 0xc
push ebx
mov dword [ebp + 0x2f4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
push str.._vsocket.cpp_:_zero_bytes_read1_n
jmp 0x44a462
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.._vsocket.cpp_:_socket_error_1:__d_n
mov ecx, 4
mov eax, 0x48b3f0
call fcn.00401000
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x44a502
test esi, esi
jbe 0x44a4ff
mov ebx, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov edi, dword [sym.imp.WSOCK32.dll_recv]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
push 0
push esi
push ecx
push edx
call edi
test eax, eax
jle 0x44a575
add dword [esp + 0x34], eax
sub esi, eax
jmp 0x44a584
je 0x44a58d
call ebx
cmp eax, 0x2733
jne 0x44a47b
test esi, esi
ja 0x44a55b
jmp 0x44a4ff
push str.._vsocket.cpp_:_zero_bytes_read2_n
mov ecx, 4
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
xor eax, eax
jmp 0x44a502
Function at 0x44b8c0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x471acd
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x489348]
xor eax, esp
mov dword [esp + 0x578], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0x590]
mov dword fs:[0], eax
call fcn.0043b860
push str..winvnc.cpp_:__DBG___WinVNCAPPMain_n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
push 4
call fcn.0045c88a
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x44b931
mov edi, eax
mov dword [eax], ebp
mov dword [esp + 0x14], edi
jmp 0x44b937
mov dword [esp + 0x14], ebp
mov edi, ebp
push str.WinVNC_Win32_Instance_Mutex
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi], eax
cmp eax, ebp
je 0x44b957
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44b970
push ebp
push str.WinVNC
push 0x4a62c0
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x44baea
lea esi, [esp + 0x1c]
call fcn.00442f10
mov dword [esp + 0x598], ebp
mov eax, dword [esp + 0xe0]
cmp eax, ebp
je 0x44b99b
push eax
call fcn.0045d511
add esp, 4
mov dword [esp + 0xe0], ebp
push str.WinVNC
call fcn.0045dae4
add esp, 4
mov dword [esp + 0xe0], eax
push str..winvnc.cpp_:_server_created_ok_n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
mov eax, dword [0x4a6734]
add esp, 4
push str.GlobalSessionEventUltra
push ebp
push 0x1f0003
mov dword [esp + 0x57c], eax
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [0x4a6738], eax
cmp eax, ebp
je 0x44b9f0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push str..winvnc.cpp_:__SDEvent_created__n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
push str..winvnc.cpp_:__Init_SDTimer_n
xor ecx, ecx
mov eax, 0x48b3f0
mov dword [0x4a623c], 0xffffffff
call fcn.00401000
add esp, 4
push 1
push ebp
push 0x44b880
push ebp
push 0x7d0
call dword [sym.imp.WINMM.dll_timeSetEvent]
cmp byte [0x4a66fa], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4a623c], eax
jne 0x44ba9a
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
push 0x44b520
push 0
push 0
call edi
mov esi, eax
push 0xffffffffffffffff
push esi
call ebp
push esi
call ebx
push str..winvnc.cpp_:__Closing_Imp_Thread_n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
cmp byte [0x4a66fa], 0
je 0x44ba56
mov edi, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [edi]
cmp eax, ebp
je 0x44baa7
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call fcn.0045c7c2
mov eax, dword [0x4a6738]
add esp, 4
cmp eax, ebp
je 0x44babc
push eax
call ebx
push str..winvnc.cpp_:__SHUTING_DOWN_SERVER__n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x59c], 0xffffffff
call fcn.004431b0
mov eax, 1
mov ecx, dword [esp + 0x590]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x578]
xor ecx, esp
call fcn.0045c77f
add esp, 0x588
ret
Function at 0x45b000
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x45b007
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.0045b010
Function at 0x45c710
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
xor eax, eax
cmp dword [ecx + 0x28], eax
jne 0x45c728
cmp dword [ecx + 0x2c], eax
jne 0x45c728
mov dword [ecx + 0x34], eax
add esp, 4
jmp fcn.0045c620
mov byte [esp + 3], al
push 0x484744
lea eax, [esp + 7]
push eax
call fcn.0045fdcd
int3

Function at 0x45c77f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x489348]
jne 0x45c789
repz ret
jmp fcn.004602ef

Function at 0x468936
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00460467
and dword [ebp - 4], 0
cmp dword [0x48c718], 0
mov ebx, eax
jne 0x4689e7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x468a98
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47470c
push edi
call esi
test eax, eax
je 0x468a98
push eax
call fcn.004603f5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48c718], eax
call esi
push eax
call fcn.004603f5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48c71c], eax
call esi
push eax
call fcn.004603f5
mov dword [esp], 0x4746cc
push edi
mov dword [0x48c720], eax
call esi
push eax
call fcn.004603f5
pop ecx
mov dword [0x48c728], eax
test eax, eax
je 0x4689e7
push 0x4746b4
push edi
call esi
push eax
call fcn.004603f5
pop ecx
mov dword [0x48c724], eax
mov eax, dword [0x48c724]
cmp eax, ebx
je 0x468a3f
cmp dword [0x48c728], ebx
je 0x468a3f
push eax
call fcn.00460470
push dword [0x48c728]
mov esi, eax
call fcn.00460470
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x468a3f
test edi, edi
je 0x468a3f
call esi
test eax, eax
je 0x468a36
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x468a36
test byte [ebp - 0xc], 1
jne 0x468a3f
or dword [ebp + 0x10], 0x200000
jmp 0x468a78
mov eax, dword [0x48c71c]
cmp eax, ebx
je 0x468a78
push eax
call fcn.00460470
pop ecx
test eax, eax
je 0x468a78
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x468a78
mov eax, dword [0x48c720]
cmp eax, ebx
je 0x468a78
push eax
call fcn.00460470
pop ecx
test eax, eax
je 0x468a78
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48c718]
call fcn.00460470
pop ecx
test eax, eax
je 0x468a98
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x468a9a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402587
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4025c6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4025c6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4025c6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4025c6
cmp dword [ecx + 0x74], 0xe
jbe 0x4025c6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x429650
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [edi]
mov edx, dword [eax + 0x134]
sub esp, 0x14
push ebx
push esi
push 0
push 0x9c
mov ecx, edi
call edx
test eax, eax
jne 0x429672
pop esi
pop ebx
add esp, 0x14
ret
lea esi, [edi + 0x108]
call fcn.00449170
push 0
push 0x2000000
lea ebx, [edi + 0x74]
push 0
mov ecx, ebx
call fcn.004601e7
push 0
push 0x10000
push 0
mov ecx, ebx
call fcn.00460211
push 0x19
push 0x50
push 0
push 0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [edi + 0x1b8]
mov edx, dword [edx + 0x134]
push 0x419
push ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x1b8]
push 0x50000000
push 0x4c7850
call edx
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push eax
call esi
push eax
call fcn.00455a6e
test eax, eax
je 0x4296fb
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x1d8]
push 1
push eax
push 0x30
push ecx
call esi
mov edx, dword [edi + 0x20c]
mov edx, dword [edx + 0x134]
push 0x41a
push ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x20c]
push 0x50000000
push str.Remove
call edx
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x31
push eax
call esi
push eax
call fcn.00455a6e
test eax, eax
je 0x42974b
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x22c]
push 1
push eax
push 0x30
push ecx
call esi
mov edx, dword [edi + 0x164]
mov edx, dword [edx + 0x134]
push 0x3fa
push ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x164]
push 0x50000000
push str.Close
call edx
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x31
push eax
call esi
push eax
call fcn.00455a6e
test eax, eax
je 0x42979b
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x184]
push 1
push eax
push 0x30
push ecx
call esi
push 2
push 0xfa
push 0x190
push 0
push 0
push 0
mov ecx, edi
call fcn.00460503
push 0
call fcn.0048a2cf
add esp, 4
push 0
push 0x12c
mov dword [edi + 0x26c], edx
mov edx, dword [edi + 0x20]
push 0
push edx
mov dword [edi + 0x268], eax
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x4a1263
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f7b00], 0
push esi
jne 0x4a11d6
call fcn.004a1101
test eax, eax
je 0x4a1219
mov eax, dword [0x4f7b00]
cmp eax, 1
jne 0x4a11f7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4a1219
pop esi
ret
push eax
call dword [0x4f7b08]
test eax, eax
jne 0x4a1261
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4a121d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4f7b00]
call dword [0x4f7b08]
mov edi, eax
test edi, edi
je 0x4a1244
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4a1260
lea edi, [esi + 0xff0]
push esi
push dword [0x4f7b00]
call dword [0x4f7b04]
add esi, 0x10
cmp esi, edi
jb 0x4a124a
mov eax, esi
pop edi
pop esi
ret
jmp 0x4a11c3

Function at 0x4a13b4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4f07b0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004a1349
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0048afc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4a1403
cmp dword [ebp - 0x1c], 5
jb 0x4a141b
jmp 0x4a1417
cmp dword [ebp - 0x10], 1
jne 0x4a141b
cmp dword [ebp - 0x1c], 4
ja 0x4a1417
jne 0x4a141b
cmp dword [ebp - 0x18], 0
jbe 0x4a141b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4c07a4
call fcn.0040ea10
test eax, eax
jge 0x4a143c
mov byte [0x4f7b85], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004892f2
add ebp, 0x78
leave
ret
Function at 0xf0a370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xf0a38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xf33074
push ecx
mov edi, eax
call fcn.00f1e198
mov esi, eax
add esp, 8
test esi, esi
jne 0xf0a3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00f1e02e
push esi
call fcn.00f1dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xf0d850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xf0d8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xf38720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf0d8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00f1e1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xf0d8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xf38720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf0d92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00f1f082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xf0d957
mov word [eax], si
add eax, 2
push eax
call fcn.00f1f030
add esp, 4
jmp 0xf0d959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xf0d8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xf0d8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xf0dff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xf0e080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xf0e0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xf33458
push ecx
call fcn.00f1e1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00f1e1e1
add esp, 0x10
jmp 0xf0e0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00f1e20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00f1ddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00f0e050
mov eax, dword [0xf38728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xf0e13b
push esi
call fcn.00f0dfb0
add esp, 4
mov dword [0xf38728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xf0e14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00f0dff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xf11440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xf114b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xf1148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf11471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf1147e
add edx, ecx
cmp ebx, edx
jb 0xf1148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf11467
xor ecx, ecx
jmp 0xf114a2
test eax, eax
jne 0xf11492
xor ecx, ecx
jmp 0xf114a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00f113c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xf118f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xf11921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xf11946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xf1196e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xf11993
push ecx
push esi
call fcn.00f114c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xf12c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xf12c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xf12c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xf12c38
add edx, eax
cmp ebx, edx
jb 0xf12c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xf12c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xf12c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xf12c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xf12cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf12c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf12ca8
add edx, ecx
cmp ebx, edx
jb 0xf12cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf12c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xf12f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00f1f145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xf12ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xf12fdd
lea eax, [esp + 0x18]
push eax
jmp 0xf12fe2
push 0xf38720
call fcn.00f1efd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xf12fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xf12f40
push 4
push ecx
push eax
call fcn.00f1f43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret