joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d918
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x49d972
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0049d908
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0049b1f8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0049ad10
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d979
lea eax, [ebp - 4]
call fcn.00404d14
ret
Function at 0x4ae13c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4e2c78], 0
jne 0x4ae15f
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4ae0b0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e2c78], eax
ret

Function at 0x4af1b8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
dec edx
test edx, edx
jl 0x4af25d
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [eax]
and edx, 0xffff
or edx, 2
mov dword [ebp - 0xc], edx
movzx edx, byte [esi]
mov ebx, dword [ebp - 0xc]
xor ebx, 1
imul ebx, dword [ebp - 0xc]
shr ebx, 8
xor dl, bl
mov byte [esi], dl
mov edx, dword [ecx]
movzx ebx, byte [esi]
xor dl, bl
movzx edx, dl
mov edx, dword [edx*4 + 0x4db2e8]
mov ebx, dword [ecx]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [ecx], edx
mov edx, dword [ecx]
and edx, 0xff
add dword [edi], edx
mov edx, dword [edi]
imul edx, dword [ebp + 8]
inc edx
mov dword [edi], edx
mov edx, dword [eax]
mov ebx, dword [edi]
shr ebx, 0x18
xor dl, bl
movzx edx, dl
mov edx, dword [edx*4 + 0x4db2e8]
mov ebx, dword [eax]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [eax], edx
inc esi
dec dword [ebp - 0x10]
jne 0x4af1e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b0bd4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.0040a55c
mov eax, dword [ebx]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4b0c15
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4b0c2a
mov eax, ebx
mov edx, 0x4b0c38
call fcn.00404fe0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4608
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
xor ecx, ecx
mov edx, 0x94
call fcn.004036ac
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x4b463e
cmp dword [esp + 8], 1
jb 0x4b463e
cmp dword [esp + 0x10], 2
je 0x4b4642
xor eax, eax
jmp 0x4b4644
mov al, 1
add esp, 0x94
ret

Function at 0x4b464c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
xor ecx, ecx
mov edx, 0x94
call fcn.004036ac
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
jne 0x4b4682
cmp dword [esp + 8], 0
jne 0x4b4682
cmp dword [esp + 0x10], 2
je 0x4b4686
xor eax, eax
jmp 0x4b4688
mov al, 1
add esp, 0x94
ret

Function at 0x4c936c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004c9334
mov eax, dword [ebx]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4c93ad
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4c93c2
mov eax, ebx
mov edx, 0x4c93d0
call fcn.00404fe0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c93d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004c9334
mov eax, dword [ebx]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4c9415
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4c942a
mov eax, ebx
mov edx, 0x4c9438
call fcn.00404fe0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d09c0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4d0a5a
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebx + 0x14], eax
lea eax, [ebp - 4]
mov ecx, 0x4d0a70
mov edx, dword [ebx + 4]
call fcn.0040502c
mov eax, dword [ebp - 4]
call fcn.004051a4
push eax
push pe_nt_image_headers32
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 0xc], eax
call sub.kernel32.dll_GetLastError_1
mov esi, eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
mov dword [ebx + 0x10], edi
cmp esi, 0xb7
je 0x4d0a44
mov eax, edi
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004036ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0a61
lea eax, [ebp - 4]
call fcn.00404d14
ret
Function at 0x4d1318
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4d14ba
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x4e2d28], eax
xor eax, eax
mov dword [0x4e2d2c], eax
xor eax, eax
mov dword [0x4e2d30], eax
xor eax, eax
mov dword [0x4e2d34], eax
mov eax, 0x4e2d3c
call fcn.00404d14
mov byte [0x4e2d38], 0
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.004033a0
mov eax, dword [ebp - 0x18]
call fcn.004051a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d1456
mov eax, dword [ebp - 0x10]
call fcn.00402f1c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4d144f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.004033a0
mov eax, dword [ebp - 0x1c]
call fcn.004051a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4d1436
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4d14c8
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4d1436
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
mov dword [0x4e2d28], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 8]
mov dword [0x4e2d2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x10
movzx eax, ax
mov dword [0x4e2d30], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
mov dword [0x4e2d34], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 2
setne byte [0x4e2d38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1456
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00402f38
ret
lea edx, [ebp - 0x20]
mov eax, dword [0x4e2d28]
call fcn.004097fc
push dword [ebp - 0x20]
push 0x4d14d4
lea edx, [ebp - 0x24]
mov eax, dword [0x4e2d2c]
call fcn.004097fc
push dword [ebp - 0x24]
push 0x4d14d4
lea edx, [ebp - 0x28]
mov eax, dword [0x4e2d30]
call fcn.004097fc
push dword [ebp - 0x28]
mov eax, 0x4e2d3c
mov edx, 5
call fcn.004050a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d14c1
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.00404d38
ret
Function at 0x4d1514
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405194
xor eax, eax
push ebp
push 0x4d168a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d14
cmp dword [ebp - 4], 0
jne 0x4d155c
lea edx, [ebp - 4]
xor eax, eax
call fcn.004033a0
mov eax, dword [ebp - 4]
call fcn.00409e4c
test al, al
je 0x4d1667
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004051a4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d1667
xor eax, eax
push ebp
push 0x4d1660
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00402f1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4d1647
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x4d1698
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4d1647
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
call fcn.004097fc
push dword [ebp - 0x1c]
push 0x4d16a4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
call fcn.004097fc
push dword [ebp - 0x20]
push 0x4d16a4
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
shr eax, 0x10
movzx eax, ax
call fcn.004097fc
push dword [ebp - 0x24]
push 0x4d16a4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xc]
call fcn.004097fc
push dword [ebp - 0x28]
mov eax, ebx
mov edx, 7
call fcn.004050a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1667
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00402f38
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1691
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404d38
lea eax, [ebp - 4]
call fcn.00404d14
ret
Function at 0x4d289c
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405194
mov eax, dword [ebp - 8]
call fcn.00405194
xor eax, eax
push ebp
push 0x4d2a52
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4d2a23
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x1c], 0x104
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
call fcn.00405434
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004051a4
push eax
mov eax, dword [ebp - 4]
call fcn.004051a4
mov esi, eax
push esi
call sub.mpr.dll_WNetGetConnectionA
mov ebx, eax
test ebx, ebx
jne 0x4d2934
mov byte [ebp - 0x15], 1
call fcn.00404734
jmp 0x4d2a2a
lea eax, [ebp - 0x10]
call fcn.00404d14
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 8]
call fcn.004051a4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
call fcn.004051a4
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call sub.mpr.dll_WNetAddConnection2A
mov ebx, eax
test ebx, ebx
sete byte [ebp - 0x15]
cmp byte [ebp - 0x15], 0
jne 0x4d29bb
mov eax, dword [ebp + 8]
push eax
push 0x4d2a6c
push dword [ebp - 4]
push 0x4d2a7c
push dword [ebp - 8]
push 0x4d2a88
push 0x4d2a94
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.004097fc
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 7
call fcn.004050a8
mov eax, dword [ebp - 0x40]
call fcn.004d2388
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2a2a
push 0x4d2aa4
push dword [ebp - 4]
push 0x4d2ab8
push dword [ebp - 8]
push 0x4d2ac4
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.004050a8
cmp byte [ebp - 0x15], 0
je 0x4d2a0a
lea eax, [ebp - 0x48]
mov ecx, 0x4d2ad0
mov edx, dword [ebp - 0xc]
call fcn.0040502c
mov eax, dword [ebp - 0x48]
call fcn.004d0bd0
jmp 0x4d2a22
lea eax, [ebp - 0x4c]
mov ecx, 0x4d2ae0
mov edx, dword [ebp - 0xc]
call fcn.0040502c
mov eax, dword [ebp - 0x4c]
call fcn.004d0bd0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2a59
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00404d38
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404d38
ret
Function at 0x4d3eb4
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405194
mov eax, dword [ebp - 8]
call fcn.00405194
xor eax, eax
push ebp
push 0x4d40b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404d14
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x1c], 0xffffffff
xor eax, eax
mov dword [ebp - 0x20], eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_CreatePipe
xor eax, eax
push ebp
push 0x4d4083
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x44
call fcn.004036ac
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 0x101
mov word [ebp - 0x38], 0
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404dac
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004051a4
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 4]
mov edx, 0x4d40cc
call fcn.0040502c
mov eax, dword [ebp - 0x17c]
call fcn.004051a4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
test bl, bl
je 0x4d406c
xor eax, eax
push ebp
push 0x4d4065
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x18]
push eax
push 0xff
lea eax, [ebp - 0x178]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x18], 0
jbe 0x4d4030
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x178], 0
lea eax, [ebp - 0x180]
lea edx, [ebp - 0x178]
mov ecx, pe_nt_image_headers32
call fcn.00404f84
mov edx, dword [ebp - 0x180]
mov eax, esi
call fcn.00404fe0
test bl, bl
je 0x4d403a
cmp dword [ebp - 0x18], 0
jne 0x4d3fdb
push 0xffffffffffffffff
mov eax, dword [ebp - 0x78]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d406c
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x78]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d408a
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x4d45c8
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405194
xor eax, eax
push ebp
push 0x4d46ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404d14
xor eax, eax
push ebp
push 0x4d4681
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x388]
add eax, 0xb4
mov edx, 0x4d46d0
call fcn.00404d68
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x388]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.004cf970
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0xc0]
call fcn.0041d74c
test eax, eax
jle 0x4d4677
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0xc0]
xor edx, edx
call fcn.004cddb4
mov ebx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d46a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d46c1
lea eax, [ebp - 4]
call fcn.00404d14
ret
Function at 0x4465e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
call fcn.004452a0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x446610
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47cab7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047c69e

Function at 0x47cac2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047c828

Function at 0x486a6c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00486940

Function at 0x48937a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00488d3c

Function at 0x402e96
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ecx + 0x10]
push edi
cmp esi, 0x40
jb 0x402ef4
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402ef4
mov edx, dword [ecx + 0x3c]
lea eax, [edx + 0xf8]
cmp esi, eax
jb 0x402ef4
cmp dword [edx + ecx], 0x4550
jne 0x402ef4
movzx eax, word [edx + ecx + 4]
mov edi, 0x14c
cmp ax, di
je 0x402edf
mov edi, 0x8664
cmp ax, di
je 0x402ef4
lea eax, [ecx + 0x98]
add eax, edx
mov ecx, dword [eax]
test ecx, ecx
je 0x402ef4
add ecx, 0xc
cmp esi, ecx
jae 0x402ef6
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x1402a10
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor eax, eax
mov ecx, 0x44
mov dword [esp + 0xc], eax
mov dl, 0x57
push edi
mov edi, dword [esp + 0x18]
cmp esi, ecx
jbe 0x1402a41
nop
xor byte [ecx + edi], dl
lea eax, [ecx + edi]
mov al, byte [eax]
inc ecx
add al, 0x57
add dl, al
cmp ecx, esi
jb 0x1402a30
xor dword [edi + 0x4c], 0x7a32bc85
xor dword [edi + 0x50], 0x49c042d1
add dword [edi + 0x54], 0xfffffff4
xor dword [edi + 0x58], 0x872c3d47
xor ebx, ebx
movups xmm0, xmmword [edi + 0x44]
movups xmmword [0x345cd18], xmm0
movq xmm0, qword [edi + 0x54]
movq qword [0x345cd28], xmm0
movzx eax, bx
lea eax, [eax + eax*4]
cmp dword [edi + eax*4 + 0x6c], 0
lea esi, [edi + eax*4]
je 0x1402a8b
mov ebp, dword [esi + 0x68]
mov dword [esp + 0x10], ebp
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
cmp eax, ecx
jbe 0x1402aab
sub eax, ecx
push eax
mov eax, dword [esi + 0x5c]
add eax, ecx
push 0
push eax
call fcn.0140af90
mov ecx, dword [esi + 0x64]
add esp, 0xc
mov eax, dword [esi + 0x68]
push ecx
add eax, edi
push eax
push dword [esi + 0x5c]
call fcn.0140aa10
inc ebx
add esp, 0xc
cmp bx, word [edi + 0x48]
jbe 0x1402a74
mov ebp, dword [edi + 0x58]
add ebp, 0xc
mov ecx, dword [ebp]
test ecx, ecx
je 0x1402b1d
mov eax, dword [edi + 0x50]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [ebp + 4]
lea ebp, [ebp + 0x14]
add esi, dword [edi + 0x50]
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1402b16
nop
mov eax, ecx
and eax, 0x7fffffff
test ecx, ecx
js 0x1402b03
mov ecx, dword [edi + 0x50]
add ecx, 2
add eax, ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
add esi, 4
mov ecx, dword [esi]
test ecx, ecx
jne 0x1402af0
mov ecx, dword [ebp]
test ecx, ecx
jne 0x1402ad1
mov ecx, dword [edi + 0x54]
push 0
push 1
push 0
call ecx
push dword [esp + 0x20]
mov ecx, dword [edi + 0x4c]
call ecx
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x1403070
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
push 0x345de94
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14030ae
push esi
push dword [esp + 0x14]
push edi
call fcn.0140aa10
add esp, 0xc
push 0x345de94
push dword [0x345de94]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov eax, esi
pop esi
ret
Function at 0x1403920
Capabilities:
Enumerate files on windows
Get common file path
Terminate process

Disassembly:
sub esp, 0x448
mov eax, dword [0x145b084]
xor eax, esp
mov dword [esp + 0x444], eax
push esi
push edi
mov dword [0x345cd38], 0
mov dword [0x345cd40], 0
mov dword [0x345cd44], 0
mov dword [0x345cd50], 0
mov dword [0x345cd54], 0
mov dword [0x345cd58], 0
mov dword [0x345cd5c], 0
mov byte [0x345cd60], 0
mov byte [0x345cd68], 0
call fcn.01401370
mov dword [0x345ce70], eax
mov eax, dword [0x145bee8]
mov dword [0x345ce74], eax
mov eax, dword [0x145b064]
mov dword [0x345ce78], eax
lea eax, [esp + 0x14c]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.metahook
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x254]
push str._s_s.dll
push eax
call fcn.01402930
lea eax, [esp + 0x25c]
push eax
push str.Search_Path:__s
call fcn.01401ce0
add esp, 0x18
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x1403b09
mov esi, eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x254]
push str._smetahook_s
push eax
call fcn.01402930
lea eax, [esp + 0x25c]
push eax
push str.File:__s
call fcn.01401ce0
lea eax, [esp + 0x264]
push eax
call fcn.01401c10
add esp, 0x1c
test eax, eax
jne 0x1403a85
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x140
lea esi, [esp + 0x150]
mov edi, esp
mov ecx, 0x50
rep movsd dword es:[edi], dword [esi]
push str.Unable_To_Load_Module:__s._Code:__X
call fcn.01401ce0
add esp, 0x148
jmp 0x1403ac0
push eax
lea eax, [esp + 0x250]
push eax
call fcn.01403c50
add esp, 8
test al, al
jne 0x1403ac4
sub esp, 0x140
lea esi, [esp + 0x14c]
mov edi, esp
mov ecx, 0x50
rep movsd dword es:[edi], dword [esi]
push str.Fail_To_Load_Plugin:__s
call fcn.01401ce0
add esp, 0x144
mov esi, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1403a11
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [0x345ce84]
push str.Loaded__d_Plugins.
call fcn.01401ce0
mov ecx, dword [esp + 0x454]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.014096e2
add esp, 0x448
ret
push 0
push str.No_Plugin_Found
push str.Unable_To_Load_Main_Plugin_and_Sub_Plugins.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0142f1ea
int3