joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb967ad
Capabilities:
Encode data using base64
Encrypt data using aes
Reference aes constants

Disassembly:
pushfd
jmp 0xb968b8
mov byte [edx + 2], 0x3d
jmp 0xb96416
call 0xb96856
add al, 0x72
mov dword [ebp - reloc.MSVCRT.dll_malloc], edx
adc edx, dword [esi + reloc.MSVCRT.dll_malloc]
and dword [eax - 0x5d], esp
pushal
jmp 0xb967ef
cmp esi, eax
lea esp, [esp + 0x24]
jae 0xb3bcc4
mov ecx, 0xb746eeca
jmp 0xb9699f
mov byte [edx + 1], cl
jb 0xb3bc9c
cmp edi, 0x1a
jmp 0xb96881
lea esp, [esp + 4]
cmp dword [ebp + 0xc], 2
mov edx, dword [ebp + 8]
jmp 0xb96897
pushfd
lea esp, [esp + 4]
lea ecx, [esi - 4]
jmp 0xb3bc70

Function at 0xb9685f
Capabilities:
Encode data using base64
Encrypt data using aes
Reference aes constants

Disassembly:
push dword [esp]
jmp 0xb96929
lea esp, [esp + 8]
lea ecx, [ecx*4 + 0x2b]
jmp 0xb3bc70

Function at 0xc57c02
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0xf
lea esp, [esp + 3]
jmp 0xc57c24

Function at 0xc581e3
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 0xb], edx
xchg dword [esp], eax
xchg dh, al
mov dword [esp + 0xa], edi
pop ax
jmp 0xc58219

Function at 0xc584a3
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 1]
mov edx, eax
rcl dx, cl
xchg dh, dl
pop ax
jmp 0xc58484
xchg al, dh
mov dx, word [esp]
xchg dh, ah
lea eax, [eax - 0x51]
mov esi, dword [esp + 1]
mov edx, dword [esp + 1]
jmp 0xc58459
lea esi, [ecx + ebp]
seto al
inc dx
mov dword [esp], ebx
stc
pop dx
jmp 0xc584cc
mov dh, byte [esp + 1]
jmp 0xc5846f
mov edx, 0x24f72983
mov edx, dword [esp]
mov edx, ecx
mov dx, sp
lea edx, reloc.MSVCRT.dll_malloc
sub esp, 0x16
jmp 0xc584dd
mov dl, bl
mov dx, bx
rdtsc
lea esp, [esp + 1]
inc dx
not eax
jmp 0xc584a9
rdtsc
shr dx, 0xf
push bp
not eax
pop word [esp + 5]
pop dword [esp]
jmp 0xc5858f
mov esi, 0xaa80f1f6
xchg word [esp], dx
pop eax
lea esp, [esp]
btc edx, esp
bswap edx
jmp 0xc58511
neg dl
rdtsc
lea esp, [esp + 0xb]
bsr dx, sp
xchg edx, esi
pop edx
jmp 0xc58527
Function at 0xc58830
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsf dx, di
mov dh, 0x28
push word [esp + 7]
jmp 0xc5874c
mov byte [esp + 0xa], dl
mov ax, word [esp + 3]
lea eax, reloc.MSVCRT.dll_malloc
mov dx, 0x9c56
mov edx, dword [esp + 4]
add esp, 5
jmp 0xc58704
neg dx
lea edx, [eax + 0x25]
not eax
clc
stc
add esp, 0
jmp 0xc587b7
and eax, 0x59a866d2
clc
lea esp, [esp + 0xa]
std
lea esp, [esp]
xchg byte [esp], al
jmp 0xc58736
mov dword [esp + 0xc], edx
pop ax
lea eax, [esp - 0xda]
lea edx, reloc.MSVCRT.dll_malloc
pop dword [esp + 7]
mov byte [esp + 2], ch
jmp 0xc5871a
lea esi, reloc.MSVCRT.dll_malloc
pushfd
mov al, 0x4f
sub esp, 0x19
pop si
jmp 0xc587df
xchg byte [esp], dl
lea eax, reloc.MSVCRT.dll_malloc
not dx
xchg byte [esp], al
mov al, 0x55
jmp 0xc58785
mov al, 0x2a
mov ah, byte [esp]
sete ah
rdtsc
mov ax, word [esp]
xchg edx, eax
jmp 0xc5879b
mov si, 0xd85d
pop dx
btc eax, eax
pop dword [esp + 3]
jmp 0xc5880c
mov ax, 0x5b72
mov edx, esp
std
mov word [esp + 0x13], cx
mov ax, 0x1864
mov word [esp + 0xc], ax
jmp 0xc587c9
lea esp, [esp + 9]
push dword [esp + 2]
bsr dx, si
rdtsc
neg dh
jmp 0xc58851
pop word [esp]
bsr esi, ebx
cld
mov si, 0x5e17
neg edx
mov edx, ebx
jmp 0xc587f6
push dword [esp + 2]
jmp 0xc58767
rdtsc
sub esp, 0x15
call fcn.00c58839

Function at 0xc58a0e
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov al, dl
rdtsc
sub edx, eax
mov esi, eax
xchg si, ax
pop word [esp + 0xf]
jmp 0xc58a29
lea edx, [eax + edi]
jmp 0xc589f4
xchg dword [esp], esi
mov edx, dword [esp + 1]
mov esi, ebx
xchg word [esp + 2], si
jmp 0xc58c3a
mov dl, dh
shr edx, 0x1f
lea esp, [esp + 0x35]
bswap edx
neg esi
mov ax, bx
jmp 0xc58a13
bsf dx, bx
mov edx, dword [esp]
push word [esp]
lea esp, [esp + 3]
pushfd
jmp 0xc58b1a
bt ax, cx
lea esi, [esp + edi]
rdtsc
bswap eax
not dh
not ax
jmp 0xc58a4e
bswap edx
mov dx, bp
xchg dword [esp], edx
bswap esi
pop dx
mov ax, di
jmp 0xc58a64
mov eax, esi
mov eax, dword [esp]
btc ax, sp
mov eax, dword [esp + 0xe]
jmp 0xc58ab3
mov ah, bl
bsf esi, eax
mov ah, 0xc
mov al, bl
mov esi, dword [esp + 9]
bswap eax
jmp 0xc58a8c
lea esp, [esp + 0x18]
popfd
jmp 0xc58b2e
lea edx, [ebp*4]
mov edx, esi
mov edx, dword [esp + 4]
lea eax, reloc.MSVCRT.dll_malloc
mov esi, eax
mov eax, 0x6048683b
jmp 0xc58aa2
mov al, byte [esp]
mov eax, 0x585bb3bb
lea esp, [esp + 2]
mov al, bl
cld
rcl ax, cl
jmp 0xc58acc
push 0x6b578031
add dword [esp], reloc.MSVCRT.dll_malloc
call fcn.00c58b64
dec edx
in eax, 0x14
xchg dword [esi], ebp
mov ah, 0x25
inc dx
btc edx, ebp
pop dword [esp]
bsf dx, bp
bswap esi
jmp 0xc58a7b
lea eax, [esp - 0x4e]
push edx
mov ah, byte [esp + 2]
mov edx, 0x837047f0
mov dx, bp
xchg word [esp + 2], dx
jmp 0xc58b9e
Function at 0xc59087
Capabilities:
Enumerate pe sections

Disassembly:
pushfd
mov word [esp], sp
mov dword [esp], ebp
mov byte [esp], ch
pushal
mov dword [esp + 0x15], ebp
jmp 0xc590a1
pop bx
lea esp, [esp + 2]
mov ebx, dword [esp + 0x14]
lea esp, [esp + 0x18]
push 0
jmp 0xc5904a
bswap ebx
jmp 0xc59060
xchg ebx, ebp
mov ebx, dword [esp]
push esp
mov bl, ch
lea ebp, [edx + edi]
mov dword [esp + 0x10], edx
jmp 0xc5912f
pushal
mov bp, 0xd787
mov byte [esp + 4], ah
pop bp
lea esp, [esp + 2]
mov dword [esp + 0x1b], ebx
jmp 0xc5908b
mov bx, word [esp + 6]
xchg bx, bp
not dh
mov dx, word [esp + 7]
xchg bp, dx
lea edx, reloc.MSVCRT.dll_malloc
jmp 0xc590dc
sete dh
lea ebp, [ebp*4]
mov bl, byte [esp]
mov edx, 0xa172be07
mov dl, ah
pushal
jmp 0xc590f2

Function at 0xc5a7fe
Capabilities:
Parse pe header

Disassembly:
call fcn.00c5a03d
mov byte [esp + 2], dh
jmp 0xc5a850
mov dword [esp], ebx
call fcn.00c5a8b3
pushfd
mov dword [esp], ebp
push esi
push ebp
push word [esp + 3]
mov word [esp], di
jmp 0xc5a88f
push dword [esp]
push si
pushfd
pop word [esp + 0xb]
lea esp, [esp + 2]
mov dword [esp + 8], edi
jmp 0xc5a8dc
push esi
jmp 0xc5ac06
lea esp, [esp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xc5a8c6
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0xc5a038
mov esi, eax
lea esi, [esi + 0x1c]
mov eax, dword [esi]
pop esi
jmp 0xc5a94e

Function at 0xc5a8b3
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov word [esp], cx
pop word [esp]
mov word [esp], bp
lea esp, [esp + 2]
push esp
jmp 0xc5a858
Function at 0x4108e5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.0041088a
add esp, 0x1c
pop ebp
ret

Function at 0x413740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [ecx]
and edx, 7
cmp dword [ebp + 0xc], 5
jae 0x413757
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx]
mov eax, dword [ebp + 0xc]
lea edi, [ecx + eax - 4]
cmp esi, edi
jae 0x41377e
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x41377e
inc esi
jmp 0x41376f
mov eax, esi
sub eax, ecx
cmp esi, edi
mov dword [ebp - 8], eax
jae 0x41386e
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x4137b3
xor edx, edx
mov cl, byte [esi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x4137e0
cmp cl, 0xff
je 0x4137e0
and edx, 3
shl edx, 1
or edx, 1
inc eax
jmp 0x413762
dec ecx
shl edx, cl
and edx, 7
je 0x413799
movzx ecx, byte [edx + 0x416a0c]
mov edi, esi
sub edi, ecx
cmp byte [edx + 0x416a04], 0
mov cl, byte [edi + 4]
je 0x4137db
test cl, cl
je 0x4137db
cmp cl, 0xff
jne 0x413799
mov dword [ebp - 4], eax
jmp 0x4137a8
xor ebx, ebx
mov bh, cl
mov bl, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x413809
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x413810
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x413844
movzx edi, byte [edx + 0x416a0c]
push 0x18
mov eax, ebx
shl edi, 3
pop ecx
sub ecx, edi
shr eax, cl
test al, al
je 0x41382f
cmp al, 0xff
jne 0x413841
push 0x20
mov eax, dword [ebp - 8]
pop ecx
push 1
sub ecx, edi
pop edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x4137fb
mov eax, dword [ebp - 8]
mov ecx, ebx
mov byte [esi + 1], bl
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
add eax, 5
jmp 0x413762
mov esi, eax
push 3
sub esi, dword [ebp - 4]
pop edi
lea ecx, [esi - 1]
shl edx, cl
and edx, 7
cmp edi, esi
sbb ecx, ecx
pop edi
not ecx
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
pop ebx
mov dword [edx], ecx
leave
ret

Function at 0x402680
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x407080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4070a1
mov eax, 0xff
call fcn.00402680
xor byte [esi], al
inc esi
dec ebx
jne 0x407091
pop esi
pop ebx
ret
Function at 0x1001f0cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmc
test eax, eax
jmp 0x10031ba5
lea esp, [esp + 0x24]
je 0x10030c73
sar dx, 2
setnp dl
not esi
add dl, 0x77
mov esi, dword [eax + 0x3c]
clc
sets dl
bsr edx, ebp
add esi, eax
sal dh, cl
ror dx, cl
mov edx, dword [esi + 0x78]
pushal
push ebp
pushal
test edx, edx
call fcn.1001f652

Function at 0x10025eb6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xchg cx, bx
mov ebx, eax
xchg cx, di
pushfd
bts di, 5
mov edi, eax
shr cl, 3
rcl cl, cl
mov dword [esp + 4], esp
bswap cx
mov ecx, 0x104
Function at 0x10026e58
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp al, byte [edi]
mov al, 0xc3
lea eax, [ecx - 0x685e4945]
lahf
movzx eax, bl
lea edi, [edi + 1]
lahf
mov eax, dword [esp + 0xc]
push 0xed4c2332
lea esp, [esp + 0x14]
ja 0x1001f636
call fcn.10022d17
stc
mov dword [ebp - 0x10], ecx
bt sp, 0xa
rol cx, cl
mov ecx, dword [ebp + 0xc]
stc
mov byte [esp], dh
push dword [esp]
push 0x6dc08b0d
cmp ecx, 0xffff
pushal
lea esp, [esp + 0x2c]
jbe 0x100305a5
lea esp, [esp + 0xc]
je 0x10030c73
shrd edx, edi, 0x1c
sbb si, 0x107
rcl si, cl
mov esi, dword [eax + 0x3c]
sub dl, bl
add esi, eax
rcl dx, 5
adc dh, 0xad
mov edx, dword [esi + 0x78]
cmc
pushfd
test edx, edx
push 0x212f20d5
mov byte [esp + 4], al
lea esp, [esp + 8]
je 0x10030c73
xor ecx, ecx
clc
add edx, eax
sbb cl, bl
mov ecx, dword [esi + 0x7c]
cmp ch, bl
add ecx, edx
push 0x17165856
test edx, ecx
jmp 0x1002324f
neg ax
bsr ax, dx
cmc
push ebp
pushal
lea ebp, [esp + 0x20]
not ah
setl ah
sub esp, 0xfffffff0
cmc
push esi
not eax
shrd ax, dx, 3
neg al
sub al, 0x6f
push edi
das
bsf ax, cx
bts ax, bx
shld ax, di, 0xe
push ebx
bsf ax, dx
cwde
bsf ax, ax
push edx
bts ax, si
jb 0x1003165a
mov eax, dword [ebp + 8]
bt cx, 1
clc
test eax, eax
jmp 0x10026f3b
jo 0x10026df1
shld eax, ecx, 0x1a
sar ah, cl
cmp bh, bh
push ebp
rcr eax, cl
or ax, 0x9c35
shl bp, cl
mov ebp, esp
daa
pushfd
sub esp, 0xc
shl eax, cl
shr eax, cl
aam 0x92
push esi
call fcn.10022edd
add byte [eax], al
inc edi
je 0x10026ed6
outsd dx, dword [esi]
jne 0x10026ef9
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
inc ebp
js 0x10026eee
add ch, dh
not al
pushfd
test bl, 0x49
test bx, ax
sub al, 0x3a
jmp 0x1002320e
imul ebp, dword [esi + 0x61], 0x7525206c
and byte [ebx + 0x6f], ah
jne 0x10026f4e
and byte fs:[esi + 0x6f], ch
je 0x10026f08
bound esp, qword [ebp + 0x20]
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [ecx + 0x74], sp
and byte fs:[ecx + 0x6e], ch
popal
je 0x10026f56
and byte fs:[ecx + 0x6e], ch
and byte [eax + ebp*2 + 0x65], dh
and byte [ecx + edi*2 + 0x6e], ah
popal
insd dword es:[edi], dx
imul esp, dword [ebx + 0x20], 0x6b6e696c
and byte [ecx + ebp*2 + 0x62], ch
jb 0x10026f6d
imul esp, dword [edx + 0x72], 0x20797261
and eax, 0xebc10073
jb 0x10026f87
and byte [0xebc10073], ah
or al, 0xf5
jmp 0x100256ac
inc ebp
js 0x10026fb4
jo 0x10026fc8
imul ebp, dword [edi + 0x6e], 0x746c6946
jb 0x10026f5e
outsb dx, byte [esi]
inc esi
imul ebp, dword [esp + esi*2 + 0x65], 0x4c60072
and al, 0x1b
test dword [esp + ebx*4 - 0x63ae0000], ecx
jb 0x10026fb6
jmp 0x10027341
imul ebp
push 0x857f1d69
mov word [esp], cx
push ecx
lea esp, [esp + 8]
ja 0x10027161
clc
imul edx, edx, 0xa
pushfd
stc
bt ax, 5
add edx, eax
push ecx
mov byte [esp], 0xfc
push esi
push eax
lea esp, [esp + 0x10]
jmp 0x1002563a
ror ah, cl
mov eax, dword [ebp + 8]
pushfd
push 0x18346839
test cl, dl
pushfd
test eax, eax
jmp 0x10024fba

Function at 0x10026f81
Capabilities:
Encode data using xor

Disassembly:
pushal
lea esp, [esp + 0x28]
jne 0x10030c18
push edx
pushfd
mov byte [esp + 4], 0x8f
pushal
lea esp, [esp + 0x28]
jmp 0x10031831
Function at 0x100306ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x1e414cf
push dword [esp]
cmp edi, ebx
jmp 0x10027103

Function at 0x10031fcc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmc
cmp eax, dword [ebp - 0x10]
push 0x1c474e87
mov byte [esp + 4], bl
pushal
push dword [esp]
lea esp, [esp + 0x2c]
jae 0x10030c7e
bswap cx
sal bl, 7
rcl di, 0xc
inc bx
mov ebx, eax
sbb edi, 0x225e781c
mov edi, eax
or ch, cl
mov ecx, 0x104
pushfd
clc
mov word [esp], sp
pushfd
xor al, al
pushal
repne scasb al, byte es:[edi]
mov byte [esp + 8], 0xd0
pushfd
push 0x8f009480
mov word [esp], 0x3036
lea esp, [esp + 0x30]
jmp 0x10027297
Function at 0x403f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f018
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], 0
lea ecx, [ebp - 0x2c]
call fcn.00406990
mov dword [ebp - 4], 0
mov dword [ebp - 0x144], str.SOFTWAREMicrosoftInternet_Explorer
mov dword [ebp - 0x14c], 0
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x144]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x404029
push 0x469a5c
lea ecx, [ebp - 0x2c]
call fcn.00406a80
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406a00
mov eax, dword [ebp - 0x150]
or eax, 1
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406a40
mov eax, dword [ebp + 8]
jmp 0x40412b
mov byte [ebp - 0x13c], 0
push 0x103
push 0
lea ecx, [ebp - 0x13b]
push ecx
call fcn.00446170
add esp, 0xc
mov dword [ebp - 0x148], 0x104
mov dword [ebp - 0x30], 1
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0x469a64
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x4040d5
push str.unknow
lea ecx, [ebp - 0x2c]
call fcn.00406a80
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406a00
mov edx, dword [ebp - 0x150]
or edx, 1
mov dword [ebp - 0x150], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406a40
mov eax, dword [ebp + 8]
jmp 0x40412b
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x469a74
lea ecx, [ebp - 0x2c]
call fcn.00406a80
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406aa0
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406a00
mov eax, dword [ebp - 0x150]
or eax, 1
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406a40
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.00441de6
mov esp, ebp
pop ebp
ret 4
Function at 0x4042c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], ecx
cmp dword [ebp + 0xc], 0
jne 0x4042e6
xor eax, eax
jmp 0x4044ba
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.00446170
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x404347
push 0
push 0
push 0x469a88
call fcn.00424970
xor eax, eax
jmp 0x4044ba
mov dword [ebp - 0x130], 0x128
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40449d
mov eax, dword [ebp + 0xc]
push eax
call fcn.00442f20
add esp, 4
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00442f20
add esp, 4
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov al, byte [edx]
mov byte [ebp - 0x255], al
mov ecx, dword [ebp - 0x250]
cmp al, byte [ecx]
jne 0x4043f1
cmp byte [ebp - 0x255], 0
je 0x4043e5
mov edx, dword [ebp - 0x254]
mov al, byte [edx + 1]
mov byte [ebp - 0x256], al
mov ecx, dword [ebp - 0x250]
cmp al, byte [ecx + 1]
jne 0x4043f1
add dword [ebp - 0x254], 2
add dword [ebp - 0x250], 2
cmp byte [ebp - 0x256], 0
jne 0x404393
mov dword [ebp - 0x25c], 0
jmp 0x4043fc
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x404476
mov ecx, dword [ebp - 0x128]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp + 8]
push edx
push 8
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x248], 0
push 0x103
push 0
lea edx, [ebp - 0x247]
push edx
call fcn.00446170
add esp, 0xc
mov eax, dword [ebp - 0x138]
jmp 0x4044ba
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40436c
mov dword [ebp - 0x138], 1
jmp 0x4044a7
mov dword [ebp - 0x138], 0
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret 8
Function at 0x405e30
Capabilities:
Check http status code
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ea40
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x4785c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x405ea8
mov ecx, dword [ebp - 0x18]
and ecx, 0x20
je 0x405ea3
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406a40
mov eax, dword [ebp - 0x44]
jmp 0x406025
jmp 0x40600c
mov dword [ebp - 0x20], 0
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x34]
call fcn.004252a3
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
push 0
push 0
push 1
push 1
lea ecx, [ebp + 8]
call fcn.00406ac0
push eax
lea ecx, [ebp - 0x34]
call fcn.00425c09
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x1c], edx
jmp 0x405f1d
mov dword [ebp - 4], 1
jmp 0x405f49
cmp dword [ebp - 0x1c], 0
je 0x405fd7
mov dword [ebp - 0x38], 4
push 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x40]
push edx
push 0x20000013
mov ecx, dword [ebp - 0x1c]
call fcn.00424ca7
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x405f95
cmp dword [ebp - 0x40], 0xc8
jb 0x405f95
cmp dword [ebp - 0x40], 0x12c
jae 0x405f95
mov dword [ebp - 0x20], 1
jmp 0x405f9b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
je 0x405fce
push 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x64], eax
jmp 0x405fd5
mov dword [ebp - 0x64], 0
jmp 0x405fde
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0042586d
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00425950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406a40
mov eax, dword [ebp - 0x54]
jmp 0x406025
mov dword [ebp - 0x58], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406a40
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x406830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftwindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x406886
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4068e0
mov dword [ebp - 8], 0x104
mov dword [ebp - 4], 1
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push str.ProgramFilesDir
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4068cf
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4068e0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret 4