joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a3b2
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x48a3c2
mov esi, eax
jmp 0x48a3b8
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x48a3da
sub edi, 0x10000
jmp 0x48a3cb
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x48a3e8
jmp 0x48a3cb
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x48a3ee
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x48a40d
cmp eax, dword [esp + 0x28]
je 0x48a424
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x48a404
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4069e6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x4069f4
push 0xd
pop eax
jmp 0x406a27
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4069fb
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x406ee9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.00406eab
mov ebx, eax
cmp ebx, edi
je 0x406f4f
cmp dword [ebp - 0x214], edi
je 0x406f48
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x406fe7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x406f77
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00406ee9
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x406ff8
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x406f57
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x406fc2
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.00407065
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x406fe5
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00457904
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x40700c
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x406fe7

Function at 0x407065
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x498864], 0
jne 0x407095
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40708e
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x498868], eax
mov byte [0x498864], 1
mov eax, dword [0x498868]
test eax, eax
je 0x4070ad
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x4070b9
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x40845d
Capabilities:
Hide graphical window

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 8], 1
push edi
mov edi, ecx
jne 0x40849f
push str.tray_click__
lea ecx, [edi + 0x3c]
call fcn.00408f80
mov ebx, eax
pop ecx
test ebx, ebx
jge 0x40849f
push esi
push 1
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [edi + 0x94]
cmp byte [esi], 0
je 0x40849a
call fcn.00410772
and dword [edi + 8], 0
pop esi
pop edi
mov eax, ebx
pop ebx
ret 4
Function at 0x408f0f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00458090
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x408f68
cmp dword [ebp - 0x7c], 5
jae 0x408f64
cmp dword [ebp - 0x7c], 4
jne 0x408f68
cmp dword [ebp - 0x78], 0x5a
jb 0x408f68
xor eax, eax
jmp 0x408f6b
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00457904
add ebp, 0x98
leave
ret
Function at 0x40f7fe
Capabilities:
Get file version info

Disassembly:
push 8
mov eax, 0x46b20a
call fcn.0045bd32
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
je 0x40f81c
mov eax, 0x800700b7
jmp 0x40f8a2
cmp dword [ebp + 8], ebx
jne 0x40f828
mov eax, 0x80070057
jmp 0x40f8a2
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x40f844
mov eax, 0x80040007
jmp 0x40f8a2
push edi
mov dword [ebp - 4], ebx
call fcn.00452979
pop ecx
push edi
push ebx
push eax
mov dword [esi], eax
call fcn.00458090
add esp, 0xc
push dword [esi]
push edi
push dword [ebp - 0x14]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x40f893
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi]
mov edi, eax
call fcn.004578f9
cmp edi, ebx
pop ecx
mov dword [esi], ebx
jle 0x40f88f
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
jmp 0x40f8a2
xor eax, eax
jmp 0x40f8a2
call fcn.0045bdd7
ret
Function at 0x410b12
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x46c3d9
call fcn.0045bcff
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push str.dummy
push eax
push ecx
call fcn.004107af
mov edi, eax
add esp, 0xc
test edi, edi
jl 0x410b88
push 0x497be8
lea ecx, [ebp - 0x10]
call fcn.00401e55
and dword [ebp - 4], 0
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0x10]
call fcn.004107f8
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x410b7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x410b7c
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004025c2
mov eax, edi
call fcn.0045bdd7
ret

Function at 0x410f43
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
mov dword [ebp - 0x80], 0x114
call fcn.00458090
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x410f91
cmp dword [ebp - 0x7c], 6
jb 0x410f91
xor eax, eax
inc eax
jmp 0x410f93
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00457904
add ebp, 0x98
leave
ret

Function at 0x411c2a
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.0045ba30
push 0xffffffffffffffff
push 0x46d84a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x497be8
mov ecx, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
call fcn.00401e55
xor edi, edi
lea eax, [ebp - 0x10]
push 0x75cd
mov dword [ebp - 4], ebx
inc edi
push eax
mov dword [ebp - 0x14], edi
call fcn.00450270
xor eax, eax
mov dword [ebp - 4], edi
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00458090
add esp, 0x14
push 0x800
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004020e7
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025c2
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x411d0b
lea eax, [ebp - 0x10]
push 0x75ce
push eax
call fcn.00450270
pop ecx
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040c635
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025c2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00457904
add ebp, 0x1004
leave
ret
Function at 0x4124b2
Capabilities:
Query environment variable

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x46c2d6
call fcn.0045bcff
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
push 0x497be8
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.00401e55
and dword [ebp - 4], 0
xor eax, eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x14], 1
call fcn.00458090
lea eax, [ebp - 0x10]
push 0x75d7
push eax
call fcn.00450270
mov eax, dword [eax]
add esp, 0x14
push 0x400
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025c2
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004020e7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00457904
add ebp, 0x804
leave
ret

Function at 0x412605
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.0045ba30
push 0xffffffffffffffff
push 0x46c254
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push 0x497be8
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00401e55
and dword [ebp - 4], 0
xor eax, eax
push 0xffe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x10], 1
call fcn.00458090
add esp, 0xc
push 0x800
lea eax, [ebp]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004020e7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00457904
add ebp, 0x1004
leave
ret

Function at 0x4126b9
Capabilities:
Query environment variable

Disassembly:
push 0x50
mov eax, 0x46c216
call fcn.0045bd68
and dword [ebp - 4], 0
and dword [ebp - 0x58], 0
push 0x497be8
mov ecx, esi
mov dword [ebp - 0x5c], esi
call fcn.00401e55
and dword [ebp - 4], 0
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push eax
mov dword [ebp - 0x58], 1
call fcn.00458090
lea eax, [ebp - 0x54]
push 0x75d8
push eax
call fcn.00450270
mov eax, dword [eax]
add esp, 0x14
push 0x20
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.004025c2
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.004020e7
mov eax, esi
call fcn.0045bdeb
ret
Function at 0x412737
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x18
mov eax, 0x46cebd
call fcn.0045bcff
mov eax, dword [ebp + 0x40c]
xor ebx, ebx
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ebx
call fcn.004126b9
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
jne 0x41278b
push 0x47e930
mov ecx, esi
call fcn.004020e7
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi - 0xc]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x412894
cmp eax, ecx
jg 0x412894
movzx eax, word [edi + eax*2]
cmp ax, 0x5c
je 0x4127bb
push 0x47e750
lea ecx, [ebp - 0x10]
call fcn.00404354
mov edi, dword [ebp - 0x10]
xor eax, eax
mov esi, 0x1fc
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
call fcn.00458090
xor eax, eax
push esi
mov word [ebp + 0x200], ax
lea eax, [ebp + 0x202]
push ebx
push eax
call fcn.00458090
add esp, 0x18
mov eax, 0xff
push eax
lea ecx, [ebp + 0x200]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0x497be8
cmp eax, ebx
je 0x41288a
lea ecx, [ebp - 0x18]
call fcn.00401e55
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0x47e938
push eax
call fcn.00404c68
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.00401f12
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025c2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025c2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00457904
add ebp, 0x404
leave
ret
mov ecx, dword [ebp - 0x14]
call fcn.00401e55
jmp 0x412859
push 0x80070057
call fcn.0040271c
int3
Function at 0x414166
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 4
mov eax, 0x46c165
call fcn.0045bcff
xor esi, esi
cmp dword [ebp + 8], esi
je 0x41421e
push dword [ebp + 8]
call fcn.00457913
pop ecx
test eax, eax
je 0x41421e
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
push 0x47d484
push 1
push esi
push 0x47d554
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jge 0x4141c6
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x4141c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x414223
push dword [ebp + 8]
mov edi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.0040f6ce
mov byte [ebp - 4], 1
mov eax, dword [eax]
cmp eax, esi
je 0x4141e2
mov eax, dword [eax]
jmp 0x4141e4
xor eax, eax
mov ecx, dword [edi]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push edi
call dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov edi, eax
cmp ecx, esi
je 0x414203
call fcn.0040b1e8
mov dword [ebp + 8], esi
cmp edi, esi
jl 0x4141b1
mov eax, dword [ebx]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
jmp 0x4141b1
mov eax, 0x80070057
call fcn.0045bdd7
ret
Function at 0x414ef0
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x12004]
mov eax, 0x12004
call fcn.0045ba30
push 0xffffffffffffffff
push 0x46c12d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp + 0x12000], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 8]
xor ecx, ecx
cmp eax, ecx
je 0x41509d
mov esi, dword [edi]
cmp dword [esi], ecx
je 0x41509d
cmp eax, 1
je 0x415062
add eax, 0xfffffffe
cmp eax, 1
ja 0x41509d
xor eax, eax
mov ebx, 0x1ffe
push ebx
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00458090
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp]
push ecx
xor ebx, ebx
push ebx
push ebx
push eax
push dword [esi]
call fcn.0044ba50
add esp, 0x24
cmp eax, ebx
jne 0x41509d
lea eax, [edi + 0x10]
push eax
call fcn.00408d49
cmp dword [edi + 8], 3
jne 0x41504f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401b67
push 0x25
lea esi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00403ce2
cmp eax, 0xffffffff
je 0x414fc9
cmp eax, 2
jge 0x414fcb
xor eax, eax
cmp eax, ebx
je 0x415040
lea ecx, [ebp - 0x14]
push ecx
inc eax
xor edx, edx
lea ecx, [ebp - 0x10]
call fcn.00403fdf
xor eax, eax
mov byte [ebp - 4], 1
push 0xfffc
mov word [ebp + 0x2000], ax
lea eax, [ebp + 0x2002]
push ebx
push eax
call fcn.00458090
mov ebx, dword [ebp - 0x14]
add esp, 0xc
push 0x7fff
lea eax, [ebp + 0x2000]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x415036
lea eax, [ebp + 0x2000]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00401bf2
push dword [ebp - 0x10]
lea esi, [edi + 0x10]
call fcn.00408d11
lea ecx, [ebx - 0x10]
call fcn.004025c2
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025c2
lea esi, [edi + 0x10]
cmp word [esi], bx
jne 0x41509d
lea eax, [ebp]
push eax
call fcn.00408d11
jmp 0x41509d
mov eax, dword [edi + 4]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
push ecx
push ecx
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 4
push dword [esi]
call fcn.0044ba50
add esp, 0x18
test eax, eax
jne 0x41509d
lea esi, [edi + 0x10]
push esi
call fcn.00408d49
push 3
pop eax
mov word [esi], ax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
lea eax, [edi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x12000]
xor ecx, ebp
call fcn.00457904
add ebp, 0x12004
leave
ret
Function at 0x42f5dd
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x42f5f1
mov eax, 0x80040007
jmp 0x42f673
mov eax, dword [esi]
call dword [eax + 8]
test al, al
jne 0x42f5fe
xor eax, eax
jmp 0x42f673
mov eax, dword [esi + 0x48]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x42f612
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x48], ebx
push ebx
push 4
push esi
push dword [esi + 0x54]
push ebx
push ebx
call fcn.004696cd
add esp, 0x18
mov dword [esi + 0x48], eax
cmp eax, 0xffffffff
je 0x42f66d
cmp eax, ebx
je 0x42f66d
mov byte [esi + 0x50], bl
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 0xc]
dec eax
je 0x42f653
dec eax
je 0x42f64c
mov eax, 0x4000
jmp 0x42f656
mov eax, 0x8000
jmp 0x42f656
push 0x20
pop eax
push eax
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x42f672
mov eax, 0x8007000e
pop ebx
pop esi
ret 4

Function at 0x42f8b3
Capabilities:
Get disk information

Disassembly:
push 0xf4
mov eax, 0x46dd2f
call fcn.0045bd9e
mov dword [ebp - 0xf8], ecx
call fcn.00403e01
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0xd0
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0xee]
push ebx
push eax
call fcn.00458090
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x68
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x42f9bc
lea esi, [ebp - 0xf0]
xor edi, edi
cmp edi, 0x69
jge 0x42f9bc
cmp esi, ebx
je 0x42f9bc
push esi
lea ecx, [ebp - 0xf4]
call fcn.00401b67
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x42f9b4
push 2
pop eax
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
call fcn.00403dca
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.00401f8c
mov ecx, dword [ebp - 0xfc]
add ecx, 0xfffffff0
call fcn.004025c2
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.00403e4a
mov dword [ebp - 4], 1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xf4]
add ecx, 0xfffffff0
add esi, 8
call fcn.004025c2
add edi, 4
jmp 0x42f90f
add ecx, 0xfffffff0
call fcn.004025c2
mov eax, dword [ebp - 0xf8]
call fcn.0045bdfa
ret

Function at 0x4381d6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov byte [eax + ecx], al
inc eax
cmp eax, 0x100
jl 0x4381dc
push ebx
push esi
push edi
xor esi, esi
mov byte [ecx + 0x100], 0
mov byte [ecx + 0x101], 0
xor edi, edi
mov eax, esi
cdq
idiv dword [esp + 0x18]
movzx ebx, byte [esi + ecx]
mov eax, dword [esp + 0x14]
movzx eax, byte [edx + eax]
add eax, ebx
add eax, edi
and eax, 0xff
mov edi, eax
mov al, byte [edi + ecx]
mov byte [esi + ecx], al
inc esi
cmp esi, 0x100
mov byte [edi + ecx], bl
jl 0x4381fc
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x438232
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0
movzx edx, byte [eax + 0x100]
push ebx
movzx ebx, byte [eax + 0x101]
jle 0x43829a
push esi
push edi
mov esi, 0xff
inc edx
and edx, esi
movzx ecx, byte [edx + eax]
lea edi, [ecx + ebx]
and edi, esi
mov dword [ebp - 4], edi
add edi, eax
mov bl, byte [edi]
mov byte [edx + eax], bl
mov ebx, dword [ebp + 8]
mov byte [edi], cl
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
add edi, ebx
movzx ebx, byte [edx + eax]
add ebx, ecx
and ebx, esi
mov cl, byte [ebx + eax]
xor byte [edi], cl
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 4]
jl 0x43825a
pop edi
pop esi
mov byte [eax + 0x101], bl
mov byte [eax + 0x100], dl
pop ebx
leave
ret

Function at 0x438630
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x491fb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
xor edx, edx
xor ecx, ecx
movsx edi, byte [ecx + 0x490360]
dec edi
cmp edi, edx
je 0x438660
inc ecx
cmp ecx, 0x20
jl 0x43864c
jmp 0x438664
mov byte [ebp + edx - 0x24], cl
inc edx
cmp edx, 0x20
jl 0x43864a
xor edi, edi
lea ecx, [ebp - 0x24]
shl eax, 0xb
mov dword [ebp - 0x28], ecx
lea eax, [eax + esi + 0x180]
xor edx, edx
mov dword [ebp - 0x30], eax
mov eax, edx
sar eax, 1
mov ecx, edx
and ecx, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, edx
xor esi, esi
and ecx, 0x20
or eax, ecx
movsx eax, byte [edi + eax + 0x490160]
mov dword [ebp - 0x2c], esi
push 8
pop ebx
mov ecx, esi
sar ebx, cl
test eax, ebx
je 0x4386c5
mov ecx, dword [ebp - 0x28]
movsx ebx, byte [ecx + esi]
push 0x1f
pop ecx
sub ecx, ebx
xor ebx, ebx
inc ebx
shl ebx, cl
or dword [ebp - 0x2c], ebx
inc esi
cmp esi, 4
jl 0x4386a6
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
inc edx
add eax, 4
cmp edx, 0x40
mov dword [ebp - 0x30], eax
jl 0x438681
add dword [ebp - 0x28], 4
add edi, 0x40
cmp edi, 0x200
jl 0x43867c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00457904
leave
ret