joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x45c1bb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x45c1df
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x45c1fa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x461662
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46169a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004643bd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464395
jmp 0x4616a6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x462c62
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x462ca4
call fcn.0046b033
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x462ca4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462c9b
xor eax, eax
jmp 0x462cac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00462cb2
pop edi
pop esi
pop ebx
ret 4

Function at 0x46552c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x46ea94
call fcn.004156d8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0046b033
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x46556b
call fcn.0046b033
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x465579
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x465587
or eax, 0xffffffff
jmp 0x46566f
mov ecx, esi
call fcn.004654a2
mov dword [ebp - 0x14], eax
call fcn.0046116b
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4655be
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4655be
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0046111f
push dword [ebp - 0x14]
call fcn.00460c51
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0046523a
cmp eax, edi
je 0x465631
test byte [esi + 0x24], 0x10
je 0x4655ff
push 4
mov ecx, esi
pop ebx
call fcn.00463452
test ah, 1
je 0x4655f7
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00462db4
cmp dword [esi + 0x1c], edi
je 0x465631
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0046359a
jmp 0x465631
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x465645
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x46565e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x46565e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004654dc
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x465c7d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x465cad
push edi
call ebx
push eax
call fcn.00466d70
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x465cd7
test byte [ebp - 4], 1
je 0x465cd7
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x465cd7
push edi
call ebx
push eax
call fcn.00466d70
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x465d7d
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00465bca
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x465d09
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00465bca
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x465d1f
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00465bca
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x465d49
push 0
call ebx
push eax
call fcn.00466d70
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x465d67
push eax
call ebx
push eax
call fcn.00466d70
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x465d7b
push eax
call ebx
push eax
call fcn.00466d70
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x465da4
test byte [ebp - 4], 1
jne 0x465da4
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x465da4
push edi
call ebx
push eax
call fcn.00466d70
pop edi
pop ebx
leave
ret 8
Function at 0x763e7c
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
call 0x763e83
pop ebp
sub ebp, 7
lea ecx, [ebp - 0x420]
cmp byte [ecx], 1
je 0x7640d8
mov byte [ecx], 1
mov eax, ebp
sub eax, dword [ebp - 0x48c]
mov dword [ebp - 0x48c], eax
add dword [ebp - 0x45c], eax
lea esi, [ebp - 0x418]
add dword [esi], eax
push ebp
push esi
push 0x40
push 0x1000
push 0x1000
push 0
call dword [ebp - 0x3e4]
test eax, eax
je fcn.0076423c
mov dword [ebp - 0x464], eax
call fcn.00763ede

Function at 0x76419d
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0076421c
jae 0x7641a9
xor ecx, ecx
call fcn.0076421c
jae 0x7641d3
xor eax, eax
call fcn.0076421c
jae 0x7641e4
mov al, 0x10
call fcn.0076421c
adc al, al
jae 0x7641c5
jne 0x764211
stosb byte es:[edi], al
jmp 0x7641aa
call fcn.00764228
dec ecx
loop 0x7641f0
mov eax, ebp
call fcn.00764226
jmp 0x764212
lodsb al, byte [esi]
shr eax, 1
je 0x764238
adc ecx, 2
mov ebp, eax
jmp 0x764212
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00764226
cmp eax, 0x7d00
jae 0x764210
cmp eax, 0x500
jae 0x764211
cmp eax, 0x7f
ja 0x764212
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7641aa
pop ebp
ret 8
Function at 0x621482
Capabilities:
Encode data using xor

Disassembly:
jmp 0x60b693
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x60b6af
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
rol eax, 7
xor eax, edx
inc ecx
cmp ecx, dword [esp + 8]
jb 0x60b69b
jmp 0x60b6ba
ret
push edx
lea esp, [esp + 0x24]
jmp 0x60b688
pushal
lea esp, [esp + 0x24]
pushal
jmp 0x621462

Function at 0x62c879
Capabilities:
Execute anti-debugging instructions

Disassembly:
call 0x62d6b6
lea esp, [esp + 4]
add dword [edi + 4], eax
call fcn.0062d6dc
adc al, 0xb6
and al, 0x43
mov esi, 0x3bab2739
pop esi
lodsd eax, dword [esi]
sbb byte [edi - 0x34], cl
inc edx
and eax, 0xe8d910d4
adc al, 0xa
add byte [eax], al
cmp bh, byte [edx + 0x78ba4f28]
sbb byte [edi + 0x64996a0f], bl
jb 0x62c846
jl 0x62c82a
salc
pushal
pop word [esp + 0xf]
lea esp, [esp + 2]
jmp 0x62c875
movzx ecx, word [ebp + 0xc]
jmp 0x62c85e
invalid
rdtsc
mov ax, si
rdtsc
movzx eax, word [ebp + 8]
jmp 0x62c81a
mov ebx, dword [ebp + 0xc]
push esi
mov dx, word [esp]
inc dh
jmp 0x62c899
push ebx
mov ebx, ecx
xchg dh, dl
jmp 0x62c83e
lea esp, [esp + 0x1c]
push ebp
mov ebp, esp
btr eax, esp
jmp 0x62c831
shr esi, 0x10
mov dx, 0xa0b
lea edx, reloc.WINMM.dll_midiStreamOut
rcl dx, cl
jmp 0x62caba
mov esi, dword [ebp + 8]
lea edx, [ecx*4]
mov dx, 0x3d25
jmp 0x62c881
shr ebx, 0x10
movzx esi, si
mov dh, bh
mov dx, word [esp]
jmp 0x62ccd6
bt edx, edx
mov edx, eax
stc
sub esp, 0x1c
jmp 0x62cf1e
lea esp, [esp + 0x1c]
movzx ebx, bx
call fcn.0062cce4
cmpsb byte [esi], byte es:[edi]
xor byte [esi - 0x5279cf3f], ah
mov esp, 0x3581168f
mov esi, 0x26086061
mov edi, 0x94ec44b2
sar esi, cl
and ah, dl
cmp byte [ecx - 0x2423e0b0], al
sbb bl, byte [eax - 0x39d593cc]
fst dword [edi + reloc.WINMM.dll_midiStreamOut]
adc byte [ebx], ah
mov edi, 0xc53b854d
movsb byte es:[edi], byte [esi]
cmpsd dword [esi], dword es:[edi]
mov edx, 0xb1fb423e
sub ecx, dword [edx]
or eax, 0x85cf16b5
pmaxsw mm6, mm1
arpl cx, bx
invalid
mov ecx, eax
mov ebx, esi
jmp 0x62d20e
shl ecx, 0x10
sub esp, 0
jmp 0x62d427
add edx, ecx
lea esp, [esp + 8]
pop esi
rol bl, 5
jmp 0x62d437
bsr bx, bp
jmp 0x62d702
lea esp, [esp + 1]
lea esp, [esp + 0x30]
jae 0x62c7a2
call fcn.0062d64e
push edx
lea esp, [esp + 2]
jmp 0x62d6d0
cmp edx, ecx
pushal
mov dword [esp + 5], ecx
lea esp, [esp + 0x15]
push word [esp + 3]
jmp 0x62d667
pop ebx
pushal
push dword [esp + 0x10]
mov byte [esp + 9], bh
jmp 0x62d693
lea esp, [esp + 4]
inc dword [edi + 4]
jmp 0x62c7a2
push ebx
mov ebx, edi
mov dword [ebx], edx
pop ebx
jmp 0x62d6aa

Function at 0x62d166
Capabilities:
Execute anti-debugging instructions

Disassembly:
call 0x62d1df
sub esp, 0x14
jmp 0x62d19f
mov dword [edi + 4], esi
cmp eax, ecx
lea esp, [esp + 0x4c]
jae 0x62c7c6
jb 0x62d188
dec ebp
rol dword [ecx + 0x20], 1
shl dword [eax - 0x33], cl
push edx
shl byte [edi - 0x35ac1cae], 0x65

Function at 0x62d1cc
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
mov dword [edi + 4], esi
jmp 0x62d1d6
lea esp, [esp + 0x24]
jmp 0x62c7c6
Function at 0x636105
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0x14
mov dword [esp + 0xd], ecx
xchg dword [esp + 4], edi
xor edx, esi
push esp
jmp 0x6360cf
mov edi, 0xbcfea3c
sub esp, 4
pushal
push esp
shl edx, 8
jmp 0x63609c
and ebx, eax
xchg word [esp + 1], si
mov bx, di
shl edx, 8
jmp 0x636103
lea esp, [esp + 0x20]
movzx esi, byte [eax + 0xe]
setge bl
movzx eax, byte [eax + 0xf]
jmp 0x6360c0
xor edx, eax
push esi
mov esi, ecx
jmp 0x63638c
bts esi, ebx
jmp 0x6360f2
lea esi, [esi + 0xc]

Function at 0x636233
Capabilities:
Encrypt data using aes

Disassembly:
push esp
lea esp, [esp + 0x20]
movzx edi, byte [edi*4 + 0x6137d0]
ror ebp, 7
jmp 0x636235
jmp 0x63621a
xor eax, edi
mov ebp, esi
mov edi, 0x83915df8
neg di
rcl di, cl
jmp 0x636274
mov edi, edx
sub esp, 0x10
and edi, esi
dec bp
jmp 0x63625a

Function at 0x6e33c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 4], cl
mov ebx, 0xd7fce73a
call fcn.006e33c4
sub edi, dword [edx + edx*2 + reloc.WINMM.dll_midiStreamOut]
test al, 0xcb
bound eax, qword [edi - 0x74fcdbb4]
int1
xchg dword [esp + 3], ecx
mov esi, ecx
mov bl, bh
rdtsc
add al, dh
rdtsc
jmp 0x6e338b
xchg bh, cl
jmp 0x6e33a3

Function at 0x6e35d7
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 6], eax
lea esp, [esp + 5]
cpuid
mov dword [esp + 3], eax
bsf bx, si
jmp 0x6e35db
push esp
inc ecx
jmp 0x6e35be
neg bp
mov dword [esp + 1], ebp
bswap esi
rdtsc
mov bl, bh
rol di, cl
jmp 0x6e3605

Function at 0x6e37bd
Capabilities:
Execute anti-debugging instructions

Disassembly:
clc
btr edi, esp
lea esp, [esp + 4]
jmp 0x6e3769

Function at 0x6e3fdd
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg di, cx
xchg bp, si
mov byte [esp + 0xb], bh
mov cx, bx
jmp 0x6e400a
xchg byte [esp + 6], bl
rdtsc
xchg word [esp + 6], ax
lea esp, [esp + 0x10]
add esp, 2
neg ah
jmp 0x6e4048
clc
mov bh, byte [esp]
mov ecx, dword [esp]
cpuid
mov al, 0xee
mov edx, dword [esp]
jmp 0x6e402d
Function at 0x6e45cc
Capabilities:
Parse pe header

Disassembly:
push eax
jmp 0x6df00c
call fcn.006df011
call 0x6e3129
jmp 0x6e46f2
movzx ebx, word [eax + 0x3c]
jmp 0x6e46ca
mov word [esp], sp
pop word [esp]
mov byte [esp], ch
mov byte [esp], ah
call 0x6e44f0
jnp 0x6e44d1
int 0x5c
mov eax, 0xcbc32adf
bound ecx, qword [ebp - 0x76fddb9c]
push esp
and al, 8
call fcn.006e44c1
cwde
sbb eax, 0xc527d48d
in al, dx
inc esi
jno 0x6e455f
jae 0x6e44dc
in eax, 0x88
jl 0x6e4519
add eax, 0x42474ff
mov byte [esp + 6], bh
jmp 0x6e4504
push word [esp + 5]
pushal
push word [esp + 5]
call fcn.006e4607
dec eax
int3
cmp bl, cl
cmp byte [ebx], bl
push word [esp + 1]
mov dword [esp + 0x1b], ecx
call fcn.006e452f
push word [esp + 0x11]
pop dword [esp + 0x1a]
mov word [esp + 0xe], dx
push word [esp + 0xf]
mov dword [esp + 0x7c], ebp
push esp
jmp 0x6e45a7
mov byte [esp + 2], dh
mov dword [esp], ebp
push word [esp + 3]
lea esp, [esp + 1]
call 0x6e45c0
cmp byte [0x6660d1eb], 0x8f
jmp 0x6e4591
pushal
pop word [esp + 0x24]
call 0x6e45cc
or al, 0xeb
inc ebx
mov word [esp + 4], bx
pop word [esp + 3]
push dword [esp + 4]
mov byte [esp], bh
jmp 0x6e4694
mov eax, dword fs:[0x30]
jmp 0x6e467e
lea esp, [esp + 1]
mov word [esp], sp
lea esp, [esp + 1]
mov dword [esp + 0xbc], edi
lea esp, [esp + 0xbc]
jmp 0x6e4648
mov eax, dword [eax + 0xc]
jmp 0x6e491e
pop word [esp + 1]
mov word [esp + 4], di
push word [esp + 5]
pop dword [esp]
jmp 0x6e4662
add ebx, eax
cmp word [ebx], 0x4550
jmp 0x6e471d
sub eax, 0x10000
jmp 0x6e46f6
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x6e31ad
jne 0x6e46d7
mov dword [reloc.WINMM.dll_midiStreamOut], eax
ret
je 0x6dee95
jne 0x6e46d7
cdq
or al, 0x82
in eax, 0x14
mov ebp, 0x68099901
wait
sub dword [ecx - 6], esp
push 0x5b53fa0f
mov dl, 0xad
push eax
jmp 0x6e3124
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x6e473a
Function at 0x4184ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4184bc
pop dword [ebp - 0x48]
mov eax, 0x4184bc
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x4ea79
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x400fe0ab
sub ecx, 0x400f9daf
mov esi, eax
mov edx, 0x570d6f1f
add edx, 0xa93b0ee1
add edx, dword [ebp - 0x48]
mov ebx, 0xca797701
add ebx, 0x5e93786c
xor dword [ebp - 0x1c], 0x9a7bebe8
mov edi, dword [edx]
mov dword [ebp - 0x44], 0x98f26039
xor edi, ebx
xor dword [ebp - 0x14], 0xc7d659c1
mov dword [esi], edi
xor dword [ebp - 0x3c], 0xd0e692be
add esi, 4
add edx, 0xacae33a0
sub edx, 0xacae339c
loop 0x418511
add eax, 0xfec3
xor ebx, ebx
add ebx, eax
add eax, 0x15e63b99
add eax, 0xea19c46c
mov ecx, 0xd0ffaf49
add ecx, 0x2f4050b7
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret

Function at 0x401a22
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.0040161c

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x409770
Capabilities:
Delete file

Disassembly:
sub esp, 0x130
mov eax, dword [0x77a1d4]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebp
mov ebp, dword [esp + 0x13c]
push esi
mov esi, dword [esp + 0x13c]
push edi
push str.gdnxcbfdhfdbvbv
push ebp
call fcn.004198a0
mov edi, eax
add esp, 8
test edi, edi
je 0x4097c0
push esi
push edi
call fcn.004177d0
add esp, 8
test eax, eax
je 0x4097c4
push edi
call fcn.00419930
add esp, 4
xor eax, eax
jmp 0x40981f
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push edi
call fcn.00417780
add esp, 0xc
test eax, eax
jne 0x4097b7
mov eax, dword [esp + 0xc]
xor esi, esi
push ebx
mov ebx, eax
test eax, eax
jle 0x409809
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
call fcn.00417780
lea edx, [esp + 0x20]
push edx
push esi
push edi
call fcn.00419910
add esp, 0x18
test eax, eax
jne 0x409839
inc esi
cmp esi, ebx
jl 0x4097e5
push edi
call fcn.00419930
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004454f6
add esp, 0x130
ret 8
push edi
call fcn.00419930
add esp, 4
xor eax, eax
jmp 0x40981e
Function at 0x40a7f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebp, ebp
test edi, edi
je 0x40a818
cmp dword [esp + 0x14], ebp
je 0x40a818
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40a818
push edi
call fcn.0040a7d0
add esp, 4
test eax, eax
jne 0x40a81f
push 0
call fcn.00447878
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a824
push ebx
sub eax, edx
push 0x4619b4
push edi
mov ebx, eax
call fcn.004475c1
mov esi, eax
mov eax, dword [esp + 0x20]
push 0x4619b0
push eax
call fcn.004475c1
push esi
mov edi, eax
call fcn.004474c9
add esp, 0x14
test eax, eax
jne 0x40a8ac
jmp 0x40a860
push esi
push 1
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.004474ac
push esi
call fcn.004474c9
add esp, 0x14
test eax, eax
jne 0x40a89f
mov eax, ebp
cdq
idiv ebx
mov eax, dword [esp + 0x1c]
push edi
push 1
push 1
mov cl, byte [edx + eax]
xor byte [esp + 0x20], cl
lea edx, [esp + 0x20]
push edx
call fcn.0044718a
add esp, 0x10
inc ebp
push esi
call fcn.004474c9
add esp, 4
test eax, eax
je 0x40a860
push esi
call fcn.00446fac
push edi
call fcn.00446fac
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x415fb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x415fbb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x416099
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x464008]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x464008]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x464008]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x464008]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x464008]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x464008]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x464008]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x464008]
inc ecx
sub edx, 8
sub esi, 1
jne 0x415fd5
pop edi
test edx, edx
je 0x4160bb
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x464008]
inc ecx
sub edx, 1
jne 0x4160a0
not eax
pop esi
ret

Function at 0x4160c0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movsx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x464008]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x464008]
mov dword [edx + 8], ecx
ret

Function at 0x416600
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x416642
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x416636
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x416653
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.00446980
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret