joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fc40
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2be7
mov eax, dword fs:[0]
push eax
sub esp, 0x5c4
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5cc], 0
mov dword [ebp - 4], 0
push 0x4be57d
lea ecx, [ebp - 0x428]
call fcn.00436820
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5b8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x45fcea
lea ecx, [ebp - 0x428]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004366b0
mov edx, dword [ebp - 0x5cc]
or edx, 1
mov dword [ebp - 0x5cc], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.00438400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00438400
mov eax, dword [ebp + 8]
jmp 0x45fe0e
lea ecx, [ebp + 0xc]
call fcn.0043d960
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x5d0], eax
cmp dword [ebp - 0x5d0], 0
jne 0x45fd50
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x4be57e
mov ecx, dword [ebp + 8]
call fcn.00436820
mov eax, dword [ebp - 0x5cc]
or eax, 1
mov dword [ebp - 0x5cc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.00438400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00438400
mov eax, dword [ebp + 8]
jmp 0x45fe0e
mov ecx, dword [ebp - 0x5d0]
movsx edx, word [ecx + 0xa]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x5d0]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx]
push ecx
lea edx, [ebp - 0x5c4]
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x400
push 0
lea eax, [ebp - 0x410]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x5c4]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x4be8ac
lea edx, [ebp - 0x410]
push edx
call fcn.00441870
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.00438d10
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x428]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004366b0
mov edx, dword [ebp - 0x5cc]
or edx, 1
mov dword [ebp - 0x5cc], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.00438400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00438400
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret

Function at 0x460560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x460690
push 0
push 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1c], 0
jne 0x460593
xor al, al
jmp 0x460595
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x462570
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2f89
mov eax, dword fs:[0]
push eax
sub esp, 0xcc8
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xccc], ecx
mov eax, dword [ebp - 0xccc]
mov ecx, dword [eax + 4]
push ecx
push 0
push 0x1804
push 0
push 0
push 1
lea ecx, [ebp - 0xcc4]
call fcn.00463800
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xcc4]
call fcn.004639c0
lea edx, [ebp - 0xc48]
push edx
lea ecx, [ebp - 0x840]
call fcn.00442b90
mov byte [ebp - 4], 1
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push 0x450
lea edx, [ebp - 0xcd4]
push edx
mov ecx, dword [ebp - 0xccc]
add ecx, 4
call fcn.00444300
mov ecx, eax
call fcn.004392b0
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00442b90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x828]
call fcn.00463cb0
mov cx, word [eax]
mov word [ebp - 0xcc8], cx
movzx edx, word [ebp - 0xcc8]
cmp edx, 0x3b
je 0x462682
lea ecx, [ebp - 0x828]
call fcn.0043f1b0
test eax, eax
jne 0x462696
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x828]
call fcn.00463b90
jmp 0x4626b8
push 0x4beda0
lea ecx, [ebp - 0x828]
call fcn.00463bd0
lea ecx, [ebp - 0x840]
push ecx
lea ecx, [ebp - 0x828]
call fcn.00463b90
lea ecx, [ebp - 0x828]
call fcn.004446a0
push eax
mov ecx, dword [ebp - 0xccc]
add ecx, 0x38
call fcn.004445e0
mov dword [ebp - 0xcd0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00442d50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00442d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc4]
call fcn.004475f0
mov eax, dword [ebp - 0xcd0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x465870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x465890
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46d6a0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x46d6ce
xor al, al
jmp 0x46d752
lea ecx, [ebp - 0x20]
push ecx
push 0x4c027c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x46d6f1
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x46d752
mov dword [ebp - 0x14], 1
mov eax, 0xc
imul ecx, eax, 0
mov edx, dword [ebp - 0x20]
mov dword [ebp + ecx - 0x10], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp + ecx - 0xc], eax
mov ecx, 0xc
imul edx, ecx, 0
mov dword [ebp + edx - 8], 2
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x46d746
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x46d752
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret

Function at 0x46d760
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x46d810
cmp dword [ebp - 0x114], 5
jne 0x46d7ac
cmp dword [ebp - 0x110], 1
jne 0x46d7ac
mov eax, 1
jmp 0x46d812
cmp dword [ebp - 0x114], 5
jne 0x46d7c5
cmp dword [ebp - 0x110], 2
jne 0x46d7c5
mov eax, 1
jmp 0x46d812
cmp dword [ebp - 0x114], 6
jne 0x46d7de
cmp dword [ebp - 0x110], 0
jne 0x46d7de
mov eax, 2
jmp 0x46d812
cmp dword [ebp - 0x114], 6
jne 0x46d7f7
cmp dword [ebp - 0x110], 1
jne 0x46d7f7
mov eax, 2
jmp 0x46d812
cmp dword [ebp - 0x114], 6
jb 0x46d810
cmp dword [ebp - 0x110], 2
jb 0x46d810
mov eax, 3
jmp 0x46d812
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret
Function at 0x46e070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3da9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e8560
call fcn.00436730
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004446f0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00441d10
mov dword [ebp - 0x3c], eax
push 5
push 0x4c0028
push 0x4c002c
lea ecx, [ebp - 0x28]
call fcn.004446a0
push eax
push 0x4c0030
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
call fcn.00442d50
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46e130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3dd6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4e8578
call fcn.00436730
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004446f0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00441d10
mov dword [ebp - 0x3c], eax
push 5
push 0x4c003c
push 0x4c0040
lea ecx, [ebp - 0x28]
call fcn.004446a0
push eax
push 0x4c0044
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
call fcn.00442d50
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46e230
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 5
mov eax, dword [str.huvsw___]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x4bff6c]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x4bff70]
mov dword [ebp - 0x14], edx
mov eax, dword [0x4bff74]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x4bff78]
mov dword [ebp - 0xc], ecx
mov dx, word [0x4bff7c]
mov word [ebp - 8], dx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0046d820
add esp, 8
push 1
push 0
push 0
mov eax, dword [ebp - 0x34]
push eax
push 0x4bff80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46e8d0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3ecd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00448710
test eax, eax
jg 0x46e938
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00447540
mov eax, dword [ebp - 0x2c8]
jmp 0x46e9c4
push 0x2b4
push 0
lea eax, [ebp - 0x2c4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x2b4
push 0
lea ecx, [ebp - 0x2c4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x101
push 0x2b4
lea edx, [ebp - 0x2c4]
push edx
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00448570
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0x2cc]
add ecx, 0x48
call fcn.00472c60
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00447540
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 4
Function at 0x471830
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push str.https:__www.188s5.com
push 0x4c0170
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x471860
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push str.https:__www.pro5.app
push 0x4c0190
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x471890
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4bfd34
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4718c7
cmp dword [ebp - 4], 0
je 0x4718c3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4718ca
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4745e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x202
jne 0x474667
lea ecx, [ebp - 0x14]
call fcn.00466e30
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
sub ecx, 0x20
call fcn.00473ab0
lea ecx, [ebp - 0x20]
call fcn.00436160
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.00476600
test eax, eax
je 0x474667
push 1
push 0
push 0
push str.http:__www.baidu.com_client.html_
push 0x4c05a4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
jmp 0x474669
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 4

Function at 0x477190
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x4799a0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4799c6
xor eax, eax
jmp 0x479a71
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4799e2
xor eax, eax
jmp 0x479a71
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4799fb
xor eax, eax
jmp 0x479a71
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x479a12
xor eax, eax
jmp 0x479a71
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x479a38
xor eax, eax
jmp 0x479a71
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x479a62
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x479a71
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x484470
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.0047b1c0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00483080
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x4844ef
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.0047baa0
mov eax, dword [ebp - 0x220]
jmp 0x4845a4
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x484573
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00484470
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x484567
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.0047baa0
mov eax, dword [ebp - 0x224]
jmp 0x4845a4
mov dword [ebp - 0x210], 0x100
jmp 0x4844f9
lea ecx, [ebp - 0x21c]
call fcn.0047e470
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.0047f530
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.0047baa0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 4

Function at 0x484920
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x48497f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48494c
mov eax, 1
jmp 0x48499d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48497d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x48499d
jmp 0x484998
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x484998
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x48499d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4867e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x4867e9
cmp dword [ebp + 0xc], 0
je 0x4867fc
mov dword [ebp - 0x10], 1
jmp 0x486803
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x486816
mov eax, 0xd
jmp 0x486873
xor edx, edx
jne 0x4867ed
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 1
jne 0x486827
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x486950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x486959
cmp dword [ebp + 0xc], 0
je 0x48696c
mov dword [ebp - 4], 1
jmp 0x486973
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x486986
mov eax, 0xd
jmp 0x4869b5
xor edx, edx
jne 0x48695d
mov eax, dword [ebp + 0xc]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4899a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5129
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e5258]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.004485c0
test eax, eax
je 0x489a38
push 0
push str.ipconfig__flushdns
call dword [sym.imp.KERNEL32.dll_WinExec]
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004483b0
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004483b0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00463a90
mov dword [ebp - 0x1c], eax
push 1
call fcn.00449340
mov ecx, eax
call fcn.0042e620
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00449340
mov ecx, eax
call fcn.0042eb70
call fcn.00449340
mov ecx, eax
call fcn.0042be80
jmp 0x489a86
push 0
call fcn.00449340
mov ecx, eax
call fcn.0042e620
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00448fc0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004483b0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004483b0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004483b0
call fcn.00449340
mov ecx, eax
call fcn.0042be80
push 4
call fcn.004add38
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x489aad
mov ecx, dword [ebp - 0x14]
call fcn.0048a450
mov dword [ebp - 0x18], eax
jmp 0x489ab4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00449370
mov ecx, eax
call fcn.004605f0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10