joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdcd1c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xe010cb
pushal
jmp 0xe0115d
jmp 0xe011b2
mov ecx, dword [ebp - 4]
dec dword [ebp - 4]
jmp 0xdcd0fc
test ecx, ecx
jne 0xdcd0da
leave
ret
jmp 0xe00feb
push esi
sub bx, 0xd6ec
sbb bx, di
jmp 0xdcd1d6
mov dword [esp], ebx
not bh
lea ebx, [ebx*4]
jmp 0xdcd18f
jmp 0xdcd1a5
mov esi, eax
mov bx, 0xa3eb
mov ebx, ecx
bswap ecx
jmp 0xdcd1e6
lea ecx, [esi + esi]
push edi
push esi
jmp 0xdcd214
pushal
mov dword [esp + 4], ebp
cmc
pushfd
lea esp, [esp + 4]
jmp 0xe00f73
popal
jmp 0xe00f8c
add esi, 0xfffffff4
mov dword [esi], ecx
pop esi
jmp 0xe00fc7
not eax
jmp 0xe01020
test ecx, ecx
jbe 0xdcd119
not eax
bswap eax
jmp 0xe00fb1
mov eax, esi
jmp 0xe00ff5
push ebx
xchg ah, al
lea eax, [ecx + ebx]
xchg ah, al
jmp 0xe00fd5
call fcn.00dea4b3
mov dx, word [esp]
mov dl, byte [esp]
push dword [ebp + 0xc]
jmp 0xe0100a
mov edx, 0x566559c1
lea edx, [esi + edi]
jmp 0xe01045
xor eax, eax
lea edi, reloc.MSVCRT.dll_strncpy
rep stosd dword es:[edi], eax
jmp 0xdcd119
pop ecx
mov ch, byte [esp]
jmp 0xe01066
mov edx, eax
mov eax, esi
call 0xdea5ce
jmp 0xe0102f
push ecx
jmp 0xe01082
pop ecx
clc
clc
cmc
jmp 0xe01050
test edx, edx
jmp 0xe0108f
mov ecx, ebp
add ecx, 0xfffffff8
mov dword [ecx], eax
pop ecx
jmp 0xe0106c
jbe 0xdcd0c4
bsf di, dx
mov ecx, edx
mov di, 0x2c2b
jmp 0xe0186f
mov eax, ebp
jmp 0xe010f2
bt cx, cx
setle ch
push dword [ebp + 0xc]
push eax
jmp 0xe010b5
bsf dx, di
push dword [ebx + edi]
rdtsc
jmp 0xe01101
add eax, 0xfffffff8
mov ecx, dword [eax]
pop eax
mov dx, sp
rdtsc
jmp 0xe010d8
mov edx, edi
mov eax, edi
call fcn.00dea620
jmp 0xe011ca
mov ch, 1
mov cx, ax
sub ebx, eax
mov dword [ebp - 4], edx
jmp 0xdcd0ae
dec dword [ebp - 4]
mov cx, 0xf375
mov cx, 0x4589
push di
lea esp, [esp + 2]
jmp 0xe01173
lea ecx, [edx + ebx]
add edi, 4
dec cx
add esi, 4
jmp 0xe01133
mov edx, dword [ebp - 0xc]
jmp 0xe01196
pop ecx
jne 0xdcd0ae
je 0xdcd0c4
call fcn.00dea5fd
mov eax, 0x82956dc5
jmp 0xe011a7
mov eax, dword [ebp + 8]
mov ch, ah
lea esp, [esp + 0x20]
lea ecx, reloc.MSVCRT.dll_strncpy
jmp 0xe01180
lea ebx, [edx*4]
pop edi
pop esi
jmp 0xe011f4
pushfd
lea esp, [esp + 4]
mov byte [eax], 0
jmp 0xe011dc
add dword [esi], eax
lea ecx, reloc.MSVCRT.dll_strncpy
pop ecx
xor ch, 0xfe
jmp 0xe01150
inc eax
jmp 0xdcd0f0
mov dword [ebp - 4], reloc.MSVCRT.dll_strncpy
mov bx, si
lea eax, reloc.MSVCRT.dll_strncpy
pop ebx
jmp 0xdcd0f0
bsr ax, di
btr ecx, edx
mov eax, edi
ror cl, cl
shr ch, cl
jmp 0xe01124
lea edi, reloc.MSVCRT.dll_strncpy
bsf cx, dx
neg ch
mov si, bx
lea esi, reloc.MSVCRT.dll_strncpy
jmp 0xe012a0
Function at 0xdea50f
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 0x20]
mov dword [esp + 0xa], edx
not dh
lea edx, [ebx + esi]
jmp 0xdea516
pop word [esp + 2]
jmp 0xdea4f9
lea edx, [esp + edx]
mov dl, dh
mov edx, 0xd6819301
mov dword [esp + 2], eax
mov dx, word [esp]
mov ah, byte [esp]
jmp 0xdea561
xchg ah, al
push esi
bswap eax
mov eax, 0x1091b09e
lea eax, [edx + esi]
jmp 0xdea574
lea eax, [edi*4]
mov edx, esi
xchg dh, al
push edi
xchg ah, dh
setbe dl
jmp 0xdea54b
mov edi, dword [esp + 4]
rdtsc
xchg ah, al
lea edx, [ebx + ebp]
mov edx, dword [esp]
mov dx, 0x841b
jmp 0xdea5e6
mov dx, si
mov dl, ch
mov edx, dword [esp + 0x12]
lea esp, [esp + 0x2c]
call fcn.00dea5a6
jmp 0xdcceb0
rdtsc
mov eax, dword [esp + 0xa]
setle dl
mov dh, 0xca
lea edx, [edx + esi]
mov dl, cl
jmp 0xdea5bc

Function at 0xe17474
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [esp + 1]
push word [esp + 7]
lea esp, [esp + 2]
jmp 0xe17446
lea esp, [esp + 8]
cmp dl, byte [ecx]
jmp 0xe1746b
jne 0xe173f4
inc eax
call 0xe17474
xchg edi, edi
je 0xe1749b
add ecx, dword [ecx - reloc.MSVCRT.dll_strncpy]
and dword [esi], ebp
cmp dword [eax], ebx
salc
pop ebx
popal
add dh, byte [ebp + ebp - 0x5e]
pop esp
or eax, 0x95148d
add byte [eax], al
add byte [edx + 0x558b2414], cl
cld
and al, 4
Function at 0xe17824
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
jmp 0xe17396
dec dword [ebp - 4]
mov dx, 0xdb59
jmp 0xe17355
push ecx
mov ecx, ebp
lea ecx, [ecx - 4]
jmp 0xe177e0
lea edx, [ebx + ebp]
jmp 0xe173a4
push ebp
not edx
mov ebp, esp
lea edx, [edx*4]
jmp 0xe17380
push ecx
mov edx, dword [esp]
jmp 0xe173d1
mov dl, byte [eax]
call fcn.00e17433
cmp ebp, esp
pop esi
add al, 0x8b
push esi
mov dl, 0x30
add byte [eax - 0x24076624], cl
xor dl, byte [ecx - 0x75]
adc al, 0x24
push ecx
mov edx, dword [esp]
lea edx, [esi*4]
mov dword [ebp - 4], 0x10
jmp 0xe1748b
push edi
jmp 0xe175e2
sub esp, 6
lea eax, reloc.MSVCRT.dll_strncpy
lea esp, [esp + 3]
jmp 0xe1745d
lea esp, [esp + 0x1c]
test edx, edx
jne 0xe17347
sub esp, 0x19
jmp 0xe1740a
leave
ret
xor eax, eax
push bx
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
jmp 0xe17431
lea edx, [edx*4]
mov dl, byte [esp]
mov edx, dword [ebp - 4]
pushal
pop dword [esp + 4]
jmp 0xe17420
movzx eax, byte [eax]
movzx ecx, byte [ecx]
sub esp, 0x19
lea esp, [esp + 1]
jmp fcn.00e175a6
push esi
jmp 0xe188ba
xor eax, eax
jmp fcn.00e1767d
and dword [ebp - 4], 0
call fcn.00e17643
stosb byte es:[edi], al
lds esi, [edi - 0x5d]
sahf
or eax, dword [ecx]
fiadd dword [esi]
xchg esi, eax
pop ebx
test eax, eax
call 0xe176cb
mov cs, word [ebp - 0x16fddb9c]
cdq
xor al, 0
add byte [ecx], bl
js 0xe17732
sal dword [edx + reloc.MSVCRT.dll_strncpy], 0xbf
mov esp, 0xbcadb2bd
invalid
ret 0x4c7d
mov edx, dword [ecx]
pop ecx
jne 0xe173bb
je 0xe173f4
sub dl, 0x1b
xchg edx, ecx
jmp 0xe1783c
mov ecx, dword [ebp + 8]
call 0xe17824
lea eax, reloc.MSVCRT.dll_strncpy
lea esp, [esp + 2]
lea esp, [esp + 2]
jmp 0xe17867
mov ebp, esp
sub esp, 0x18
bsf dx, dx
mov ah, 0xb5
jmp 0xe1781b
lea esp, [esp + 3]
lea esp, [esp + 0x1c]
and dword [ebp - 0xc], 0
lea edx, [edi*4]
jmp 0xe17878
mov eax, dword [ecx + 0x3c]
mov dl, byte [esp]
sub esp, 0x1f
mov dx, cx
bsr edx, ecx
jmp 0xe17849
add eax, ecx
cmc
mov dl, 0x68
mov edx, 0x10b
jmp 0xe17889
pushal
lea esp, [esp + 0x20]
cmp word [eax + 0x18], dx
jmp 0xe188d9
push edx
jmp 0xe18929
xor esp, ecx
fisubr word [ecx]
dec eax
mov esi, eax
mov esi, dword [eax + 0x78]
cmc
add esi, ecx
jmp 0xe188a4
je 0xe17629
xor eax, eax
jmp fcn.00e17609
mov dword [edx], eax
pop edx
jmp 0xe18904
push edx
mov edx, ebp
lea edx, [edx - 0x18]
jmp 0xe188e6
je 0xe1763f
not eax
mov eax, dword [esi + 0x20]
jmp 0xe18953
jne 0xe176ad
je 0xe1763f
fistp dword [edx - 0x38]
scasd eax, dword es:[edi]
pop edx
pushfd
cmp edx, dword [edx]
lea ebx, [edi + ebp*2]
jbe 0xe188b5
mov edx, eax
lea edx, [edx + 0x7c]
mov eax, dword [edx]
ror byte [ebp + 0x28b7c52], 1
pop edx
jmp 0xe188fc
test eax, eax
pushfd
push ebp
pop dword [esp]
lea esp, [esp + 4]
jmp 0xe18911

Function at 0xe81c6b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, 0xf37b34
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.00e81cad
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0xe81c9f
push ebx
call fcn.00ede25f
add esp, 4
mov eax, dword [ebp - 8]
jmp 0xe81ca7
mov esp, ebp
pop ebp
ret 8
Function at 0xe83efc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0xe83f34
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0xe83f22
mov al, 1
jmp 0xe83f93
cmp dword [ebx + 0x54], ecx
jne 0xe83f2b
mov al, 2
jmp 0xe83f93
cmp dword [ebx + 0x7c], ecx
jne 0xe83f93
mov al, 3
jmp 0xe83f93
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0xe83f49
mov al, 4
jmp 0xe83f93
cmp ecx, 5
jne 0xe83f69
cmp ebx, 0
jne 0xe83f57
mov al, 5
jmp 0xe83f93
cmp ebx, 1
jne 0xe83f60
mov al, 6
jmp 0xe83f93
cmp ebx, 2
jne 0xe83f69
mov al, 7
jmp 0xe83f93
cmp ecx, 6
jne 0xe83f91
cmp ebx, 0
jne 0xe83f77
mov al, 8
jmp 0xe83f93
cmp ebx, 1
jne 0xe83f7e
mov al, 9
cmp ebx, 2
jne 0xe83f85
mov al, 0xa
cmp ebx, 3
jne 0xe83f8c
mov al, 0xb
cmp ebx, 4
jne 0xe83f93
mov al, 0xc
pop ebx
leave
ret
Function at 0xeb8233
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0xeb826a
mov esp, ebp
pop ebp
ret
Function at 0xee674c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0xee676d
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0xee67c7
inc edi
cmp edi, esi
jl 0xee6761
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0xee67fc
mov edx, dword [eax]
xor edx, esi
lea ebp, reloc.MSVCRT.dll_strncpy
not edx
and ebp, edx
test ebp, 0x80808080
je 0xee67b6
cmp byte [eax], bl
je 0xee67d1
cmp byte [eax + 1], bl
je 0xee67da
cmp byte [eax + 2], bl
je 0xee67e4
cmp byte [eax + 3], bl
je 0xee67f0
add eax, 4
cmp eax, edi
jb 0xee678d
pop edi
pop esi
pop ebp
or eax, reloc.MSVCRT.dll_strncpy
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, reloc.MSVCRT.dll_strncpy
pop ebx
ret 4

Function at 0xee6ccc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + reloc.MSVCRT.dll_strncpy]
lea eax, [esp + 0x18]
mov ebx, edi
xor esi, esi
xor ecx, ecx
sub ebx, eax
mov eax, ecx
lea ebp, [esp + ecx + 0x18]
cdq
idiv dword [esp + reloc.MSVCRT.dll_strncpy]
mov eax, dword [esp + reloc.MSVCRT.dll_strncpy]
mov byte [ebx + ebp], cl
inc ecx
cmp ecx, 0x100
mov dl, byte [edx + eax]
mov byte [ebp], dl
jl 0xee6cfe
lea ebp, [esp + 0x18]
mov eax, edi
sub ebp, edi
mov dword [esp + 0x10], pe_nt_image_headers32
mov cl, byte [eax]
xor edx, edx
mov dl, byte [eax + ebp]
mov byte [esp + 0x14], cl
mov ebx, dword [esp + 0x14]
add esi, edx
and ebx, 0xff
add esi, ebx
and esi, 0x800000ff
jns 0xee6d5e
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esi + edi]
mov byte [eax], dl
mov byte [esi + edi], cl
mov ecx, dword [esp + 0x10]
inc eax
dec ecx
mov dword [esp + 0x10], ecx
jne 0xee6d35
xor al, al
mov byte [edi + 0x100], al
mov byte [edi + 0x101], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0xee6e0c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x14]
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
xor esi, esi
mov byte [esp + 0x18], cl
test edi, edi
mov byte [esp + 8], dl
jle 0xee6ea8
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov cl, byte [esp + 0x20]
mov bl, byte [esp + 0x10]
inc cl
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
lea edi, [ecx + eax]
mov cl, byte [ecx + eax]
add bl, cl
mov byte [esp + 0x10], bl
mov ebx, dword [esp + 0x10]
and ebx, 0xff
lea ebp, [ebx + eax]
mov bl, byte [ebx + eax]
mov byte [edi], bl
mov byte [ebp], cl
mov bl, byte [edi]
add bl, cl
and ebx, 0xff
mov cl, byte [ebx + eax]
mov bl, byte [esi + edx]
xor bl, cl
mov ecx, dword [esp + 0x1c]
mov byte [esi + edx], bl
inc esi
cmp esi, ecx
jl 0xee6e37
mov dl, byte [esp + 0x20]
mov cl, byte [esp + 0x10]
pop ebp
pop ebx
pop edi
mov byte [eax + 0x100], dl
mov byte [eax + 0x101], cl
pop esi
pop ecx
ret
pop edi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop esi
pop ecx
ret

Function at 0xef313c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xf2837c
push 0xf0d554
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], reloc.MSVCRT.dll_strncpy
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.00f0d6dc
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf3584f
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 3
pop ecx
cdq
idiv ecx
mov edi, dword [ebp + 0x10]
mov esi, eax
mov ecx, edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
lea ebx, [esi + 1]
mov dword [ebp - 8], ebx
test ebx, ebx
jle 0xf358f2
mov ecx, dword [ebp + 8]
lea esi, [edi + 2]
add ecx, 2
mov edi, ecx
mov al, byte [edi - 2]
shr al, 2
movzx eax, al
push eax
call fcn.00f35805
mov byte [esi - 2], al
mov cl, byte [edi - 2]
mov al, byte [edi - 1]
and cl, 3
shr al, 4
shl cl, 4
add cl, al
movzx eax, cl
push eax
call fcn.00f35805
mov byte [esi - 1], al
mov cl, byte [edi - 1]
mov al, byte [edi]
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
movzx eax, cl
push eax
call fcn.00f35805
mov byte [esi], al
mov al, byte [edi]
and al, 0x3f
movzx eax, al
push eax
call fcn.00f35805
mov byte [esi + 1], al
lea edi, [edi + 3]
lea esi, [esi + 4]
dec ebx
jne 0xf35883
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp ecx, 1
jne 0xf35900
mov word [edi + esi*4 + 2], 0x3d3d
jmp 0xf3590a
cmp ecx, 2
jne 0xf3590c
mov byte [edi + esi*4 + 3], 0x3d
mov esi, ebx
mov eax, esi
shl eax, 2
mov byte [eax + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0xf8339f
Capabilities:
Execute anti-debugging instructions

Disassembly:
call 0xf83163
jmp 0xf83571
mov dword [esp + 0x24], eax
jmp 0xf83dc6
jmp 0xf83410
jne 0xf833c9
je 0xf83618
call 0xf83407
jmp 0xf83d4f
push 0
pushfd
cmp dword [esp + 4], 0
jmp 0xf833fa
call fcn.00f83422
call 0xf8346c
dec ebx
inc ebp
push edx
dec esi
inc ebp
dec esp
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add bh, bh
nop
aam 0x3c
in al, dx
stosd dword es:[edi], eax
jmp 0xf834f8
call 0xf8350e
push esi
jb 0xf8354d
popal
outsb dx, byte [esi]
jne 0xf83567
dec esi
popal
insd dword es:[edi], dx
inc ecx
add cl, ch
xor edi, edi
invalid
sub eax, dword [edx - 3]
int3
add byte [eax - 0x1d], bl
jae 0xf83582
in eax, 0xa
cmpsb byte [esi], byte es:[edi]
rcl dword [eax + 0x58]
pop eax
sub eax, 0xac083a64
jmp 0xf8345a
pushal
jmp 0xf8315e
pop ecx
jmp 0xf83d9e
sub ecx, 0xf83407
mov dword [ecx + 0xf83c52], eax
jmp 0xf83dcd
popfd
ret
popal
inc dword [esp + 8]
jmp 0xf83db0
movzx ebx, byte [eax]
jmp 0xf83dee
add ebx, 0x5e5241c4
cmp ebx, 0x5e524290
sti
nop
inc edx
push edx
pop esi
jmp 0xf83e2a
je 0xf83e58
jne 0xf83352
pushfd
push ax
lea esp, [esp + 2]
jmp 0xf840c2
out dx, eax
ficomp dword [ebx - 0x35]
scasb al, byte es:[edi]
pop ebp
mov ecx, 0x3552bc30
les ebp, [edi]
push es
mov dword [ecx], ebx
js 0xf83df5
push 0xffffffffffffffa8
retf
cmp dword [esp + 4], 0
jne 0xf83e48
pushal
jmp 0xf8341d

Function at 0xf83efd
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edx, reloc.MSVCRT.dll_strncpy
mov dl, 0x5e
bswap eax
call fcn.00f83f30
xchg ecx, eax
add eax, 0xb80ffc95
xor al, 0x66
push eax

Function at 0xf83f30
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 2]
mov dword [esp], ebx
jmp 0xf83f1a
Function at 0xf9a0d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
call 0xf996de
jmp 0xf9a104
push 0
jmp 0xf9a148
pop eax
jmp 0xf9a120
pushal
jmp 0xf996d9
sub eax, 0xfae9e0ba
jmp 0xf9a12c
call 0xf9a13e
dec ebx
inc ebp
push edx
dec esi
inc ebp
dec esp
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add bl, ch
sub byte [edx - 0x34], al
inc edx
and eax, 0x38d93ad4
pushfd
cmp dword [esp + 4], 0
jne 0xf9a1c9
je 0xf9a11a
push eax
jmp 0xf9a170
call fcn.00f9a184
add byte [eax], al
add byte [eax], al
mov esi, dword [reloc.MSVCRT.dll_strncpy]
lea esp, [esp - 4]
ret
jmp 0xf9a209
inc dword [esp + 8]
call fcn.00f9a1cb
mov dword [esp], ecx
mov cx, word [esp]
xchg ch, dl
mov ah, bl
jmp 0xf9a238
lea edx, [edi*4]
mov edx, dword [esp]
rdtsc
mov eax, esi
rdtsc
pop ecx
jmp 0xf9a264
xchg edx, eax
mov dl, dh
mov dx, 0x13ec
lea edx, [esi + ebp]
call 0xf9a275
outsb dx, byte [esi]
mov ax, si
bswap edx
jmp 0xf9a31c
popfd
lea esp, [esp + 4]
push dword [esp]
lea esp, [esp + 8]
jmp 0xf9a179
mov eax, dword [esp + 4]
not dx
mov edx, edi
bswap edx
mov edx, dword [esp + 8]
lea esp, [esp + 0xc]
jmp 0xf9a2ba

Function at 0xf9a1f0
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
jmp 0xf9a24f
push eax
setp al
mov eax, 0x6d4463d2
not ah
pushfd
rdtsc
jmp 0xf9a212
mov dword [esp], edx
lea edx, [esi + 0xb1]
setle dl
mov edx, edi
mov dx, di
not edx
jmp 0xf9a228

Function at 0xf9ff39
Capabilities:
Access peb ldr_data

Disassembly:
lea esp, [esp + 2]
mov dword [esp + 8], esp
mov dword [esp + 4], ebp
pushfd
jmp 0xfa0020
mov dword [esp], edi
mov dword [esp + 4], ebx
pushfd
push word [esp + 1]
push dword [esp + 1]
jmp 0xf9ff23
lea esp, [esp + 0x42]
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xf9ff69
pop word [esp]
lea esp, [esp + 2]
mov dword [esp], esi
pushal
push word [esp + 7]
pushal
jmp 0xf9ff80
Function at 0x407d00
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xb8]
push eax
mov dword [esi], 0x467e58
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
xor ebx, ebx
test eax, eax
jne 0x407d2b
mov ecx, dword [esi + 0xb0]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esi + 0x78]
call fcn.00407a80
cmp dword [esi + 0x74], 0x10
jb 0x407d45
mov edx, dword [esi + 0x60]
push edx
call fcn.004525d3
add esp, 4
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
cmp dword [esi + 0x58], 0x10
jb 0x407d64
mov eax, dword [esi + 0x44]
push eax
call fcn.004525d3
add esp, 4
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], 0xf
mov byte [esi + 0x44], bl
mov dword [esi], 0x467e38
lea ecx, [esi + 4]
pop esi
pop ebx
jmp fcn.00407650
Function at 0x40a980
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 0
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4

Function at 0x40aaf0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov ecx, 0x47da28
jmp fcn.00425500

Function at 0x40ab00
Capabilities:
Set registry value

Disassembly:
mov ecx, 0x47da28
jmp fcn.00425650

Function at 0x40ab10
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov ecx, 0x47da28
jmp fcn.00425590

Function at 0x4123b0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x47bfd4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x5c
xor eax, ebp
push esi
mov dword [esp + 0x124], eax
mov dword [esp + 0x14], esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
mov ebx, eax
test ebx, ebx
je 0x412435
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, ebx
sub ecx, esi
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x412421
push eax
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x5c
inc ebx
push ebx
call dword [sym.imp.SHLWAPI.dll_StrChrA]
mov esi, dword [esp + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x4123e3
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41244f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41244f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004525c5
mov esp, ebp
pop ebp
ret
Function at 0x4124f0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
mov eax, dword [0x47bfd4]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
push esi
mov esi, ecx
mov dword [esp + 0x328], eax
mov eax, dword [esi + 8]
test eax, eax
push edi
jne 0x412610
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x220]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
cmp dword [ebx + 0x18], 0x10
lea edi, [ebx + 4]
jb 0x412548
mov eax, dword [edi]
jmp 0x41254a
mov eax, edi
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
call fcn.0045244c
mov eax, dword [esi + 0x24]
add esp, 0x14
cmp eax, 0x10
jb 0x412571
mov eax, dword [esi + 0x10]
jmp 0x412574
lea eax, [esi + 0x10]
push 0x5c
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x22c]
push edx
call fcn.00407560
push 0x2e
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00407560
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004123b0
mov eax, dword [ebx + 0x18]
add esp, 0x28
cmp eax, 0x10
jb 0x4125c0
mov eax, dword [edi]
jmp 0x4125c2
mov eax, edi
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [esi + 4]
test eax, eax
je 0x4125d5
lea ecx, [eax + 0x40]
jmp 0x4125d7
xor ecx, ecx
cmp dword [ebx + 0x18], 0x10
jb 0x4125e1
mov eax, dword [edi]
jmp 0x4125e3
mov eax, edi
push ecx
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
mov dword [esi + 8], eax
jne 0x412610
cmp dword [ebx + 0x18], 0x10
jb 0x412602
mov edi, dword [edi]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push edi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004525c5
mov esp, ebp
pop ebp
ret 4