joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf056ff6
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, ebx
and eax, 0x3fff
push edi
mov esi, 0x4000
je 0xf05705c
mov edi, esi
sub edi, eax
cmp edi, dword [ebp + 0x10]
jbe 0xf05701b
mov edi, dword [ebp + 0x10]
push edi
push ebx
push dword [ebp + 8]
call fcn.0f0057f0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 8]
call fcn.0f035b9b
test eax, eax
jl 0xf0570a2
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
call fcn.0f035b9b
test eax, eax
jl 0xf0570a2
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 0x10]
call fcn.0f04674b
test eax, eax
jl 0xf0570a2
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp edi, esi
jb 0xf05708d
shr edi, 0xe
push esi
push ebx
push dword [ebp + 8]
call fcn.0f0057f0
add esp, 0xc
push 0x40
push 0x2000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add dword [ebp + 8], esi
sub dword [ebp + 0x10], esi
add ebx, esi
dec edi
jne 0xf057066
cmp dword [ebp + 0x10], 0
je 0xf0570a2
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.0f0057f0
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0xf0573f7
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
push esi
movzx esi, word [ebp + 8]
cmp ax, word [ebp + 0xc]
jae 0xf057474
push ebx
push edi
movzx edi, word [ebp + 0xc]
mov eax, dword [sym.ntvdm.exe_ExpLdt]
test esi, 0xfff8
je 0xf057442
movzx ecx, si
shr ecx, 3
movzx edx, byte [eax + ecx*8 + 7]
movzx ebx, byte [eax + ecx*8 + 4]
shl edx, 8
or edx, ebx
movzx ebx, word [eax + ecx*8 + 2]
shl edx, 0x10
or edx, ebx
mov dword [ecx*4 + sym.ntvdm.exe_FlatAddress], edx
movzx ecx, si
shr ecx, 3
shl ecx, 3
lea edx, [ecx + eax + 4]
test dword [edx], 0x8000
je 0xf057462
or dword [edx], 0x6000
mov eax, dword [sym.ntvdm.exe_ExpLdt]
lea eax, [ecx + eax + 4]
and dword [eax], 0xffdfffff
add esi, 8
dec edi
jne 0xf05740f
pop edi
pop ebx
pop esi
pop ebp
jmp fcn.0f057202

Function at 0xf0576e3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ax, word [0xf0899f4]
mov word [ebp - 4], ax
jmp 0xf057768
movzx edx, word [ebp - 4]
mov eax, dword [sym.ntvdm.exe_ExpLdt]
shr edx, 3
shl edx, 3
add eax, edx
cmp byte [eax + 5], 0
jne 0xf057713
cmp byte [eax + 7], 0x80
je 0xf057760
xor eax, eax
xor ecx, ecx
mov ax, word [ebp - 4]
or eax, 7
lsl ecx, eax
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xffff
jne 0xf057760
mov eax, dword [sym.ntvdm.exe_ExpLdt]
add eax, edx
movzx ecx, byte [eax + 7]
movzx edx, byte [eax + 4]
shl ecx, 8
or ecx, edx
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
cmp dword [ebp + 8], ecx
jne 0xf057760
movzx eax, byte [eax + 5]
movzx ecx, byte [ebp + 0xc]
xor eax, ecx
test eax, 0xfffffffe
je 0xf057777
add dword [ebp - 4], 8
mov ax, word [ebp - 4]
cmp ax, word [0xf0899f0]
jb 0xf0576f6
xor eax, eax
leave
ret 8
mov eax, dword [ebp - 4]
or eax, 7
jmp 0xf057773
Function at 0xf058a8f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 1
push esi
push 0xf002ea8
push 0x80000002
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xf058ae9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf0049d8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xf058ae9
mov eax, dword [ebp - 8]
jmp 0xf058aeb
xor eax, eax
pop esi
leave
ret

Function at 0xf05c5c2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0xf072008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x98]
push eax
push 9
xor edi, edi
push edi
push 0xf0049e4
push 0x80000002
mov dword [ebp - 0x88], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xf05c6d9
push ebx
push esi
push 0x40
pop esi
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x44]
push eax
push edi
push edi
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
push dword [ebp - 0x98]
mov dword [ebp - 0x90], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x8c], esi
call edi
mov ebx, 0x103
jmp 0xf05c6bd
test eax, eax
jne 0xf05c680
cmp dword [ebp - 0x8c], 3
jbe 0xf05c680
lea eax, [ebp - 0x9c]
push eax
push 0xa
lea eax, [ebp - 0x41]
push eax
call dword [sym.imp.ntdll.dll_RtlCharToInteger]
test eax, eax
jl 0xf05c680
mov ecx, dword [ebp - 0x9c]
xor eax, eax
dec ecx
inc eax
shl eax, cl
or dword [ebp - 0x88], eax
inc dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x90]
mov dword [ebp - 0x94], esi
push dword [ebp - 0x98]
mov dword [ebp - 0x8c], esi
call edi
cmp eax, ebx
jne 0xf05c64a
push dword [ebp - 0x98]
and dword [ebp - 0x88], 0x1ff
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x88]
xor ecx, ebp
pop edi
call fcn.0f0057d5
leave
ret
Function at 0xf06c3cf
Capabilities:
Allocate or change rwx memory
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0xf08ae7c], 0
je 0xf06c443
push 0
push dword [ebp + 8]
call fcn.0f044574
and dword [ebp - 8], 0
push 0x40
push 0x40000000
push 2
mov dword [ebp - 4], eax
mov eax, dword [0xf0aceb0]
lea ecx, [ebp + 8]
push ecx
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
push ecx
mov eax, 0x4000
push eax
push 0
mov dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
push dword [0xf08ae80]
push dword [0xf08ad70]
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jge 0xf06c449
push 0x1b6
push 0xf004fa8
push eax
push 0x3e9
call fcn.0f02cb1f
xor eax, eax
leave
ret 4
xor eax, eax
inc eax
jmp 0xf06c445

Function at 0xf06c453
Capabilities:
Allocate or change rwx memory
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [0xf08ae7c], edi
je 0xf06c4d4
push edi
push dword [ebp + 0xc]
call fcn.0f044574
mov dword [ebp + 0xc], eax
movsx eax, word [ebp + 8]
shl eax, 0xe
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0x4000
call fcn.0f06b6ea
push dword [ebp + 0xc]
push dword [0xf08ae80]
call sub.ntdll.dll_NtUnmapViewOfSection
cmp eax, edi
jge 0xf06c4b6
push 0x1f1
push 0xf004fa8
push eax
push 0x3e9
call fcn.0f02cb1f
xor eax, eax
jmp 0xf06c4d7
mov eax, dword [0xf08ae80]
cmp eax, edi
jne 0xf06c4dc
push 0x1f7
push 0xf004fa8
push edi
push 0x3e9
call fcn.0f02cb1f
or eax, 0xffffffff
pop edi
leave
ret 8
push 0x40
push 0x40000000
push 2
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x4000
push edi
lea ecx, [ebp + 0xc]
push ecx
push eax
push dword [0xf08ad70]
call sub.ntdll.dll_NtMapViewOfSection
cmp eax, edi
jge 0xf06c4b2
push 0x20a
push 0xf004fa8
push eax
jmp 0xf06c4ca
Function at 0xf06c906
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 0x100
mov eax, 0xf08ad78
xor esi, esi
push esi
push eax
mov dword [0xf08ae78], eax
call fcn.0f0060e0
movsx eax, word [ebp + 8]
or dword [0xf08ae80], 0xffffffff
add esp, 0xc
push 0x40
pop ecx
push esi
shl eax, 0x14
push 0x8000000
lea edx, [eax + 0x4000]
push ecx
mov dword [0xf0aceb0], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xa
push 0xf08ad70
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], esi
call sub.ntdll.dll_NtCreateSection
test eax, eax
jge 0xf06c986
or eax, 0xffffffff
jmp 0xf06ca02
push 4
push esi
push 2
lea eax, [ebp + 8]
push eax
push esi
push esi
push esi
push 0xf08ae7c
push dword [0xf08ae80]
mov dword [0xf08ae7c], esi
push dword [0xf08ad70]
mov dword [ebp + 8], esi
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jl 0xf06c981
call fcn.0f039bcc
test eax, eax
jne 0xf06c9c5
call fcn.0f06c33e
jmp 0xf06c981
push ebx
call fcn.0f06b70e
movzx ebx, ax
jmp 0xf06c9fa
mov al, bl
dec al
movzx eax, al
push eax
call fcn.0f06b71a
movzx eax, ax
mov ecx, 0xa000
cmp ax, cx
jbe 0xf06c9f4
push eax
call fcn.0f06c3cf
test eax, eax
je 0xf06ca07
add ebx, 0xffff
cmp bx, si
jne 0xf06c9d0
xor eax, eax
pop ebx
pop esi
leave
ret 4
or eax, 0xffffffff
jmp 0xf06ca01
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x291a4223
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7e1942c0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402463
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x4024f6
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4024a4
mov eax, 0x4732d5
push eax
push 1
mov ebx, 0x25c
call fcn.0044f2f0
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.0044f300
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x402500
mov eax, 0
jmp 0x402500
mov esp, ebp
pop ebp
ret 4

Function at 0x402538
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.0044f320
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x4025b4
cmp dword [ebp - 4], 0
je 0x4025af
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
jmp 0x4025bc
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
mov eax, 0
setne al
jmp 0x4025cd
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4025d3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402610
mov eax, 0x4732d5
push eax
push 3
mov ebx, 0x270
call fcn.0044f400
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402753
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.0044f4e0
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402661
mov eax, 0x4732d5
push eax
push 1
mov ebx, 0x244
call fcn.0044f0f0
add esp, 0x10
call fcn.00401780
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402691
mov eax, 0x4732d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4026a5
mov eax, 0x4732d5
push eax
push 2
mov ebx, 0x23c
call fcn.0044f100
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4026c8
push ebx
call fcn.0044a40f
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40273e
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40274e
push ebx
call fcn.0044a40f
add esp, 4
jmp 0x402843
push dword [ebp + 8]
call fcn.00402463
and eax, 1
xor eax, 1
test eax, eax
je 0x4027bd
call fcn.00401780
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402786
mov eax, 0x4732d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40279a
mov eax, 0x4732d5
push eax
push 2
mov ebx, 0x23c
call fcn.0044f100
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4027bd
push ebx
call fcn.0044a40f
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402833
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402843
push ebx
call fcn.0044a40f
add esp, 4
push 0x63054e
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4
Function at 0x4070d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 8
call fcn.0044a409
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0044a409
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
push 0x10
call fcn.0044a409
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc8
call fcn.0044eb80
add esp, 0x1c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
nop
nop
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
push str.SeDebugPrivilege
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4071f4
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
nop
nop
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
jmp 0x40728b
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0044a40f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x408859
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
mov eax, 0
sete al
jmp 0x408899
mov esp, ebp
pop ebp
ret 8
Function at 0x408cff
Capabilities:
Create http request
Download and write a file
Inspect section memory permissions
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x24
call fcn.0044a409
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408dc6
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x408dd6
push ebx
call fcn.0044a40f
add esp, 4
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x408e27
push 0x6305a2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 0x14]
push 0
push 0
push 0xffffffffffffffff
call dword [ebp + 0x10]
push 0x6305a2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0xffffffff
jmp 0x409412
push dword [ebp + 8]
call fcn.00409456
mov dword [ebp - 0x14], eax
push str._r_nAccept_Language:_zh_cn_r_n
push dword [ebp - 0x14]
push str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg__application_x_shockwave_flash__application_vnd.ms_excel__application_vnd.ms_powerpoint__application_msword____r_nReferer:
mov ecx, 3
call fcn.004010d5
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408e5f
push ebx
call fcn.0044a40f
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408e73
push ebx
call fcn.0044a40f
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
Function at 0x410042
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
push dword [0x63056a]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410091
mov eax, 0x47338d
jmp 0x410150
push dword [ebp + 8]
push dword [0x63056a]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4100bb
mov eax, 0x47338d
jmp 0x410150
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4100df
mov eax, 0x47338d
jmp 0x410150
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0044f510
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410112
push ebx
call fcn.0044a40f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410126
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41014b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0044a409
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x410150
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410161
push ebx
call fcn.0044a40f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x413521
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ebx, dword [0x630552]
mov dword [ebp - 4], ebx
push 0x4732d5
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00401c21
add esp, 8
cmp eax, 0
je 0x4135dd
mov ebx, dword [0x630552]
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4135cd
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4135dd
push ebx
call fcn.0044a40f
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x41ac27
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ebx, dword [0x630552]
add ebx, 0x70
mov dword [ebp - 4], ebx
push 0x4732d5
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00401c21
add esp, 8
cmp eax, 0
je 0x41ace9
mov ebx, dword [0x630552]
add ebx, 0x70
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0044ebe0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41acd9
push ebx
call fcn.0044a40f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41ace9
push ebx
call fcn.0044a40f
add esp, 4
mov esp, ebp
pop ebp
ret