joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c56c0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov eax, 4
call fcn.00402b48
mov ebx, eax
mov eax, 4
call fcn.00402b48
mov esi, eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x6e310c]
call fcn.0040508c
push eax
mov eax, dword [0x6e3100]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x6c5788
mov dword [esp + 4], 1
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push 0x6c57a8
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [0x6e5e24]
cmp byte [eax], 1
jne 0x6c577f
mov dword [ebx], 4
mov dword [esi], 4
push esi
mov eax, dword [0x6e63e4]
push eax
push ebx
push 0
push 0x6c57b4
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x6c5774
push 0x6c57b4
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
jmp 0x6c577f
mov eax, dword [0x6e63e4]
mov dword [eax], 0xffffffff
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov edx, 4
mov eax, esi
call fcn.00402b78
mov edx, 4
mov eax, ebx
call fcn.00402b78
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x6c57c4
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov eax, 4
call fcn.00402b48
mov ebx, eax
mov eax, 4
call fcn.00402b48
mov esi, eax
push esp
push 0xf003f
push 0
mov eax, dword [0x6e310c]
call fcn.0040508c
push eax
mov eax, dword [0x6e3100]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x6c5882
mov dword [ebx], 4
mov dword [esi], 4
push esi
lea eax, [esp + 8]
push eax
push ebx
push 0
push 0x6c58a0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x6c5879
push 0x6c58a0
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [esp + 4]
cmp al, 1
jne 0x6c5879
mov eax, dword [0x6e63e4]
cmp dword [eax], 0xffffffff
je 0x6c5879
mov eax, dword [0x6e5e24]
cmp byte [eax], 1
jne 0x6c5879
push 4
mov eax, dword [0x6e63e4]
push eax
push 4
push 0
push 0x6c58ac
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [0x6e63e4]
or dword [eax], 0x20
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov edx, 4
mov eax, esi
call fcn.00402b78
mov edx, 4
mov eax, ebx
call fcn.00402b78
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x6c9974
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x6c9a0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [0x6c9a1c]
push eax
push 0
push 0x6c9a28
push dword [0x6e30e0]
push 0x6c9ad0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404f4c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004054bc
mov edx, dword [ebp - 4]
xor ecx, ecx
mov eax, ebx
call fcn.006b79f8
dec eax
jne 0x6c99f1
push 1
push 0
push 0
mov eax, dword [0x6e5570]
mov eax, dword [eax]
call fcn.0040508c
push eax
push 0x6c9ae4
mov eax, ebx
call fcn.00473d08
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9a16
lea eax, [ebp - 8]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.004052d8
ret

Function at 0x6cc854
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
xor eax, eax
push ebp
push 0x6cc8fc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x6cc908
push 0x80000001
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x6cc8e1
lea eax, [ebp - 0xc]
mov edx, dword [0x6e30e4]
call fcn.00404c38
mov eax, dword [ebp - 0xc]
call fcn.00404e8c
push eax
lea eax, [ebp - 0xc]
call fcn.004050e4
push eax
push 1
push 0
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402fbc
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cc903
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404bc4
ret

Function at 0x87d7fb
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x87d848
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], esi
mov esi, dword [edi + edx]
mov ecx, dword [edx]
lea ebx, [ecx + esi]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + edx], eax
mov ebx, ecx
xor ebx, esi
and ebx, eax
or ecx, esi
xor ebx, ecx
shr ebx, 0x1f
add edx, 4
dec dword [ebp + 0x14]
mov eax, ebx
jne 0x87d81f
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x87da22
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x87da6f
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ebx, esi
sub ecx, esi
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
mov edi, dword [ebx + esi]
mov edx, dword [esi]
mov ecx, edi
sub ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + esi], ecx
xor ecx, edi
xor edx, edi
or ecx, edx
xor ecx, edi
shr ecx, 0x1f
add esi, 4
dec dword [ebp + 0x14]
mov eax, ecx
jne 0x87da46
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x885a04
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x885b3f
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x885b14
test eax, eax
jne 0x885b14
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x885a54
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x885b3f
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x885b14
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x885f74
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x105e4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105e41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105e407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e406a
add dl, dl
jne 0x105e4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e40dc
xor eax, eax
add dl, dl
jne 0x105e4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105e417d
add dl, dl
jne 0x105e40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105e40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105e4075
mov eax, 1
add dl, dl
jne 0x105e40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105e40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e40e1
sub eax, ebx
mov ebx, 1
jne 0x105e4128
mov ecx, 1
add dl, dl
jne 0x105e410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105e4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105e413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105e414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105e4136
cmp eax, 0x7d00
jae 0x105e416d
cmp eax, 0x500
jb 0x105e4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e4075
cmp eax, 0x7f
ja 0x105e4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105e4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105e419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105e4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40a0c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40a0d7
pop dword [ebp - 0x14]
mov eax, 0x40a0d7
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3b873
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xa44539e6
add ecx, 0x5bbb052c
mov edi, eax
mov esi, 0x487a7d9a
add esi, 0xb7c8d666
add esi, dword [ebp - 0x14]
mov ebx, 0x6f4131c6
xor dword [ebp - 0xc], 0x190ba89e
mov edx, dword [esi]
mov dword [ebp - 4], 0x5756973b
xor edx, ebx
mov dword [ebp - 4], 0x33985c2d
mov dword [edi], edx
xor dword [ebp - 8], ebx
add edi, 0xe12ffd81
add edi, 0x1ed00283
add esi, 4
loop 0x40a126
add eax, 0x665c1448
add eax, 0x99a4dad3
mov ebx, eax
add eax, 0x7a2ced30
sub eax, 0x7a2ced2b
mov ecx, 0x99dfce94
add ecx, 0x6660316c
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x620312
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec ax
je 0x620318
seto dh
rdtsc
jmp 0x620323
lea edi, [esp + 4]
jmp 0x6202fc
seto dh
rdtsc
jmp 0x620323
sub esp, 0xbc
jmp 0x6203bc
mov ebp, esp
not cx
call fcn.0062037e
jmp 0x6203f2
lea ebx, reloc.WLDAP32.dll_Ordinal_41
mov dx, bp
mov dh, al
xchg cx, bx
jmp 0x620480
btc bx, sp
lea esp, [esp + 4]
dec esi
clc
jmp 0x62043a
mov dh, al
xchg cx, bx
jmp 0x620480
jb 0x6203c8
lea ebx, reloc.WLDAP32.dll_Ordinal_41
mov dx, bp
jmp 0x620424
xor bx, sp
jp 0x62048d
jnp 0x62048d
not esi
xchg ebx, edx
bswap ecx
mov dx, word [esp]
pushfd
jmp 0x620466
ror esi, 0
mov cx, 0x6ba5
bts ebx, eax
jmp 0x6204df
jbe 0x62052a
lea ebx, [ecx*4]
lea ecx, [edx + 0x19]
jmp 0x620534
lea ebx, [ecx*4]

Function at 0x662360
Capabilities:
Encrypt data using aes

Disassembly:
clc
jmp 0x66236a
pop di
lea esp, [esp + 2]
mov edi, dword [ecx]
jmp 0x66234a
mov dword [ecx], eax
clc
mov eax, dword [edx + 4]
push si
jmp 0x662392
mov dword [ecx + 4], eax
cmc
pushfd
clc
mov dword [esp], esi
jmp 0x66239e
lea esp, [esp + 2]
mov dword [edx], edi
mov edi, dword [ecx + 4]
stc
jmp 0x662374
mov dword [edx + 4], edi
stc
lea esp, [esp + 0x10]
sub ebx, 4
jmp 0x6623dc
sub esp, 0xf
lea esp, [esp + 3]
jmp 0x6623e6
add ecx, 0x10
cmc
sub edx, 0x10
cmc
jmp 0x6623c6
lea esp, [esp + 0xc]
cmp dword [ebp - 4], ebx
jl 0x60f5f9
xchg ah, al
jmp 0x6623fb
not ax
jmp 0x66258c
mov eax, dword [ebp - 8]
jmp 0x60f5a3

Function at 0x6624f4
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x662558
lea esp, [esp + 0x1c]
xor edi, dword [ebx*4 + reloc.WLDAP32.dll_Ordinal_41]
mov bh, byte [esp]
movzx ebx, byte [esi + 5]
jmp 0x662536
add esp, 2
add esp, 0
lea esp, [esp + 2]
and ebx, ecx
jmp 0x6624f6

Function at 0x6626e6
Capabilities:
Encrypt data using aes

Disassembly:
add esp, 0
sub esp, 0
and edx, ecx
jmp 0x6626f4
push esi
mov esi, edx
lea esi, [esi*4]
jmp 0x662718

Function at 0x66274b
Capabilities:
Encrypt data using aes

Disassembly:
and edx, ecx
jmp 0x662753
lea esp, [esp + 8]
xor edi, dword [edx*4 + reloc.WLDAP32.dll_Ordinal_41]
btc dx, bp
jmp 0x662800
mov edx, dword [esi + 0xc]
sub esp, 4
call fcn.006627b8
mov edi, dword [edi*4 + reloc.WLDAP32.dll_Ordinal_41]
call fcn.006627ea
lea esp, [esp + 0x1c]
xor edi, dword [ebx*4 + reloc.WLDAP32.dll_Ordinal_41]
bswap ebx
jmp 0x66288a

Function at 0x6628e3
Capabilities:
Encrypt data using aes

Disassembly:
and edx, ecx
pushal
lea esp, [esp + 0xd]
lea esp, [esp + 3]
jmp 0x6628b8
lea esp, [esp + 2]
and ebx, ecx
xor edi, dword [ebx*4 + reloc.WLDAP32.dll_Ordinal_41]
jmp 0x662893
lea esp, [esp + 0x10]
xor edi, dword [edx*4 + reloc.WLDAP32.dll_Ordinal_41]
pushal
lea esp, [esp + 0x20]
jmp 0x66291d
pop word [esp]
jmp 0x6628a9
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x60f60f
je 0x60f5e3
mov esi, dword [esp]
call 0x662938
or dword [ebx - reloc.WLDAP32.dll_Ordinal_41], ecx
add dword [eax], eax
add byte [eax], al
test al, 0x66
mov dword [esp + 1], eax
lea esp, [esp]
jmp 0x6629ef
lea esp, [esp + 0x10]
leave
ret
Function at 0x662d59
Capabilities:
Encrypt data using aes

Disassembly:
sub ecx, 0x47
jmp 0x662c1c
call 0x6635b4
add dword [edi], reloc.WLDAP32.dll_Ordinal_41
cmp dword [eax - reloc.WLDAP32.dll_Ordinal_41], edi
adc eax, 0x691e3784
push ecx
push ecx
push ebx
sub esp, 8
jmp 0x662d25
lea esp, [esp + 8]
push edi
pushal
setne bl
jmp 0x662d4d
mov dword [esp], eax
popal
mov al, byte [ecx]
call 0x662d59
in eax, 0x8d
and al, 4
jmp 0x662ddc
lea esp, [esp]
lea esp, [esp + 4]
ja 0x662d03
jbe 0x66358f
push edx
call 0x6635d2
xchg esp, eax
adc al, byte [eax + 0x162a12e7]
xchg edi, eax
pop es
bound edx, qword [ecx + 0x54258a9b]
mov dword [ebx + reloc.WLDAP32.dll_Ordinal_41], 0x8dfffff6
and al, 0xc
cmp cl, 0x5a
jmp 0x663604
ja 0x662cbb
stc
jmp 0x663665
push ebx
lea esp, [esp + 4]
movzx ecx, cl
jmp 0x6635db
sub ecx, 0x41
jmp 0x662c1c

Function at 0x662dac
Capabilities:
Encrypt data using aes

Disassembly:
pushfd
jmp 0x662d91
cmp al, 0x5a
jbe 0x60f744
ja 0x60f772
lea esp, [esp + 4]
cmp al, 0x61
jmp 0x662db9
lea esp, [esp + 4]
jb 0x60f772
stc
jmp 0x662d83
jb 0x60f723
cmp al, 0x7a
call fcn.00662e8c
Function at 0x80ae4c
Capabilities:
Parse pe header

Disassembly:
call fcn.00809ae9
mov edi, eax
jmp 0x80ade2
push edi
mov eax, dword fs:[0x30]
push edi
jmp 0x80ad9c
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x809ae4
lea edi, [edi + 0xc]
mov eax, dword [edi]
pop edi
mov eax, dword [eax + 0x1c]
jmp 0x80adbc
lea esp, [esp + 3]
push ebp
pop word [esp]
lea esp, [esp + 3]
mov dword [esp + 4], ebp
mov dword [esp], esi
jmp 0x80adb2
mov word [esp], di
jmp 0x80ae1f
Function at 0x402559
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40258d
push 6
call fcn.00458e16
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x402601
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4025af
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x25c
call fcn.0045dcf0
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.0045dd00
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x40260b
mov eax, 0
jmp 0x40260b
mov esp, ebp
pop ebp
ret 4

Function at 0x402658
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.0045dd20
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
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
cmp dword [ebp - 0xc], esp
je 0x4026c0
push 6
call fcn.00458e16
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
jne 0x4026fe
cmp dword [ebp - 4], 0
je 0x4026f9
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4026f9
push 6
call fcn.00458e16
add esp, 4
jmp 0x402706
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 0x402717
mov esp, ebp
pop ebp
ret 0x14
Function at 0x407295
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 8
call fcn.00458e0a
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00458e0a
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.00458e0a
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
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x407344
push 6
call fcn.00458e16
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc8
call fcn.0045d580
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40739d
push 6
call fcn.00458e16
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d5e0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
push str.SeDebugPrivilege
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4073e8
push 6
call fcn.00458e16
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4073f8
push ebx
call fcn.00458e10
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 dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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
cmp dword [ebp - 0x18], esp
je 0x40748c
push 6
call fcn.00458e16
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4074b1
push 6
call fcn.00458e16
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x4074b9
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00458e10
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00458e10
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00458e10
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40d66a
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
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
cmp dword [ebp - 4], esp
je 0x40d6ab
push 6
call fcn.00458e16
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
sete al
jmp 0x40d6bf
mov esp, ebp
pop ebp
ret 8
Function at 0x410b95
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x68cef0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410be2
push 6
call fcn.00458e16
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410bf9
mov eax, 0x48138d
jmp 0x410cf7
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x68cef0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410c21
push 6
call fcn.00458e16
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x410c38
mov eax, 0x48138d
jmp 0x410cf7
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410c5a
push 6
call fcn.00458e16
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x410c71
mov eax, 0x48138d
jmp 0x410cf7
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0045df10
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410ca4
push ebx
call fcn.00458e10
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410cbb
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410cd8
push 6
call fcn.00458e16
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410cf2
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00458e0a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x410cf7
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410d08
push ebx
call fcn.00458e10
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41444e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ebx, dword [0x68ced8]
mov dword [ebp - 4], ebx
push 0x4812d5
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00401d17
add esp, 8
cmp eax, 0
je 0x41451f
mov ebx, dword [0x68ced8]
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d5e0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d5e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
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
cmp dword [ebp - 0x10], esp
je 0x4144ff
push 6
call fcn.00458e16
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41450f
push ebx
call fcn.00458e10
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41451f
push ebx
call fcn.00458e10
add esp, 4
mov esp, ebp
pop ebp
ret