joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002b35
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x10002b43
xor al, al
leave
ret
lea eax, [ebp - 4]
push eax
push str.SoftwareAppDataLowlplaytl
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10002b3f
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret

Function at 0x10002bde
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
jne 0x10002bf7
xor al, al
leave
ret
lea eax, [ebp - 4]
push eax
push str.SoftwareAppDataLowlplaytl
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10002bf3
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret

Function at 0x10002c3e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
mov dword [ebp - 8], 3
jne 0x10002c54
xor al, al
leave
ret
lea eax, [ebp - 4]
push eax
push str.SoftwareAppDataLowlplaytl
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10002c50
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret

Function at 0x10002fe1
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
lea eax, [ebp - 4]
push eax
push str.SoftwareMozillaPlugins_npDisplayEngine
xor ebx, ebx
push SysReAllocStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10003072
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x104
mov byte [ebp - 0x110], bl
call fcn.10004cd0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.Path
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003069
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x10005d28
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100170c0]
jne 0x10005d32
repz ret
jmp fcn.1000b224
Function at 0x1000de5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10008ed2
and dword [ebp - 4], 0
cmp dword [0x10019434], 0
mov ebx, eax
jne 0x1000df0d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000dfbe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000dfbe
push eax
call fcn.10008e60
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10019434], eax
call esi
push eax
call fcn.10008e60
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10019438], eax
call esi
push eax
call fcn.10008e60
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001943c], eax
call esi
push eax
call fcn.10008e60
pop ecx
mov dword [0x10019444], eax
test eax, eax
je 0x1000df0d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10008e60
pop ecx
mov dword [0x10019440], eax
mov eax, dword [0x10019440]
cmp eax, ebx
je 0x1000df65
cmp dword [0x10019444], ebx
je 0x1000df65
push eax
call fcn.10008edb
push dword [0x10019444]
mov esi, eax
call fcn.10008edb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000df65
test edi, edi
je 0x1000df65
call esi
test eax, eax
je 0x1000df5c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000df5c
test byte [ebp - 0xc], 1
jne 0x1000df65
or dword [ebp + 0x10], 0x200000
jmp 0x1000df9e
mov eax, dword [0x10019438]
cmp eax, ebx
je 0x1000df9e
push eax
call fcn.10008edb
pop ecx
test eax, eax
je 0x1000df9e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000df9e
mov eax, dword [0x1001943c]
cmp eax, ebx
je 0x1000df9e
push eax
call fcn.10008edb
pop ecx
test eax, eax
je 0x1000df9e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10019434]
call fcn.10008edb
pop ecx
test eax, eax
je 0x1000dfbe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000dfc0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408956
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
push esi
pop esi
mov esi, 0xa3fb8961
call fcn.00408989
and esi, esi
xor dword [ebx], edi
mov eax, eax
dec eax
add ebx, 1
sub eax, 0x8b2e3b17
sub eax, eax
cmp ebx, ecx
jne fcn.00408956
dec eax
ret

Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x402065
push 0x402053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x40101c
ret
mov edi, edi
mov esi, 0x4010c7
mov edi, esi
push 1
push 0x402083
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreW]
mov edx, eax
pop ebx
mov ecx, 0x380
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x401040
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x401066
xor eax, eax
mov dword [0x402096], eax
add esp, 4
ret
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

Function at 0xa14000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xa1400a
jmp 0xa1600f
jmp fcn.007d80b0
Function at 0x4af728
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af7ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4af81c
push ebx
push 0x4af82c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087c4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405884
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084ec
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4af7aa
mov ax, 0x83
call fcn.004af34c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004af6fc
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4af7b3
call fcn.004af6fc
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af806
lea eax, [ebp - 4]
call fcn.00407a20
ret

Function at 0x4af91c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4af9e7
jmp 0x4af9db
cmp dword [esi + 0x10], 0x1000
jne 0x4af9c7
test byte [esi + 0x15], 1
jne 0x4af9c7
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4af978
cmp ebp, 2
je 0x4af978
cmp ebp, 0x10
je 0x4af978
cmp ebp, 0x20
jne 0x4af994
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4af994
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4af9a5
mov eax, dword [esi]
add eax, ebx
call fcn.004af914
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4af998
cmp byte [esp + 4], 0
je 0x4af9c7
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4af9e7
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4af94d
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43b64d
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
inc esi
add edi, 0x40f1173e
add esi, 0x84d75451
call fcn.0043b688
or esi, edi
and esi, edi
xor dword [eax], ebx
or esi, edi
inc eax
mov edi, esi
or esi, esi
mov edi, esi
cmp eax, ecx
jne fcn.0043b64d
sub esi, esi
inc esi
push 0x4cafaa9
pop edi
ret
Function at 0x7ffe5337
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
lea esp, [esp]
clc
push edx
cdq
pop edx
nop
add eax, 0
cld
add eax, 0
nop
and bh, 0xff
stc
pushal
inc eax
popal
cld
lea esp, [esp]
stc
add eax, 0
cld
and bh, 0xff
clc
push edx
cdq
pop edx
cld
add eax, 0
stc
and bh, 0xff
clc
add eax, 0
cld
lea esp, [esp]
stc
push edx
cdq
pop edx
cld
lea esp, [esp]
cld
pushal
inc eax
popal
nop
lea esp, [esp]
cld
pushal
inc eax
popal
stc
and bh, 0xff
cld
add eax, 0
cld
push edx
cdq
pop edx
cld
pushal
inc eax
popal
cld
and bh, 0xff
cld
add eax, 0
stc
add eax, 0
cld
push edx
cdq
pop edx
cld
pushal
inc eax
popal
cld
pushal
inc eax
popal
stc
pushal
inc eax
popal
cld
push edx
cdq
pop edx
cld
add eax, 0
clc
and bh, 0xff
clc
pushal
inc eax
popal
cld
lea esp, [esp]
cld
lea esp, [esp]
stc
push edx
cdq
pop edx
cld
pushal
inc eax
popal
clc
pushal
inc eax
popal
cld
add eax, 0
cld
add eax, 0
cld
lea esp, [esp]
cld
lea esp, [esp]
stc
add eax, 0
cld
lea esp, [esp]
cld
push edx
cdq
pop edx
cld
and bh, 0xff
stc
add eax, 0
clc
cld
nop
call 0x7ffe5404
pop edx
lea esp, [esp]
clc
lea esp, [esp]
stc
cld
xor dx, dx
cld
add edx, 0xd5e0
stc
xor ecx, ecx
cld
stc
mov cl, 0x1e
nop
stc
xor byte [ecx + edx], 0x6c
loop 0x7ffe5421
cld
lea esp, [esp]
nop
pushal
inc eax
popal
pushal
inc eax
popal
push dword fs:[0x24]
push edx
cdq
pop edx
cld
add eax, 0
cld
clc
pop dword [edx + 0xa]
stc
add eax, 0
cld
pushal
inc eax
popal
cld
mov cl, 0xff
clc
push edx
loop 0x7ffe5451
cld
and bh, 0xff
stc
cld
cld
mov dword [edx + 0x11], 0xffffacbb
stc
mov ecx, dword [eax + 0x2c]
nop
push edx
cdq
pop edx
cld
mov dword [edx + 0x1b], ecx
mov dword [edx + 0x100], ecx
nop
cld
mov dword [eax + 0x2c], esp
and bh, 0xff
cld
push 0
stc
push 0
nop
lea esp, [esp]
cld
lea esp, [esp]
nop
push 0
add eax, 0
stc
push edx
cdq
pop edx
and al, 0xff
cld
push 0
clc
add eax, 0
cld
cld
push 0x30
cld
lea esp, [esp]
cld
cld
clc
cld
push 0x20
clc
cld
cld
cld
push 0
push 0
nop
nop
add edx, 0xffff7f2d
clc
push edx
cdq
pop edx
cld
and bh, 0xff
nop
push edx
add eax, 0
push edx
cld
push 0
and bh, 0xff
clc
call dword [edx + 0x8216]
and bh, 0xff
clc
push edx
cdq
pop edx
clc
add esp, 0x3f8
lea esp, [esp]
stc
pushal
inc eax
popal
stc
xor eax, eax
lea esp, [esp]
clc
cld
stc
cld
inc eax
stc
add eax, 0
nop
cld
clc
clc
ret 0xc
Function at 0x7ffe5339
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
cld
pushal
inc eax
popal
stc
pushal
inc eax
popal
cld
pushal
inc eax
popal
stc
pushal
inc eax
popal
stc
pushal
inc eax
popal
stc
and bh, 0xff
clc
lea esp, [esp]
clc
lea esp, [esp]
stc
push edx
cdq
pop edx
cld
lea esp, [esp]
cld
and bh, 0xff
nop
add eax, 0
nop
push edx
cdq
pop edx
clc
pushal
inc eax
popal
clc
push edx
cdq
pop edx
stc
add eax, 0
clc
add eax, 0
cld
pushal
inc eax
popal
cld
pushal
inc eax
popal
cld
add eax, 0
cld
lea esp, [esp]
cld
add eax, 0
cld
and bh, 0xff
cld
add eax, 0
nop
push edx
cdq
pop edx
cld
push edx
cdq
pop edx
cld
lea esp, [esp]
clc
push edx
cdq
pop edx
clc
add eax, 0
cld
add eax, 0
cld
lea esp, [esp]
nop
and bh, 0xff
stc
add eax, 0
clc
pushal
inc eax
popal
clc
lea esp, [esp]
cld
pushal
inc eax
popal
cld
pushal
inc eax
popal
cld
pushal
inc eax
popal
stc
add eax, 0
cld
pushal
inc eax
popal
cld
lea esp, [esp]
cld
add eax, 0
cld
lea esp, [esp]
pushal
inc eax
popal
call 0x7ffe53f3
pop edx
cld
xor dx, dx
cld
lea esp, [esp]
cld
add eax, 0
nop
cld
add edx, 0xd5e0
stc
push edx
cdq
pop edx
inc esi
dec esi
stc
xor ecx, ecx
nop
lea esp, [esp]
clc
nop
cld
mov cl, 0x1e
add eax, 0
stc
add eax, 0
and al, 0xff
nop
xor byte [ecx + edx], 0xcc
loop 0x7ffe5424
clc
pushal
inc eax
popal
cld
add eax, 0
nop
clc
clc
cld
push dword fs:[0x24]
cld
pushal
inc eax
popal
cld
pop dword [edx + 0xa]
and bh, 0xff
clc
nop
clc
clc
mov cl, 0xff
nop
push edx
loop 0x7ffe544f
lea esp, [esp]
cld
and bh, 0xff
mov dword [edx + 0x11], 0xffffacbb
cld
push edx
cdq
pop edx
nop
add al, 0
stc
mov ecx, dword [eax + 0x2c]
lea esp, [esp]
cld
mov dword [edx + 0x1b], ecx
and bh, 0xff
add eax, 0
mov dword [edx + 0x100], ecx
push edx
cdq
pop edx
cld
and bh, 0xff
stc
push edx
cdq
pop edx
stc
mov dword [eax + 0x2c], esp
and bh, 0xff
cld
nop
push 0
clc
push edx
cdq
pop edx
cld
stc
push 0
stc
pushal
inc eax
popal
cld
push edx
cdq
pop edx
cld
stc
push 0
push 0
nop
push edx
cdq
pop edx
clc
cld
stc
push 0x30
cld
nop
cld
push 0x20
nop
pushal
inc eax
popal
push 0
clc
lea esp, [esp]
cld
pushal
inc eax
popal
clc
push 0
cld
cld
add edx, 0xffff7f2f
cld
stc
push edx
and bh, 0xff
clc
pushal
inc eax
popal
cld
cld
push edx
push 0
stc
and bh, 0xff
nop
lea esp, [esp]
and al, 0xff
stc
call dword [edx + 0x8214]
stc
cld
add esp, 0x3f8
clc
lea esp, [esp]
add eax, 0
xor eax, eax
add eax, 0
cld
stc
inc eax
cld
ret 0xc
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x8fa008], 0x8088405
inc edx
mov dword [ebx + 0x8fa008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x8de54a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8de551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x8df8af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x8fc348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x8fc348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x8fb178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8df8b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x419410
Capabilities:
Get disk information

Disassembly:
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push 0x4d0064
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, dword [0x4d3acc]
add ecx, eax
mov dword [0x4d3acc], ecx
mov eax, ecx
ret

Function at 0x44a4e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
bound eax, qword [0xb55515d]
stc
push ebp
or edi, ecx
outsd dx, dword [esi]
neg byte [ecx + 0x6c]
fucomp st(1)
jns 0x44a4e5
push edi
test byte [ebx - 0x1d75170f], al
ror dword [esi + 0x32b8ffbd], cl
inc edi
jb 0x44a556
dec esi
and al, 0xf
xor al, 6
push ecx
sub al, 0xd
sbb ch, byte [0xe24fdd0c]
int1
xchg esp, eax
fsub qword [ebx - 0x5ba61306]
fcmovb st(0), st(6)
sal dword [0x90cc240c], 1
nop
nop
nop
dec eax
or byte [ecx - 0x74efdbb4], cl
inc eax
adc byte [ecx + 0x33202454], cl
ror byte [ebx - 0x3e7edbf4], cl
cmp al, 0xb
add byte [eax], al

Function at 0x4c6ce5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d0388
cmp edx, dword [eax]
je 0x4c6d07
add eax, 8
inc ecx
cmp eax, 0x4d0418
jl 0x4c6cf8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d0388]
jne 0x4c6e35
mov eax, dword [0x4d5db0]
cmp eax, 1
je 0x4c6e0f
test eax, eax
jne 0x4c6d38
cmp dword [0x4d02b0], 1
je 0x4c6e0f
cmp edx, 0xfc
je 0x4c6e35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6d6f
lea eax, [ebp - 0x1a4]
push 0x4cbd48
push eax
call fcn.004c76d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7b60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c6db2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7b60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cbd44
push edi
call fcn.004c9a30
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cbd28
push eax
call fcn.004c76d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c76e0
lea eax, [ebp - 0xa0]
push 0x4cbd24
push eax
call fcn.004c76e0
push dword [esi + 0x4d038c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c76e0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cbcfc
push eax
call fcn.004c99a4
add esp, 0x2c
pop edi
jmp 0x4c6e35
lea eax, [ebp + 8]
lea esi, [esi + 0x4d038c]
push 0
push eax
push dword [esi]
call fcn.004c7b60
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