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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049b1cc
xor eax, eax
push ebp
push 0x49b9fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x49b9e4
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x49b8d4
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49b8de
call fcn.00404124
jmp 0x49ba01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f44c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x49b9d9
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x49b98c
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x49b979
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a1c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0049b840
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x49ba0c]
cmp dl, byte [eax + 0x28]
je 0x49b9e0
call fcn.0040cde0
jmp 0x49b9e0
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f46c
jmp 0x49b9e0
cmp edi, ebx
jge 0x49b9a8
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f46c
jmp 0x49b8de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f44c
cmp edx, dword [esp + 4]
jne 0x49b9c8
cmp eax, dword [esp]
pop edx
pop eax
jne 0x49b8de
push ebp
call fcn.0049b840
pop ecx
jmp 0x49b9e0
push ebp
call fcn.0049b840
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ba01
mov eax, dword [ebp - 4]
call fcn.0049b1d8
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ba10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49bb32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049b1cc
xor eax, eax
push ebp
push 0x49bb15
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49ba60
call fcn.00404124
jmp 0x49bb1c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49baff
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49baff
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a1c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49baff
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c5c4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x49bb4c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4bb358]
mov dl, 1
mov eax, dword [0x49a4d4]
call fcn.0040cef8
call fcn.00404078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bb1c
mov eax, dword [ebp - 4]
call fcn.0049b1d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bb39
lea eax, [ebp - 0x28]
call fcn.00404704
ret
Function at 0x49bb98
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49bd09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049b1cc
xor eax, eax
push ebp
push 0x49bcec
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x49bbfd
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x49bbfd
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x49bcd6
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49bc10
call fcn.00404124
jmp 0x49bcf3
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x49bc37
cmp ebx, dword [ebp - 0x10]
jle 0x49bc37
cmp dword [ebp - 0x10], 0
je 0x49bc37
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49bcd6
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49bcd6
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a1c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49bcd6
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040c5c4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x49bd24
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x4bb358]
mov dl, 1
mov eax, dword [0x49a4d4]
call fcn.0040cef8
call fcn.00404078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bcf3
mov eax, dword [ebp - 4]
call fcn.0049b1d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd10
lea eax, [ebp - 0x2c]
call fcn.00404704
ret
Function at 0x49cfa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49d1ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
call fcn.004063e8
push eax
push 0x49d1bc
push 1
push 0
mov eax, dword [0x4bae90]
push eax
call sub.ole32.dll_CoCreateInstance
mov esi, eax
mov eax, esi
call fcn.00419edc
test al, al
je 0x49d06b
lea eax, [ebp - 4]
call fcn.004063e8
push eax
push 0
push 0
mov eax, dword [0x4bafc4]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00460e30
jmp 0x49d04f
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x24]
call fcn.00460f2c
mov edx, dword [ebp - 0x128]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x49d034
jmp 0x49d16c
lea eax, [ebp - 0x10]
push eax
push 0x49d1cc
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x49d16c
xor eax, eax
push ebp
push 0x49d165
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
jmp 0x49d130
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 6
lea edx, [ebp - 0x13c]
mov eax, dword [0x4bafc4]
call fcn.00460ea4
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0xb
lea edx, [ebp - 0x138]
mov ecx, 1
mov eax, 0x49d1dc
call fcn.00409e10
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x124]
mov ecx, pe_nt_image_headers32
call fcn.00404974
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x138]
call fcn.00460e48
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x140]
call fcn.00460f2c
mov edx, dword [ebp - 0x140]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
push pe_nt_image_headers32
lea eax, [ebp - 0x124]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
je 0x49d09b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d16c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d1b4
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404728
lea eax, [ebp - 0x128]
call fcn.00404704
lea eax, [ebp - 0x14]
call fcn.00404704
lea eax, [ebp - 0xc]
call fcn.004063e8
lea eax, [ebp - 4]
call fcn.004063e8
ret
Function at 0x49d264
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
jne 0x49d2a5
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404974
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49d2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, edi
call fcn.00404bc4
push eax
push esi
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x49d2fe
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00404974
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a18d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a18dc
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bb4
xor eax, eax
push ebp
push 0x4a19c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402ee8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00409580
mov eax, dword [ebp - 8]
call fcn.004094e8
test al, al
jne 0x4a1968
push 0x40
push 0x4a19cc
push 0x4a19dc
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402ee8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409580
push dword [ebp - 0x14]
push 0x4a19f0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a84
mov eax, dword [ebp - 0x10]
call fcn.00404bc4
push eax
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxA_1
push 5
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402ee8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409580
push dword [ebp - 0x20]
push 0x4a1a18
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404a84
mov eax, dword [ebp - 0x1c]
call fcn.00404bc4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a19c7
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00404728
ret
Function at 0x4a1a28
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bb4
xor eax, eax
push ebp
push 0x4a1c1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 4], 0
je 0x4a1be7
mov eax, dword [ebp - 4]
call fcn.00404bc4
push eax
call sub.wsock32.dll_inet_addr
push eax
call sub.wsock32.dll_ntohl
push eax
call sub.wsock32.dll_htonl
mov dword [ebp - 0x18], eax
push 0x4a1c2c
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
lea eax, [ebp - 0x1d8]
mov edx, ebx
mov cl, 4
call fcn.004151ec
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x1e8]
call fcn.0041820c
lea edx, [ebp - 0x1e8]
pop eax
call fcn.00418224
je 0x4a1be7
lea eax, [ebp - 0x1c8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0x4a1c38
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x30], eax
push 0x4a1c48
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x34], eax
push 0x4a1c58
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x38], eax
call dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, 0x28
lea edx, [eax + 0x20]
mov dword [ebp - 0x28], edx
call fcn.00402b24
mov edi, eax
mov eax, dword [ebp - 0x28]
call fcn.00402b24
mov esi, eax
mov eax, esi
xor ecx, ecx
mov edx, 0x20
call fcn.004031b8
mov dword [esi + 0x10], edi
lea eax, [ebp - 0x20]
mov edx, 0x4a1c70
call fcn.0040479c
mov eax, dword [ebp - 0x20]
call fcn.00404bc4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x11]
xor ecx, ecx
mov edx, 8
call fcn.004031b8
mov byte [ebp - 0x11], 0x40
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004049c4
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebp - 0x38]
test eax, eax
je 0x4a1bc7
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov edx, dword [esi + 0x10]
cmp al, byte [edx]
jne 0x4a1bc7
mov byte [ebp - 9], 1
mov eax, edi
call fcn.00402b54
mov eax, esi
call fcn.00402b54
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebp - 0x34]
push ebx
call sub.kernel32.dll_FreeLibrary_1
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1c22
lea eax, [ebp - 0x1e8]
mov edx, dword [0x401104]
mov ecx, 2
call fcn.004051bc
lea eax, [ebp - 0x20]
call fcn.00404704
lea eax, [ebp - 4]
call fcn.00404704
ret
Function at 0x4a4b10
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a4b3e
mov eax, ebx
call fcn.004a55c4
cmp dword [ebx + 0x40], 0
je 0x4a4b37
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a4baf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a4ba1
cmp dword [ebx + 8], 0
je 0x4a4b60
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a4b72
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a4ba1
cmp dword [ebx + 8], 0
je 0x4a4b53
cmp eax, 3
je 0x4a4b85
dec eax
jne 0x4a4b53
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a4b53
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a4b53
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a4bcd
cmp dword [ebx + 0x14], 0xcc
je 0x4a4bcd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a4bd8
pop ebx
ret
Function at 0x918370
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 0x91838e
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 0x941074
push ecx
mov edi, eax
call fcn.0092c198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9183cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0092c02e
push esi
call fcn.0092bfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x91b850
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 0x91b8ae
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 0x946720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x91b8ba
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.0092c1e1
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 0x91b8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x946720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x91b92a
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.0092d082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x91b957
mov word [eax], si
add eax, 2
push eax
call fcn.0092d030
add esp, 4
jmp 0x91b959
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 0x91b8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x91b8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x91bff0
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 0x91c080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x91c0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x941458
push ecx
call fcn.0092c1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0092c1e1
add esp, 0x10
jmp 0x91c0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0092c20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0092bdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0091c050
mov eax, dword [0x946728]
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 0x91c13b
push esi
call fcn.0091bfb0
add esp, 4
mov dword [0x946728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x91c14c
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.0091bff0
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 0x91f440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x91f4b7
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 0x91f48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x91f471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x91f47e
add edx, ecx
cmp ebx, edx
jb 0x91f48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x91f467
xor ecx, ecx
jmp 0x91f4a2
test eax, eax
jne 0x91f492
xor ecx, ecx
jmp 0x91f4a2
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.0091f3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x91f8f0
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 0x91f921
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 0x91f946
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 0x91f96e
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 0x91f993
push ecx
push esi
call fcn.0091f4c0
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