joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fb3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [ebp - 0xc], 3
mov dword [ebp - 8], 4
je 0x403ff2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
mov eax, dword [ebp + 0xc]
pop esi
jne 0x403fff
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x404075
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
je 0x4040fa
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x4040ba
cmp dword [esi + 0xc], ebx
je 0x4040c1
cmp eax, 0xea
jne 0x4040e1
push dword [ebp - 8]
mov ecx, esi
call fcn.00404008
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
mov dword [esi + 4], eax
cmp dword [esi + 4], ebx
pop edi
jne 0x404109
cmp dword [ebp - 4], 1
je 0x4040fa
cmp dword [ebp - 4], 2
je 0x4040fa
mov dword [esi + 4], 0x57
cmp dword [esi + 4], ebx
jne 0x404109
cmp dword [ebp - 8], ebx
je 0x404109
mov eax, dword [esi + 0xc]
jmp 0x40410c
lea eax, [esi + 0x18]
pop esi
pop ebx
leave
ret 4

Function at 0x404117
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp - 8], 3
mov dword [ebp - 4], eax
je 0x404196
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x40415c
cmp dword [esi + 0xc], ebx
je 0x404163
cmp eax, 0xea
jne 0x404183
push dword [ebp - 4]
mov ecx, esi
call fcn.00404008
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push dword [esi]
call edi
mov dword [esi + 4], eax
cmp dword [esi + 4], ebx
pop edi
jne 0x4041ac
cmp dword [ebp - 8], 3
je 0x404196
mov dword [esi + 4], 0x57
cmp dword [esi + 4], ebx
jne 0x4041ac
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4041ac
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
jmp 0x4041b3
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
xor eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x427e1e
Capabilities:
Hash data using murmur3

Disassembly:
xor al, 0x85
test dword [ebx - 0x4ac78312], ecx
pop ecx
add dword [eax], 0xf751c86
xor al, 0x34
mov eax, dword [ebp - 0x7311747b]
mov ch, 0x8f
rol dword [ecx + 0x631c8600], 0xf
xor al, 0x34
mov eax, dword [ebp - 0x1f11747b]
mov ch, 0x8f
rol dword [ecx + 0x511c8600], 0xf
xor al, 0x34
mov ecx, dword [ebx - 0x61747475]
xor eax, 0xb56610ee
pop ecx
add dword [eax], 0x122c1c86
xor al, 0x34
mov ecx, dword [ebx - 0x61747475]
xor eax, 0xb5673cee
pop ecx
add dword [eax], 0x12171c86
xor al, 0x34
mov eax, dword [ebp + 0x68ee8b85]
mov ch, 0x8f
rol dword [ecx + 0x151c8600], 0xe
xor al, 0x34
mov eax, dword [ebp - 0x7f11747b]
mov ch, 0x8f
rol dword [ecx + 0x31c8600], 0xe
xor al, 0x34
mov eax, dword [ebp + 0x5bf49c85]
cmp eax, 0x67a8ee34
mov ch, 0x8f
rol dword [ecx - 0x12e37a00], 0xe
xor al, 0x34
sahf
push esp
mov ecx, dword [ebx + 0x389e8b8b]
out dx, al
fsub dword [edi - 0x4b]
pop ecx
add dword [eax], 0x12c71c86
xor al, 0x34
sahf
push esp
mov ecx, dword [ebx + 0x389e8b8b]
out dx, al
add byte [edi - 0x4b], ah
pop ecx
add dword [eax], 0x12b11c86
xor al, 0x34
ror dword [ecx + 0x1c02bf00], 0x97
pop ecx
xor al, 0x34
rol dword [ecx + 0x1bef1c00], 0x34
xor al, 0xbf
cli
sbb al, 8
cld
xor al, 0xf7
sahf
pushal
in al, dx
inc eax
aaa
mov edx, 0xfd5b1c8f
xor al, 0xbf
and eax, 0x8624a9bd
pushfd
dec esp
div byte [edi + ecx*4 + 0x1c0081c1]
cwde
cmp dword [esp + esi], esi
mov bh, 0x99
xor byte [esi + ebp*8], dh
xor ch, dh
mov ah, 0x8f
sahf
cmp byte [ebp - 0x79ca617b], al
rol dword [ecx + 0xe701c00], 0x34
xor al, 0xc1
mov dword [eax], eax
mov edi, 0x59461c02
xor al, 0x34
rol dword [ecx + 0x1b9e1c00], 0x34
xor al, 0xbf
cli
sbb al, 0xb7
cld
xor al, 0xf7
sahf
pushal
in al, dx
inc eax
aaa
mov edx, 0xfc0a1c8f
xor al, 0xbf
and eax, 0x8624a9bd
pushfd
push esp
div dword [edi + ecx*4 + 0x1c0081c1]
inc edi
cmp dword [esp + esi], esi
xor ebp, esi
invalid
Function at 0x40176f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401779
repz ret
jmp fcn.00401a16

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x683716f
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x71036c4f
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4253d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42540d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408894
jmp 0x425416
mov eax, ebx
mov edx, esi
call fcn.00408aec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425420
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x425442
movzx eax, word [esp]
jmp 0x425444
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x426494
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4265b9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042629c
mov esi, eax
mov eax, dword [0x65692c]
cmp byte [eax], 0
je 0x426561
mov eax, dword [0x65651c]
call fcn.00405c80
call fcn.00405604
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x426464]
call fcn.0040b8d8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4265d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42659d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x656480]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x65a634]
call fcn.0040bcf8
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4265c0
lea eax, [ebp - 4]
mov edx, dword [0x426464]
call fcn.0040b9fc
ret
Function at 0x4b18a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4b18a8
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c8810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004097c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004c82e4
test al, al
jne 0x4c8871
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x656b48]
mov dl, 1
mov eax, dword [0x4c7018]
call fcn.004266fc
call fcn.00407e08
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004c824c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4cfc2c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4cfc32
ret
Function at 0x4ed518
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x65d048], 0
je 0x4ed659
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x656870]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x4ed659
mov eax, dword [0x65d04c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x65d048]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4ed628
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x65d048]
call fcn.0045a3f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4ed620
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x215], 0
je 0x4ed620
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x4ed620
mov eax, dword [ebp - 0x14]
call fcn.004f9238
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ed620
push ebp
call fcn.004ed4d4
pop ecx
test al, al
jne 0x4ed620
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.00406ce8
test al, al
je 0x4ed620
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00406ce8
cmp byte [ebp - 1], 0
je 0x4ed620
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00410a50
test al, al
je 0x4ed620
mov edx, dword [ebp - 0x14]
mov eax, dword [0x65d04c]
call fcn.004ecc44
inc edi
dec ebx
jne 0x4ed57d
mov eax, dword [0x65d04c]
cmp dword [eax + 8], 0
jle 0x4ed640
mov eax, dword [0x65d04c]
call fcn.004eccf8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ed659
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004ed33c
pop ecx
test al, al
jne 0x4ed659
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x592bb4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x592bc6
add esp, 0xfffffff0
call fcn.00406f84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0046b2e4
mov eax, dword [0x656490]
mov dword [eax + 4], ebx
mov dword [eax], 0x593080
mov eax, dword [0x65649c]
mov dword [eax + 4], ebx
mov dword [eax], 0x59308c
mov eax, ebx
call fcn.00593098
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x437ff0]
call fcn.00406998
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x437ff0]
call fcn.00406998
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x437ff0]
call fcn.00406998
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x437ff0]
call fcn.00406998
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x437ff0]
call fcn.00406998
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x58dae0
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4cb75c]
call fcn.004d0570
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4cb75c]
call fcn.004d0570
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4cb75c]
call fcn.004d0570
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4cb75c]
call fcn.004d0570
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4cb75c]
call fcn.004d0570
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.00593674
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5934a4
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5934a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5934a4
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5934a4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5934a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x592d46
call fcn.00406fdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x594440
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x594457
add esp, 0xfffffff0
call fcn.00406f84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0046b2e4
mov eax, dword [0x6562f8]
cmp byte [eax], 0
jne 0x594484
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x656724]
cmp word [eax + 2], 0
jne 0x59449e
mov eax, dword [0x656724]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0059689c
mov eax, dword [0x6568b0]
cmp word [eax + 2], 0
jne 0x5944b8
mov eax, dword [0x6568b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00596aa0
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4cb75c]
call fcn.004d0570
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x596f1c
mov dl, 1
mov eax, dword [0x437ff0]
call fcn.00406998
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x437ff0]
call fcn.00406998
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4cf2fc]
call fcn.004d7468
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5946a8
mov eax, dword [0x656550]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004d78f0
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5971dc
mov dl, 1
mov eax, dword [0x437ff0]
call fcn.00406998
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x656550]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00421914
test eax, eax
je 0x5945d2
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00421750
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004218f8
test eax, eax
je 0x5945ea
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409864
push ebx
push 0x59627c
call fcn.00589c2c
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x6562f8]
cmp byte [eax], 0
jne 0x59463b
mov eax, ebx
call fcn.00594870
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.00597414
mov eax, ebx
call fcn.0059809c
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x59469f
call fcn.00406fdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a50b8
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5a5155
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00427314
cmp eax, 2
jne 0x5a50fb
push 1
mov eax, esi
call fcn.004097c0
push eax
mov eax, edi
call fcn.004097c0
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x5a513f
mov eax, esi
call fcn.004097c0
mov edx, eax
lea eax, [ebp - 4]
call fcn.00409828
mov eax, dword [ebp - 4]
call fcn.0042110c
mov ebx, eax
test bl, bl
jne 0x5a5124
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x5a513f
mov eax, esi
call fcn.004097c0
push eax
mov eax, edi
call fcn.004097c0
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a515c
lea eax, [ebp - 4]
call fcn.0040870c
ret

Function at 0x5a7618
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x5aaa70
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x65d1e4
mov eax, esi
mov edx, 8
test al, 1
je 0x5aaa8c
shr eax, 1
xor eax, 0xedb88320
jmp 0x5aaa8e
shr eax, 1
dec edx
jne 0x5aaa7f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5aaa78
pop esi
ret

Function at 0x5aaaa4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x65d1e0], 0
jne 0x5aaace
call fcn.005aaa70
mov dword [esp], 0x65d1e0
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x5aaaf8
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x65d1e4]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x5aaad4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5bd930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
lea edi, [ebp - 0xd]
mov bl, 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x18]
dec esi
test esi, esi
jl 0x5bdae0
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.005bc56c
pop ecx
test al, al
jne 0x5bd977
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdc14
xor ebx, ebx
jmp 0x5bdae0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x5bd995
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005bdc14
xor ebx, ebx
jmp 0x5bdae0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [edi]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.005d4f18
test eax, eax
jne 0x5bd9cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005bdc14
xor ebx, ebx
jmp 0x5bdae0
test byte [edi + 4], 1
je 0x5bdad9
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.005bc56c
pop ecx
test al, al
jne 0x5bda00
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdc14
xor ebx, ebx
jmp 0x5bdae0
mov edx, dword [0x5b990c]
mov eax, 0xc
call fcn.0040ace8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5bdaab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.004092e8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408cc0
mov edx, dword [ebp - 4]
call fcn.005bc56c
pop ecx
test al, al
jne 0x5bda6e
mov edx, dword [0x5b990c]
mov eax, dword [ebp - 8]
call fcn.0040acfc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdc14
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bdae0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005b4e88
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.005b52a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bdad9
dec esi
jne 0x5bd94e
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c8a48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5c8ac5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.005b5510
mov eax, dword [ebp - 4]
call fcn.005b4e88
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax + 0xc]
dec ebx
cmp ebx, 0
jl 0x5c8aac
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 8]
jne 0x5c8aa6
mov eax, dword [esi]
mov edx, dword [ebp - 4]
call fcn.00409134
je 0x5c8aaf
dec ebx
cmp ebx, 0xffffffff
jne 0x5c8a89
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c8acc
lea eax, [ebp - 4]
call fcn.00408730
ret