joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54a1b9
Capabilities:
Encode data using xor

Disassembly:
add byte [edx + 0x3888a32e], ah
nop
dec edi
daa
je 0x54a1b5
xor bl, byte [eax + 0x58146e9c]
jns 0x54a1ce
dec esi
jmp 0x3bf2adb0
dec ecx
out 0xc, al
jmp 0x54a20e
test al, 0x25
sub byte [0x9427947b], 0xda
jnp 0x54a14f
daa
xchg esp, eax
invalid
scasb al, byte es:[edi]
hlt
jnp 0x54a14f
daa
xchg esp, eax
fisubr dword [esi + 0x3655d8f4]
out 0xe5, eax
ror dword [ecx], cl
loop 0x54a1af
retf
dec ebp
mov esi, 0xae06b6b0
mov esi, 0xa2f460ea
push 0xa69a619f
cmpsb byte [esi], byte es:[edi]
invalid
xor al, 0x87
add dword [edi - 0x3d21a24b], esi
stosb byte es:[edi], al
jns 0x54a290
sub byte [esi - 0x471783e0], 0xf6
mov dword [esi], 0x600c58e1
mov dl, 0x5b
clc
or al, 0x9b
pushal
sub ecx, esi
mov al, byte [0x88fef97a]
push ds
adc edi, edi
das
adc byte [ecx - 0x72], bh
salc
add edx, eax
mov edi, 0xc5a10a09
jl 0x54a1dd
inc edi
fdivr dword gs:[esp + ebx*2]
xchg esp, eax
xor esp, dword [edx]
inc ecx
cmp bh, byte [eax]
mov ah, 0x56
push esi
call 0xc79f310d
daa
js 0x54a251
idiv dword [edi - 0x80]
pop ecx
fdiv qword [esi + 0x2d18303a]
test byte [eax - 0x4a], 0x78
mov ah, 0xc0
invalid
mov byte [0x86fc5bf3], al
int3

Function at 0x573c64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
test dword [esi + 0x28], 0x8001
jne 0x573c79
pop esi
leave
ret
test byte [esi + 0x28], 0x10
jne 0x573c76
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
push edi
mov dword [ebp - 4], eax
xor eax, eax
push eax
push eax
push eax
call fcn.00573d4c
test dword [esi + 0x28], 0x4000
jne 0x5b27d1
mov edi, 0x10000
push ebx
push edi
call fcn.0058e691
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00573fa8
push edi
mov edi, dword [ebp - 0x10]
mov ecx, esi
push edi
call int.005782c6
push 0
push dword [ebp - 4]
mov ecx, esi
mov ebx, eax
push dword [ebp - 8]
call fcn.00573d4c
test ebx, ebx
je 0x5b27df
mov edx, ebx
mov byte [ebp - 0x1c], 1
mov ecx, edi
mov dword [ebp - 0x18], 0x46
mov dword [ebp - 0x14], 0xa
call fcn.00573f7e
test eax, eax
jne 0x573d1f
test dword [esi + 0x28], 0xff0
jne 0x5b27ee
push ebx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00573e96
mov dword [esi + 0x2c], eax
cmp eax, 2
jne 0x573d22
push 4
pop eax
mov dword [esi + 0x2c], eax
mov ecx, eax
call int.00573e76
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0xc]
pop ebx
sub dword [eax], 1
jne 0x573d46
push 4
push eax
call fcn.0058e653
push edi
call fcn.0058e69a
add esp, 0xc
pop edi
jmp 0x573c76
jbe 0x5b27f8
pop ds
arpl word [esi + 0x27], dx
push esi
daa
sahf
push eax
dec ebp
mov byte [esi + edx*2 - 0x44], ch
test dword [ecx - 0x644cfba6], ecx
mov dword [edx + 4], ebx
mov bl, 0x9b
fild word [ecx + 0x21]
xchg ecx, eax
cmc
invalid
nop
cwde
push 0x27
mov edi, 0x313906d1
add al, 0x7a
fistp dword [esi]
jp 0x5b27d5
push ds
add esp, dword [eax + 0x62]
dec ebx
fdivr st(6), st(0)
fsubr st(6), st(0)
mov esi, 0xa1454d85
invalid
Function at 0x5751c2
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x5751ea
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x5751dc
pop edi
pop esi
pop ebp
ret 4

Function at 0x5bf202
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x5bf22a
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x5bf21c
pop edi
pop esi
pop ebp
ret 4

Function at 0x5c2e4d
Capabilities:
Encode data using xor

Disassembly:
or dword [eax + 0x79], esp
mov ebx, 0x989bf7ec
and ecx, esi
xor bl, ch
pop esp
lea edi, [ecx]
fist dword [eax + 0x27]
daa
mov edx, 0x10019e21
and byte [esi], dl
xor byte [ebx], bh
xchg esi, eax
dec ebp
inc esp
lahf
dec ecx
or ch, byte [esi + 0x1d]
and al, 0xbc
shr byte [ebp - 0x16908253], 0x94
cmc
aam 0xe5
in al, dx
aam 0xf6
push cs
sbb eax, 0xb3887a3b
push eax
pop es
or eax, 0x739af3e6
nop
in al, 0xa
mov dword [eax - 0x137ba2b1], ecx
sahf
loop 0x5c2e5e
inc ebp
inc esi
invalid

Function at 0x60571d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], edi
lea edx, [edi - 1]
test edi, edi
je 0x605785
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov dword [ebp - 4], eax
xor ebx, ebx
xor ecx, ecx
test ax, ax
je 0x60577c
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, dword [eax]
movzx eax, word [eax + edx*2]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, ax
cmp word [ebp - 0xc], ax
je 0x60578a
inc ebx
movzx eax, word [edi + ebx*2]
test ax, ax
jne 0x605761
mov edi, dword [ebp - 0x10]
test ecx, ecx
jne 0x64529d
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret 4
or eax, 0xffffffff
jmp 0x60577e
inc ecx
jmp 0x605767
fxtract
lcall 0xc54, 0x3ff6b2a0
lcall 0xc54, 0x3ff6b2a0
adc bh, ah
sub eax, 0xbe9a25d4
fcom qword [eax + 0x258565d0]
xchg byte [ebx], bl
into
add ch, bh
nop
shl byte [ebp - 0x7b], 1
and eax, 0xce1b86
std
xchg ebp, eax
fild dword [ebp + 0x76]
jae 0x645294
test al, 0x2c
fisubr dword [edx]
sbb eax, 0xa30a69da
inc eax
nop
ficomp dword [ecx - 0x64]
inc edx
jnp 0x645285
les ebx, [ebx + eax*4 + 0x3ecc8059]
mov bh, 0xd5
loope 0x6452e2
xchg esi, eax
cmpsb byte [esi], byte es:[edi]
shl dword fs:[ecx + ecx*4 - 0x63481af7], cl
into
mov esi, dword [esi - 0x6c]
lodsb al, byte [esi]
and eax, 0x152f0bcc
pop esp
outsd dx, dword [esi]
jbe 0x64534d
add al, 9
pop edi
and eax, 0x9951537b
pop ds
test dword [edi], eax
aas
sbb esp, dword [eax]
popfd
inc eax
jg 0x645282
insb byte es:[edi], dx
push ss
clc
sub byte [eax + 0x3a1151bb], bl
dec edi
invalid
pop ds
iretd
Function at 0x608892
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x6088ba
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x6088ac
pop edi
pop esi
pop ebp
ret 4

Function at 0x60d4bd
Capabilities:
Encode data using xor

Disassembly:
sub dword [edx - 0x40], eax
jne 0x60d51c
sbb dl, byte [esi + edi*2]
mov ch, 0x69
aas
invalid
dec ecx
sub ch, al
add byte [esi], ch
test dword [ecx], eax
test dword cs:[ecx], eax
cwde
xor dword [esi], eax
jnp 0x60d524
xchg dword [ebx - 0x22], ecx
mov dword [eax], 0xdc110af8
push ss
or dl, byte [ecx]
fcom qword [esi]
jge 0x60d52f
dec ecx
mov byte [ebx + 0x65], dl
rcl esp, 1
fdiv dword [ebx]
in al, dx
jbe 0x60d521
movsd dword es:[edi], dword [esi]
sbb al, 0xd0
clc
mov ebx, 0xd9a8b149
mov dl, 0xa0
dec esi
add dword [eax + edi*4 - 0x35], 0xbd039d23
push ss
lodsb al, byte [esi]
out 1, eax
xlatb
dec edi
add edi, esp
jg 0x60d57c
push 0x29a48b91
inc edi
hlt
xchg edi, eax
invalid

Function at 0x62831b
Capabilities:
Encode data using xor

Disassembly:
out 0x89, al
popfd
imul ecx, dword [ebp + ebp*2 + 0xd87680d], 0xc5549983
inc edi
out dx, al
cwde
inc ecx
inc edx
xor ebx, dword [esi + 0x5c]
dec esi
dec ebx
push ebx
pushfd
inc ebp
sti
lodsb al, byte [esi]
dec esp
nop
sub edi, eax
add al, 0x88
sub al, 0xc7
jl 0x628308
loope 0x62833e
mov edx, dword [edx + 0x6d96547b]
sbb dword [0x2e91d25d], esp
retf
Function at 0x64d8ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x656388
cmp edx, dword [eax]
je 0x64d8cf
add eax, 8
inc ecx
cmp eax, 0x656418
jl 0x64d8c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x656388]
jne 0x64d9fd
mov eax, dword [0xa59ce0]
cmp eax, 1
je 0x64d9d7
test eax, eax
jne 0x64d900
cmp dword [0x6562b4], 1
je 0x64d9d7
cmp edx, 0xfc
je 0x64d9fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64d937
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e290
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064e720
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64d97a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064e720
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652a84
push edi
call fcn.006505f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e290
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e2a0
lea eax, [ebp - 0xa0]
push 0x652a64
push eax
call fcn.0064e2a0
push dword [esi + 0x65638c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e2a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00650564
add esp, 0x2c
pop edi
jmp 0x64d9fd
lea eax, [ebp + 8]
lea esi, [esi + 0x65638c]
push 0
push eax
push dword [esi]
call fcn.0064e720
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42bc0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4540d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004296a2
and dword [ebp - 0x14], 0
cmp dword [0x455cfc], 0
mov dword [ebp - 0x18], eax
jne 0x42bcbe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42bd66
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44f7cc
push ebx
call edi
test eax, eax
je 0x42bd66
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x455cfc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x455d00], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x455d04], eax
call edi
push eax
call esi
mov dword [0x455d0c], eax
test eax, eax
je 0x42bcbe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x455d08], eax
mov eax, dword [0x455d08]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42bd17
cmp dword [0x455d0c], ecx
je 0x42bd17
push eax
call esi
push dword [0x455d0c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42bd17
test ebx, ebx
je 0x42bd17
call edi
test eax, eax
je 0x42bd0e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42bd0e
test byte [ebp - 8], 1
jne 0x42bd17
or dword [ebp + 0x10], 0x200000
jmp 0x42bd4a
mov eax, dword [0x455d00]
cmp eax, dword [ebp - 0x18]
je 0x42bd4a
push eax
call esi
test eax, eax
je 0x42bd4a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42bd4a
mov eax, dword [0x455d04]
cmp eax, dword [ebp - 0x18]
je 0x42bd4a
push eax
call esi
test eax, eax
je 0x42bd4a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x455cfc]
call esi
test eax, eax
je 0x42bd66
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42bd68
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427eaa
leave
ret
Function at 0x10001037
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push edi
push esi
push ebx
mov edi, eax
mov esi, edx
test edx, edx
jne 0x1000104a
mov ebp, 0xffffffff
jmp 0x10001076
mov ebp, 0xffffffff
mov ebx, ebp
and ebx, 0xff
movsx eax, byte [edi]
call fcn.10001023
movsx eax, al
xor ebx, eax
mov eax, ebp
shr eax, 8
mov ebp, eax
xor ebp, dword [ebx*4 + section..rdata]
inc edi
dec esi
jne 0x1000104f
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x1000107d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, eax
mov ecx, edx
test edx, edx
jne 0x1000108d
mov edx, 0xffffffff
jmp 0x100010a7
mov edx, 0xffffffff
mov al, byte [ebx]
xor eax, edx
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + section..rdata]
inc ebx
dec ecx
jne 0x10001092
mov eax, edx
not eax
pop ebx
ret

Function at 0x10001361
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
push ebx
sub esp, 8
mov eax, 0
xor byte [eax + 0x1000554c], 0x78
inc eax
cmp eax, 0xb
jne 0x1000136a
mov al, 0
xor byte [eax + 0x10005558], 0x78
inc eax
cmp eax, 0xd
jne 0x10001379
mov al, 0
xor byte [eax + 0x10005566], 0x78
inc eax
cmp eax, 0x10
jne 0x10001388
mov al, 0
xor byte [eax + 0x10005577], 0x78
inc eax
cmp eax, 0x12
jne 0x10001397
mov al, 0
xor byte [eax + 0x1000558a], 0x78
inc eax
cmp eax, 0x10
jne 0x100013a6
mov al, 0
xor byte [eax + 0x1000559b], 0x78
inc eax
cmp eax, 0x10
jne 0x100013b5
mov al, 0
xor byte [eax + str.0_f_f_b7_b], 0x78
inc eax
cmp eax, 0x10
jne 0x100013c4
mov al, 0
xor byte [eax + str.0_f_f_b], 0x78
inc eax
cmp eax, 0x10
jne 0x100013d3
mov al, 0
xor byte [eax + 0x100055ce], 0x78
inc eax
cmp eax, 0x13
jne 0x100013e2
mov al, 0
xor byte [eax + 0x10005520], 0x78
inc eax
cmp eax, 0x2b
jne 0x100013f1
sub esp, 0xc
push 0x1000554c
call sub.KERNEL32.dll_LoadLibraryA
mov ebx, eax
sub esp, 0xc
push 0x10005558
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x10007330], eax
push 0x10005566
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x10007340], eax
push 0x10005577
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x10007350], eax
push 0x1000558a
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x10007360], eax
push 0x1000559b
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x10007370], eax
push str.0_f_f_b7_b
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x10007380], eax
push str.0_f_f_b
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x10007390], eax
push 0x100055ce
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x100073a0], eax
add esp, 0x20
pop ebx
ret
Function at 0x10001790
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x38
push 0
lea eax, [esp + 0x38]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.7___9_5
push 0x80000002
call sub.ADVAPI32.DLL_RegCreateKeyExA
add esp, 0xc
test eax, eax
jne 0x10001804
mov dword [esp + 0x24], 0x12
lea eax, [esp + 0x12]
sub esp, 8
lea edx, [esp + 0x2c]
push edx
push eax
push 0
push 0
push 0x1000546e
push dword [esp + 0x44]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [esp + 0x2c], eax
sub esp, 4
push dword [esp + 0x34]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
cmp dword [esp + 0x24], 0
jne 0x10001804
mov eax, dword [esp + 0x1e]
jmp 0x1000187d
sub esp, 0xc
push 0
lea eax, [esp + 0x38]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.7___9_5
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
add esp, 0xc
test eax, eax
jne 0x10001878
mov dword [esp + 0x24], 0x12
lea eax, [esp + 0x12]
sub esp, 8
lea edx, [esp + 0x2c]
push edx
push eax
push 0
push 0
push 0x1000546e
push dword [esp + 0x44]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [esp + 0x2c], eax
sub esp, 4
push dword [esp + 0x34]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
cmp dword [esp + 0x24], 0
jne 0x10001878
mov eax, dword [esp + 0x1e]
jmp 0x1000187d
mov eax, 0
add esp, 0x2c
ret

Function at 0x10001881
Capabilities:
Set thread local storage value

Disassembly:
push edi
push esi
push ebx
mov edi, eax
mov esi, edx
mov ebx, ecx
sub esp, 8
push 1
push dword [0x10007760]
call sub.KERNEL32.dll_TlsSetValue
add esp, 8
push dword [esp + 0x10]
push ebx
push esi
push edi
call dword [0x10007770]
mov ebx, eax
sub esp, 8
push 0
push dword [0x10007760]
call sub.KERNEL32.dll_TlsSetValue
add esp, 8
mov eax, ebx
pop ebx
pop esi
pop edi
ret 4

Function at 0x100018c7
Capabilities:
Create thread

Disassembly:
push esi
push ebx
sub esp, 0x148
push 0x104
lea ebx, [esp + 0x44]
push ebx
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov al, byte [0x10005404]
add esp, 4
test al, al
je 0x1000197c
movsx eax, al
call fcn.10001023
mov byte [esp + 0xf], al
sub esp, 0xc
push 0x10005405
call sub.KERNEL32.dll_lstrlenA
mov esi, eax
add esp, 0xc
mov al, byte [ebx]
test al, al
je 0x1000193a
inc ebx
movsx eax, al
call fcn.10001023
cmp byte [esp + 0xf], al
jne 0x1000190e
mov ecx, esi
mov edx, 0x10005405
mov eax, ebx
call fcn.100010ad
test eax, eax
jne 0x1000190e
cmp ebx, 1
jne 0x1000197c
mov eax, dword [0x100073b0]
test eax, eax
je 0x1000197c
sub esp, 0xc
push 0
push 0x20
lea esi, [esp + 0x24]
push esi
push 4
push 0xffffffffffffffff
call eax
add esp, 0xc
test eax, eax
js 0x1000197c
sub esp, 0xc
lea ebx, [esp + 0x3c]
push ebx
call sub.KERNEL32.dll_GetSystemTimeAsFileTime
add esp, 0xc
mov edx, esi
mov eax, ebx
call fcn.100010e5
cmp eax, 0xb4
jbe 0x100019a5
sub esp, 8
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 0x10003c12
push 0x10000
push 0
call sub.KERNEL32.dll_CreateThread
sub esp, 4
push eax
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
add esp, 0x144
pop ebx
pop esi
ret
Function at 0x100019ae
Capabilities:
Set registry value

Disassembly:
push ebx
sub esp, 0x24
push 0
lea ebx, [esp + 0x24]
push ebx
push 0
push 0xf003f
push 0
push 0
push 0
push str.7___9_5
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
add esp, 0xc
test eax, eax
jne 0x10001a03
sub esp, 8
push 1
push ebx
push 3
push 0
push str._n_n_
push dword [esp + 0x30]
call sub.ADVAPI32.DLL_RegSetValueExA
sub esp, 4
push dword [esp + 0x20]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
add esp, 0x18
pop ebx
ret

Function at 0x10002526
Capabilities:
Create thread

Disassembly:
push esi
push ebx
sub esp, 0x14
lea eax, [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, 0x400
call fcn.10001a08
mov esi, eax
sub esp, 4
push dword [esp + 0x14]
push dword [esp + 0x28]
push eax
call sub.USER32.dll_wvsprintfA
mov edx, eax
mov eax, esi
call fcn.1000107d
mov ebx, eax
sub esp, 8
push 0x100073f0
call sub.KERNEL32.dll_EnterCriticalSection
mov edx, dword [0x10007040]
add esp, 0xc
test edx, edx
je 0x100025a9
mov ecx, dword [0x10007030]
cmp ebx, dword [ecx]
jne 0x1000259f
jmp 0x10002586
cmp ebx, dword [ecx + eax*4]
jne 0x100025a4
sub esp, 0xc
push 0x100073f0
call sub.KERNEL32.dll_LeaveCriticalSection
add esp, 0xc
mov eax, esi
call fcn.10001595
jmp 0x10002618
mov eax, 0
inc eax
cmp eax, edx
jne 0x10002581
cmp dword [0x10007050], edx
ja 0x100025cf
add edx, 0x200
mov dword [0x10007050], edx
shl edx, 2
mov eax, dword [0x10007030]
call fcn.10001fc1
mov dword [0x10007030], eax
mov eax, dword [0x10007040]
mov edx, dword [0x10007030]
mov dword [edx + eax*4], ebx
inc eax
mov dword [0x10007040], eax
sub esp, 0xc
push 0x100073f0
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0
push esi
push 0x10001d1e
push 0x10000
push 0
call sub.KERNEL32.dll_CreateThread
add esp, 0xc
push eax
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x7de82c17
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x7dec892e
test bl, 7
jne 0x7dec892e
mov cl, byte [ebx + 7]
test cl, 0x3f
je 0x7dec892e
test cl, cl
js 0x7deac175
cmp dword [esi + 0x4c], 0
je 0x7de82c6e
mov eax, dword [ebx]
mov dword [ebp - 8], eax
xor eax, dword [esi + 0x50]
mov cl, al
xor cl, ah
mov dword [ebp - 8], eax
xor cl, byte [ebp - 6]
shr eax, 0x18
cmp al, cl
jne 0x7dec892e
mov al, byte [ebx + 7]
cmp al, 4
je 0x7dec895d
mov al, byte [ebx + 6]
test al, al
jne 0x7dec8970
mov eax, esi
test eax, eax
je 0x7dec892e
cmp dword [eax + 0x18], esi
jne 0x7dec892e
cmp ebx, dword [eax + 0x24]
jb 0x7dec892e
cmp ebx, dword [eax + 0x28]
jae 0x7dec892e
cmp dword [esi + 0x4c], 0
je 0x7deac1ab
mov eax, dword [ebx]
test dword [esi + 0x4c], eax
je 0x7de82cbd
xor eax, dword [esi + 0x50]
shr eax, 0x10
test al, 4
jne 0x7dec8989
cmp byte [ebx + 7], 4
je 0x7de82cf0
lea ecx, [esi + 0xa8]
mov eax, dword [ecx]
cmp eax, ecx
je 0x7dec892e
cmp ebx, dword [eax + 0x14]
jb 0x7deac1b3
cmp ebx, dword [eax + 0x18]
jae 0x7deac1b3
mov al, 1
pop esi
pop ebx
leave
ret 0xc
cmp byte [esi + 0xda], 2
jne 0x7deac19a
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x7dec892e
cmp cl, 4
jne 0x7de82cf0
jmp 0x7dec892e
xor eax, eax
jmp 0x7deac184
mov al, byte [ebx + 2]
jmp 0x7de82cc0
mov eax, dword [eax]
jmp 0x7de82cd6
pop ebp
cld
xor byte [ecx + 0x6a], dl
or bh, bh
jo 0x7dec898f
invalid
jne 0x7dec8977
jne 0x7dec8981
Function at 0x7de85637
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push edi
push esi
call 0x7de70687
cmp eax, esi
jl 0x7de85788
mov eax, dword [0x7ffe02dc]
push ebx
mov dword [ebp - 4], eax
push 0x21
lea eax, [ebp - 0xc]
mov dword [ebp - 0x2c], eax
push 3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x100020
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x40
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call 0x7de55d54
push dword [ebp - 8]
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call 0x7de63f85
cmp ebx, esi
jl 0x7deb0973
push 4
push 8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call 0x7de55f7c
cmp eax, esi
jl 0x7deb4e61
mov ebx, dword [ebp + 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ecx, [ebx + 0x18]
push ecx
push esi
push dword [eax + 0x18]
call 0x7de64026
mov esi, eax
test esi, esi
je 0x7deb4e72
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x10], 1
mov dword [esi + 4], eax
mov word [esi + 2], bx
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], ecx
movzx ecx, word [edi]
push ecx
push dword [edi + 4]
push eax
call 0x7de58340
movzx eax, word [edi]
mov ecx, dword [esi + 4]
shr eax, 1
xor edx, edx
mov word [ecx + eax*2], dx
mov ax, word [edi]
mov word [esi], ax
movzx ecx, word [edi]
mov edx, dword [edi + 4]
mov eax, ecx
shr eax, 1
add eax, eax
add esp, 0xc
cmp word [eax + edx - 2], 0x5c
je 0x7de85780
movzx edx, word [esi + 2]
add ecx, 4
cmp ecx, edx
ja 0x7deb4e79
mov ecx, dword [esi + 4]
push 0x5c
pop edx
mov word [eax + ecx], dx
movzx eax, word [edi]
mov ecx, dword [esi + 4]
shr eax, 1
xor edx, edx
mov word [ecx + eax*2 + 2], dx
add word [esi], 2
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc
mov eax, ebx
jmp 0x7de85787
mov esi, eax
push dword [ebp + 8]
call 0x7de559d0
mov eax, esi
jmp 0x7de85787
mov esi, 0xc0000017
jmp 0x7deb4e63
push dword [ebp + 8]
call 0x7de559d0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call 0x7de63f85
mov eax, 0xc0000106
jmp 0x7de85787