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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp + 4], 0x494a4b1c
mov word [esp + 8], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 5
ja 0x432f88
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add ecx, 0x4b78cf3
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x41
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 6
jb 0x432f58
mov edx, dword [esp + 4]
jmp dword [0x440a28]

Function at 0x433288
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x30
mov edx, dword [ecx + 4]
test edx, edx
je 0x433368
xor eax, eax
cmp dword [ecx], 0
jne 0x4333cf
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 4], edx
mov eax, dword [ecx + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xf4f5fafb
mov word [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x433336
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
add eax, 0x91a02c56
xor eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add al, 0x52
mov edx, dword [esp]
mov byte [esp + edx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x433308
mov eax, dword [esp + 0xc]
mov esi, dword [0x442cd8]
test esi, esi
je 0x4333cf
mov edx, dword [esp + 0x40]
xor edi, edi
mov ebx, dword [0x442cdc]
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xeeeb5415
je 0x4333d8
inc edi
cmp esi, edi
jne 0x433358
jmp 0x4333cf
mov dword [esp + 0x14], 0xcf0e0910
mov word [esp + 0x18], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x4333cb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x14]
add eax, 0x1340b182
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x76
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 7
jb 0x433398
mov eax, dword [esp + 0x14]
add esp, 0x30
pop esi
pop edi
pop ebx
ret 4
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x4333cf
lea eax, [esp + 4]
lea edi, [esp + 0x14]
push eax
push edi
push edx
push ecx
push 4
push dword [0x442ce0]
push esi
call fcn.00435168
add esp, 0x1c
jmp 0x4333cf
Function at 0x433408
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x4334c9
push ebx
push edi
push esi
sub esp, 0x10
mov dword [esp + 4], 0xf4f5fafb
mov word [esp + 8], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 5
ja 0x433468
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
add edx, 0x91a02c56
xor edx, esi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
add dl, 0x52
mov esi, dword [esp]
mov byte [esp + esi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 6
jb 0x433438
mov edx, dword [0x442cd8]
test edx, edx
je 0x4334b6
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x442cdc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x625b6034
je 0x433498
inc edi
cmp edx, edi
jne 0x433488
jmp 0x4334b6
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x4334b6
push eax
push 1
push dword [0x442ce0]
push edx
mov esi, ecx
call fcn.00435168
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
mov dword [ecx + 4], 0
add esp, 0x10
pop esi
pop edi
pop ebx
ret
Function at 0x4334d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 4], 0
je 0x43357e
mov edx, dword [ecx]
test edx, edx
je 0x43357e
mov dword [esp + 4], 0xf4f5fafb
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x433546
nop
nop
mov eax, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
add eax, 0x91a02c56
xor eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x52
mov esi, dword [esp]
mov byte [esp + esi + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x433518
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 4]
mov ebx, dword [0x442cd8]
test ebx, ebx
je 0x433603
xor edi, edi
mov esi, dword [0x442cdc]
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xc766965c
je 0x4335df
inc edi
cmp ebx, edi
jne 0x433568
mov edi, dword [ebp + 0x10]
jmp 0x433603
mov dword [esp + 4], 0x9cacbf4
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x4335d6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x4fb46e53
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x61
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x4335a8
mov eax, dword [esp + 4]
jmp 0x4336fa
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x433603
push dword [ebp + 8]
push edx
push 2
push dword [0x442ce0]
push esi
mov esi, ecx
call fcn.00435168
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x4336ed
cmp eax, 0xc000010a
jne 0x4336ed
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0xf4f5fafb
mov word [esp + 8], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 5
ja 0x433699
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
movzx esi, byte [esp + esi + 4]
add eax, 0x91a02c56
xor eax, esi
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x52
mov esi, dword [esp + 0xc]
mov byte [esp + esi + 4], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 6
jb 0x433668
mov eax, dword [esp + 4]
mov esi, dword [0x442cd8]
test esi, esi
je 0x4336ed
xor edi, edi
mov ebx, dword [0x442cdc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e28bda7
je 0x4336c8
inc edi
cmp esi, edi
jne 0x4336b8
jmp 0x4336ed
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x4336ed
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x442ce0]
push esi
mov esi, ecx
call fcn.00435168
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x4336fa
mov esi, eax
call fcn.00433408
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x4343e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov esi, 0x9188203e
xor eax, eax
cmp esi, 0xd2450f68
setl al
jmp dword [eax*4 + 0x440a50]
Function at 0x4367e8
Capabilities:
Encode data using xor

Disassembly:
add bh, bh
and al, 0x9d
mov ah, 0x15
inc esp
add byte [ebx + 0x39db3136], cl
salc
setne bl
jmp dword [ebx*4 + 0x441594]
invalid
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], 0x33323100
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43685d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
lea esi, [eax + edx]
add esi, 0x3aeedfb4
add eax, 0x3aeedfb4
and eax, edx
mov edx, esi
xor edx, eax
add edx, eax
not eax
and eax, esi
add eax, eax
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x7c
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x436818
mov eax, dword [esp + 4]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
ret 0x24ff
xchg ebp, eax
invalid
invalid
inc esp
invalid
ret 0x24ff
add bh, bh
and al, 0xbd
in al, 0x15
inc esp
add byte [ebx + 0x408b1040], cl
cmp al, 0x8b
or eax, 0x4415cc
nop
nop
nop
nop
nop
nop
nop

Function at 0x4368f8
Capabilities:
Encode data using xor

Disassembly:
invalid
nop
nop
nop
nop
nop
nop
jmp ecx
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov ebp, dword [esp + 0x48]
movzx eax, word [ebp]
mov dword [esp + 8], 0x5756af9d
mov word [esp + 0xc], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 5
ja 0x436958
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add ecx, 0x3820990e
xor ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0xba
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 6
jb 0x436928
xor ecx, ecx
cmp dword [esp + 8], eax
setne cl
xor eax, eax
sar bh, 0x24
invalid
in al, dx
invalid
inc esp
invalid
sar bh, 0x24
invalid
or al, 0x24
jmp dword [0x4415f4]
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [0x4415fc]
and al, 0x8d
push esp
push ss
inc esp
add byte [ecx], dh
rol byte [ebx + 0x5f5e34c4], 0x5b
pop ebp
ret
Function at 0x1014068
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x101b0f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1003818]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x100381c]
push esi
push edi
mov dword [ebp - 0xc], eax
xor esi, esi
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov dword [ebp - 0x220], esi
cmp ebx, esi
jne 0x10140ad
or eax, 0xffffffff
jmp 0x1014164
lea eax, [ebp - 0x220]
push eax
push 0x20019
push esi
push 0x10037b8
push 0x80000001
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x10140a5
cmp dword [ebp - 0x220], esi
je 0x10140a5
push 0xa
lea eax, [ebp - 0xa]
push eax
lea edi, [esi + 1]
push edi
mov dword [ebp - 0x224], 0x20a
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x1014127
cmp eax, 0xea
jne 0x1014156
jmp 0x101414f
cmp dword [ebp - 0x228], 1
jne 0x1014156
mov eax, dword [ebp - 0x224]
cmp eax, 2
jbe 0x101414f
shr eax, 1
dec eax
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp esi, 0x19
jl 0x10140d6
push dword [ebp - 0x220]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101367b
leave
ret 4
Function at 0x10157c4
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.01013e50
mov eax, dword [0x101b0f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1018], eax
cmp eax, ebx
jne 0x10157f8
xor eax, eax
jmp 0x10158bc
mov ecx, dword [ebp + 0x10]
push esi
add ecx, ecx
push ecx
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1004]
push ebx
push eax
mov dword [ebp - 0x1008], ebx
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], eax
xor eax, eax
add esp, 0x18
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x101c]
push eax
push 0xc
lea eax, [ebp - 0x1014]
push eax
push 0x58
mov dword [ebp - 0x1014], edi
mov word [ebp - 0x100e], si
mov dword [ebp - 0x101c], ebx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
pop esi
test eax, eax
jl 0x10158b6
mov ecx, dword [ebp - 0x100c]
cmp ecx, ebx
je 0x10158b6
cmp word [ebp - 0x1010], bx
je 0x10158b6
movzx eax, word [ebp - 0x1010]
shr eax, 1
cmp eax, 0x800
jb 0x101588f
mov eax, 0x7ff
xor edx, edx
mov word [ecx + eax*2], dx
push dword [ebp - 0x100c]
push dword [ebp + 0x10]
push dword [ebp - 0x1018]
call fcn.0100800f
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x1008], ecx
mov eax, dword [ebp - 0x1008]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0101367b
leave
ret 0xc

Function at 0x1015a48
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x1015a5c
sub eax, ecx
sar eax, 1
lea edi, [eax + 0xe]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01012c3a
mov esi, eax
pop ecx
cmp esi, ebx
je 0x1015ae9
push dword [ebp + 0xc]
xor eax, eax
push edi
push esi
mov word [esi], ax
call fcn.010158f2
cmp eax, ebx
jl 0x1015ae9
push 0x1003898
push edi
push esi
call fcn.010158f2
cmp eax, ebx
jl 0x1015ae9
push esi
cmp byte [ebp + 8], bl
je 0x1015ada
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1015ae9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
jmp 0x1015ae9
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 4], eax
push esi
call fcn.01012c4a
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1015c1d
Capabilities:
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventW]
push edi
mov edi, 0x10038e0
push edi
xor ebx, ebx
push ebx
push 2
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1015cb8
push 1
push ebx
push ebx
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x1015cb5
push 0x10
push 0x10038b4
push eax
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x1015cac
push ebx
push ebx
push eax
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_StartServiceW]
test eax, eax
jne 0x1015c82
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x1015ca3
mov dword [ebp - 4], ebx
push edi
push ebx
push 2
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1015ca3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x64
jl 0x1015c85
push dword [ebp - 0xc]
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
push dword [ebp - 0x10]
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000131b
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
push esi
push edi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
push 0x10010760
push dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call sub.msvcrt.dll_fopen
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10001348
push 2
pop eax
jmp 0x10001400
push ebx
push 2
push 0
push esi
call sub.msvcrt.dll_fseek
push esi
call sub.msvcrt.dll_ftell
mov ebx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebx + 0x1000]
push ecx
push 1
call sub.msvcrt.dll_calloc
mov edi, eax
add esp, 0x18
mov dword [ebp - 8], edi
test edi, edi
jne 0x1000137d
xor ebx, ebx
inc ebx
jmp 0x100013e7
push 0
push 0
push esi
call sub.msvcrt.dll_fseek
push esi
push 1
push ebx
push edi
call sub.msvcrt.dll_fread
push esi
call sub.msvcrt.dll_fclose
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10001463
mov ebx, eax
add esp, 0x28
test ebx, ebx
jne 0x100013e1
push 0x10010764
push dword [ebp + 8]
call sub.msvcrt.dll_fopen
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100013cb
push 3
pop eax
jmp 0x100013ff
mov edi, dword [ebp - 8]
push esi
push 1
push dword [ebp - 4]
push edi
call sub.msvcrt.dll_fwrite
add esp, 0x10
xor ebx, ebx
jmp 0x100013e7
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x100013f2
push esi
call sub.msvcrt.dll_fclose
pop ecx
test edi, edi
je 0x100013fd
push edi
call sub.msvcrt.dll_free
pop ecx
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x1000170a
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
pop ebp
ret
Function at 0x10002165
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
push 3
pop ebx
mov ecx, dword [ebp + 0x14]
lea eax, [edi + 2]
div ebx
lea eax, [eax*4 + 1]
cmp dword [ecx], eax
jae 0x10002191
push 6
mov dword [ecx], eax
pop eax
jmp 0x10002298
xor edx, edx
mov eax, edi
div ebx
mov ebx, dword [ebp + 0x18]
xor ecx, ecx
imul eax, eax, 3
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
test eax, eax
je 0x1000221b
xor edx, edx
dec eax
push 3
pop ecx
div ecx
inc eax
imul edx, eax, 3
mov edi, eax
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
shr eax, 2
push 3
mov al, byte [eax + ebx]
mov byte [esi], al
movzx ecx, byte [edx]
pop eax
and ecx, eax
movzx eax, byte [edx + 1]
shr eax, 4
shl ecx, 4
add ecx, ebx
push 3
mov al, byte [eax + ecx]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
movzx ecx, byte [edx + 1]
shr eax, 6
and ecx, 0xf
add eax, ebx
mov al, byte [eax + ecx*4]
mov byte [esi + 2], al
movzx eax, byte [edx + 2]
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [esi + 3], al
add esi, 4
pop eax
add edx, eax
sub edi, 1
jne 0x100021be
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
jmp 0x1000221e
mov edx, dword [ebp + 8]
cmp ecx, edi
jae 0x1000228a
movzx eax, byte [edx]
mov dword [ebp + 0xc], eax
lea eax, [ecx + 1]
cmp eax, edi
jae 0x10002235
movzx ecx, byte [edx + 1]
jmp 0x10002237
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov eax, edx
shr eax, 2
shl edx, 4
mov al, byte [eax + ebx]
mov byte [esi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [esi + 1], al
add esi, 2
mov eax, dword [ebp - 4]
inc eax
cmp dword [ebp + 0x1c], 0
je 0x1000227d
cmp eax, edi
jae 0x10002270
and ecx, 0xf
mov al, byte [ebx + ecx*4]
jmp 0x10002272
mov al, 0x3d
mov byte [esi], al
mov byte [esi + 1], 0x3d
add esi, 2
jmp 0x1000228a
cmp eax, edi
jae 0x1000228a
and ecx, 0xf
mov al, byte [ebx + ecx*4]
mov byte [esi], al
inc esi
mov eax, dword [ebp + 0x14]
mov byte [esi], 0
sub esi, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x402460
Capabilities:
Create thread
Hide graphical window
Resume thread

Disassembly:
push ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffbffff
or eax, 0x80
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0x51
push 0
push 0
push 0xfffff830
push 0xfffff830
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x98], 0
jne 0x402506
lea eax, [esp]
push eax
push 0
push esi
push 0x402700
push 0
push 0
call fcn.0040aa2a
add esp, 0x18
mov dword [esi + 0x98], eax
test eax, eax
je 0x402506
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ecx
ret
Function at 0x402510
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x9c]
cmp eax, 0xc8
jb 0x40269c
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
mov esi, 0x421954
call fcn.00402cb0
lea ebx, [edi + 0x90]
call fcn.00409410
test eax, eax
je 0x40269c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x9c], eax
mov ebx, dword [0x421960]
mov esi, dword [0x421958]
mov ecx, ebx
sub ecx, esi
cmp ecx, 0x2a
jge 0x402586
lea esi, [ebx - 0x2a]
mov dword [0x421958], esi
mov ecx, dword [0x421954]
mov eax, dword [0x42195c]
sub eax, ecx
sub eax, ebx
add eax, esi
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov edx, ecx
sub edx, esi
add edx, ebx
mov dword [0x42195c], edx
mov dword [0x421954], ecx
mov eax, dword [edi + 0xbc]
sub ebx, esi
imul eax, ebx
cdq
idiv dword [edi + 0xc0]
sub esp, 0x10
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], eax
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
neg eax
add ecx, eax
mov eax, dword [esp + 0x20]
lea edx, [ecx + eax]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [0x421954], ecx
mov ecx, dword [0x421960]
mov dword [eax + 8], edx
mov esi, edi
mov dword [0x42195c], edx
mov dword [eax + 0xc], ecx
call fcn.00402930
test al, al
je 0x402611
xor edx, edx
jmp 0x402615
mov edx, dword [esp + 0x14]
mov eax, dword [0x421958]
mov ecx, dword [0x421960]
mov esi, dword [0x42195c]
push 0x58
sub ecx, eax
push ecx
mov ecx, dword [0x421954]
sub esi, ecx
push esi
push eax
push ecx
push edx
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x10]
xor eax, eax
sub esp, 0x10
mov dword [0x421958], eax
mov dword [0x421954], eax
mov dword [esp + 0x24], esp
mov eax, esp
push 0x421954
push eax
mov dword [0x421960], ebx
mov dword [0x42195c], ecx
call dword [sym.imp.USER32.dll_CopyRect]
call fcn.00402b20
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 1
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402520
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x9c]
cmp eax, 0x1f4
jb 0x4026cd
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
push 0
push 0x4c8
mov ecx, edi
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x402520
sub esp, 0x10
mov dword [esp + 0x24], esp
mov eax, esp
push 0x421954
push eax
call dword [sym.imp.USER32.dll_CopyRect]
call fcn.00402b20
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402520
Function at 0x402800
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x417e38
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x41f280]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x41f280]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
call fcn.00407ae0
add esp, 4
mov ebx, 0x41af88
lea ecx, [esp + 0x2c]
lea esi, [esp + 0x10]
mov dword [esp + 0x54], 0
call fcn.004039f0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 1
call fcn.00403070
mov edi, 8
mov byte [esp + 0x54], 0
cmp dword [esp + 0x28], edi
jb 0x402888
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0040a52c
add esp, 4
mov ebx, str..exe
lea ecx, [esp + 0x2c]
lea esi, [esp + 0x10]
call fcn.004039f0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 2
call fcn.00403070
cmp dword [esp + 0x28], edi
jb 0x4028c0
mov edx, dword [esp + 0x14]
push edx
call fcn.0040a52c
add esp, 4
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], edi
jae 0x4028ce
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4028f8
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], edi
jae 0x4028e7
lea eax, [esp + 0x30]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x44], edi
jb 0x40290b
mov eax, dword [esp + 0x30]
push eax
call fcn.0040a52c
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040a537
add esp, 0x48
ret