joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aa40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44aa73
push esi
call fcn.00458e10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44aa6c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44aaf9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44aae2
mov eax, dword [esi + 8]
test eax, eax
je 0x44aa97
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44aade
cmp eax, 2
je 0x44aae2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44aa8a
cmp eax, 3
je 0x44aabd
cmp eax, 1
jne 0x44aa8a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44aa8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44aa8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044ab20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44ab08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044ab20
add esp, 4
pop esi
ret

Function at 0x44b390
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44b3b1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44b3b1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44b3b1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x466280
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x51f6dc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x466293
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4662d4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x51f784]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x466306
mov bl, byte [esp + ecx + 0x4c]
jmp 0x46630a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4662fb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x466328
mov bl, byte [esp + ecx + 0x4c]
jmp 0x46632c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x46631d
xor ecx, ecx
mov eax, 0x51f6ec
xor ebx, ebx
mov bl, byte [ecx + 0x51f794]
cmp byte [esp + ebx + 0x14], 0
je 0x466357
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x51f7ac]
cmp byte [esp + ebx + 0x14], 0
je 0x46636e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x46633e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4662c7
lea edx, [esp + 0x84]
push edx
call fcn.004663b0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x46aae0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x53ad6c]
xor edx, edx
cmp eax, edx
jne 0x46ab06
xor eax, eax
mov byte [eax + 0x53ac6c], al
inc eax
cmp eax, 0x100
jl 0x46aaee
mov dword [0x53ad6c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x53ac6c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46ab97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46ab6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46ab38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46aba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46abf3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46abda
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4715a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d6fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00471ec0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x505544
call fcn.0048f606
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x471633
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048f606
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47162c
push 0
mov ecx, eax
call fcn.00468710
mov dword [esi + 0xc], eax
jmp 0x471635
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x471635
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x491c4f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x491c87
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.0048fd20
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048fcf8
jmp 0x491c93
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x493340
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 0x493382
call fcn.00498cc7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x493382
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x493379
xor eax, eax
jmp 0x49338a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00493390
pop edi
pop esi
pop ebx
ret 4

Function at 0x4991f7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x499225
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x499243
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049915d
jmp 0x499243
mov eax, dword [esi + 0x14]
test eax, eax
je 0x499243
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049915d
test edi, edi
mov eax, edi
jne 0x49922d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4017c3
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0x18
push 0x4032c0
call fcn.0040303c
xor edi, edi
mov dword [ebp - 0x24], edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call fcn.00401cb9
test eax, eax
jne 0x4017f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4018a4
call fcn.00401f87
test eax, eax
jne 0x401806
push 5
pop esi
jmp 0x4018a4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x401814
push 0x57
jmp 0x401800
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp dword [ebp - 0x20], 2
jl 0x401810
lea eax, [ebp - 0x24]
push eax
push 0x401154
push dword [esi + 4]
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
cmp eax, 1
jne 0x401810
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x24]
dec eax
sub eax, 1
je 0x401868
dec eax
sub eax, 1
jne 0x401859
cmp dword [ebp - 0x20], 3
je 0x40185e
push 0x57
pop esi
jmp 0x40189a
mov ecx, dword [esi + 8]
call fcn.00401765
jmp 0x401898
cmp dword [ebp - 0x20], 5
jne 0x401859
push dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
call fcn.004016f2
jmp 0x401898
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.00401d44
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401f87
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x404004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_k_N___:3c1lKdkSDy____P_e8t_xT_Oq]
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401ff8
push ebx
call dword [sym.imp.KERNEL32.dll_k_N___:3c1lKdkSDy____P_e8t_xT_Oq]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x401ff8
cmp dword [ebp - 0x14], ebx
jne 0x402009
mov ebx, 0x529
jmp 0x402009
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x402009
mov ebx, 0x507
cmp dword [ebp - 0x10], 0
je 0x402018
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push ebx
call dword [sym.imp.KERNEL32.dll_k_N___:3c1lKdkSDy____P_e8t_xT_Oq]
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop ebx
sete al
xor ecx, ebp
call fcn.00402cb0
leave
ret
Function at 0x402d40
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x403320
call fcn.0040303c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x402da0
cmp eax, 0xffffffff
je 0x402da0
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x402d99
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x402d99
cmp edx, 0x10000000
jae 0x402d99
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x402d96
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x402e20
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x402e5e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x402e56
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x402e60
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x402e46
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x402f40
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402f6f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402f6f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40a4c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x412250], 0
push esi
push edi
jne 0x40a436
call fcn.0040a3a2
test eax, eax
je 0x40a47b
mov eax, dword [0x412250]
cmp eax, 1
jne 0x40a457
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40a47b
jmp 0x40a4bd
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x40a4bd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40a47f
xor eax, eax
jmp 0x40a4bd
mov eax, dword [esi]
push dword [0x412250]
call edi
mov edi, eax
test edi, edi
je 0x40a4a1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40a4bd
lea edi, [esi + 0xff0]
push esi
push dword [0x412250]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40a4a7
mov eax, esi
pop edi
pop esi
ret
jmp 0x40a422

Function at 0x40a788
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412120]
jne 0x40a792
repz ret
jmp fcn.0040adba

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..3ean
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3c233cbc
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..7LWLf
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x67e21534
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40645d
pop dword [ebp - 0x50]
mov eax, 0x40645d
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x237b555f
add dword [ebp - 0x60], 0x2ad6efec
mov dword [ebp - 0x5c], 0xadb35e22
add dword [ebp - 0x5c], 0x847fee23
mov dword [ebp - 0x58], 0x2cced749
add dword [ebp - 0x58], 0x1f7d6ce5
mov dword [ebp - 0x54], 0x58ea85b2
sub dword [ebp - 0x54], 0x58ea85b2
lea eax, [ebp - 0x60]
push eax
mov eax, 0x182b1790
sub eax, 0x17ea9718
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x542658
sub dword [ebp - 0x60], 0x8be1bd02
mov dword [ebp - 0x5c], 0x3fb682f5
add dword [ebp - 0x5c], 0x1b5de80
mov dword [ebp - 0x58], 0x6ccb50e
add dword [ebp - 0x58], 0x5ca2b75e
mov dword [ebp - 0x54], 0xf3f183ce
sub dword [ebp - 0x54], 0xf3f183ce
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x9d1658b9
sub eax, 0x9cd5d83d
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x369bf
push 0
call eax
mov ecx, 0x463a
mov ebx, eax
mov edi, 0x24758a41
add edi, 0xdbcf89bf
add edi, dword [ebp - 0x50]
mov edx, 0xd8a46f38
xor dword [ebp - 4], 0xf7ca28a4
mov esi, dword [edi]
sub dword [ebp - 0x4c], 0x2ba425fa
add esi, edx
add dword [ebp - 0xc], eax
mov dword [ebx], esi
xor dword [ebp - 0x10], eax
add ebx, 0x33d352db
sub ebx, 0x33d352d7
add edi, 0x2f9478
add edi, 0xffd06b8c
loop 0x40656e
add eax, 0xfa93ef73
add eax, 0x56d1c48
mov ebx, eax
add eax, 0x3e4a715
sub eax, 0x3e4a710
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x100183b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x100183c4
pop dword [ebp - 0x50]
mov eax, 0x7022d5b
sub eax, 0xf700a997
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x72c316cf
add dword [ebp - 0x60], 0xdb8f2e7c
mov dword [ebp - 0x5c], 0xdae563f7
sub dword [ebp - 0x5c], 0xa8b217b2
mov dword [ebp - 0x58], 0x87e0c9af
add dword [ebp - 0x58], 0xc46b7a7f
mov dword [ebp - 0x54], 0x40b72a6b
sub dword [ebp - 0x54], 0x40b72a6b
lea eax, [ebp - 0x60]
push eax
mov eax, 0xaf2ed3a8
sub eax, 0x9f2cb364
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xe25c3eca
add dword [ebp - 0x60], 0x92162a8c
mov dword [ebp - 0x5c], 0xd92ae21c
add dword [ebp - 0x5c], 0x68417f59
mov dword [ebp - 0x58], 0x403a7b4e
sub dword [ebp - 0x58], 0xdccb0ee2
mov dword [ebp - 0x54], 0x4fed9cd1
add dword [ebp - 0x54], 0xb012632f
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x78c09aad
sub eax, 0x68be7a6d
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3595f
push 0
call eax
mov ecx, 0x3df7
xor edx, edx
add edx, eax
mov ebx, 0xaef31934
sub ebx, 0x9eeffd34
add ebx, dword [ebp - 0x50]
mov edi, 0x3cca0256
mov dword [ebp - 0x48], 0x9d3372d3
mov esi, dword [ebx]
xor dword [ebp - 0x48], edx
xor esi, edi
xor dword [ebp - 0x10], ebx
mov dword [edx], esi
mov dword [ebp - 0x30], 0x632ce104
add edx, 0x1124a355
add edx, 0xeedb5caf
add ebx, 4
loop 0x100184dc
add eax, 0xeaaf
xor ebx, ebx
add ebx, eax
add eax, 0xb63394eb
sub eax, 0xb63394e6
mov ecx, 0xb19fd8e0
add ecx, 0x5e602720
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x5a1730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov edi, edx
xor edx, edx
mov dword [esp], edx
cmp dword [eax + 4], 0
je 0x5a17ec
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
add eax, dword [esp + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x78]
add eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
mov esi, eax
dec esi
test esi, esi
jb 0x5a17ec
inc esi
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0xc]
add eax, edx
mov ecx, ebx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, edx
mov dword [esp + 0x14], eax
push edi
mov eax, dword [esp + 0x18]
push eax
call sub.KERNEL32.DLL_lstrcmpA
test eax, eax
jne 0x5a17e8
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x24]
mov eax, dword [esp + 0xc]
add edx, eax
mov ecx, ebx
add ecx, ecx
add edx, ecx
mov dx, word [edx]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x1c]
add ecx, eax
movzx edx, dx
shl edx, 2
add ecx, edx
mov edx, dword [ecx]
add edx, eax
mov dword [esp], edx
jmp 0x5a17ec
inc ebx
dec esi
jne 0x5a178d
mov eax, dword [esp]
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x5a2140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ff4
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x5a21d4
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x5a21cf
xor eax, eax
push ebp
push 0x5a21c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x104
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push 0x5a2210
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x5a21b1
mov edx, ebx
lea eax, [ebp - 0x10c]
call fcn.0040b07c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a21cf
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a2c20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5a2cf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x5a2d08
call fcn.00405048
xor ebx, ebx
lea eax, [ebp - 4]
xor edx, edx
mov dl, bl
add edx, 0x41
call fcn.004051dc
lea eax, [ebp - 4]
mov edx, 0x5a2d18
call fcn.004052d8
mov eax, dword [ebp - 4]
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x5a2c88
cmp eax, dword [esp]
pop edx
pop eax
jne 0x5a2cc2
lea eax, [ebp - 8]
xor edx, edx
mov dl, bl
add edx, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.004036f0
mov edx, 0x5a2d1c
lea eax, [ebp - 0xc]
mov cl, 2
call fcn.004036c0
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00405258
jmp 0x5a2cc3
inc ebx
cmp bl, 0x19
ja 0x5a2cda
mov eax, dword [esi]
mov edx, 0x5a2d08
call fcn.0040541c
je 0x5a2c4e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2cf7
lea eax, [ebp - 4]
call fcn.00404ff4
ret

Function at 0x5a2d20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00404ff4
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x5a2e24
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5a2e24
xor eax, eax
push ebp
push 0x5a2e1d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x5a2e0a
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5a2e03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalSize
mov edx, 0x7fffffff
call fcn.00442fd8
mov esi, eax
mov eax, esi
call fcn.00402c7c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a2de5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, esi
call fcn.00402f2c
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040b07c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2dec
mov eax, dword [ebp - 4]
call fcn.00402cac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2e24
call sub.user32.dll_CloseClipboard
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5a2f30
Capabilities:
Get session user name

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp], 0x104
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x5a2f5d
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040b07c
jmp 0x5a2f6e
mov esi, dword [0x5b6aa0]
mov esi, dword [esi]
mov edx, ebx
mov eax, 0xe4
call esi
add esp, 0x10c
pop esi
pop ebx
ret