joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac2f0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x5160f2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x55306c]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x4ac334
call fcn.004ac4d0
cmp byte [0x55791c], 0
jne 0x4ac347
mov eax, 0x80000001
jmp 0x4ac4a6
mov eax, dword [esi]
test eax, eax
jne 0x4ac3b2
push 8
call fcn.004c22d8
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
push 1
call fcn.004c22d8
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.004da2d0
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4ac3a1
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4ac495
call fcn.00445b30
test al, al
jne 0x4ac3f4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.00445cb0
test al, al
je 0x4ac495
mov ecx, dword [esi]
add ecx, 4
call fcn.00445570
call fcn.00445b30
test al, al
je 0x4ac495
push str.Advapi32.dll
lea ecx, [ebp - 0x24]
call fcn.004067e0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x24]
push eax
call fcn.0041dff0
mov ecx, eax
call fcn.0041e0b0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x4ac457
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ac44d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac4ca
push edx
push ecx
call fcn.004c2683
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
test edi, edi
je 0x4ac495
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ac495
push dword [esi]
push dword [ebp + 0x128]
call eax
test eax, eax
je 0x4ac495
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4ac4a4
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.004c1e08
lea esp, [ebp + 0x120]
pop ebp
ret 4
call fcn.004e546f
int3
Function at 0x4aeba0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51657f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.00406a30
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.00406a30
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00406a30
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00406a30
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00406a30
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00406a30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4aec30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51657f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.00406a30
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.00406a30
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00406a30
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00406a30
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00406a30
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00406a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4b2040
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516a4f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00406840
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00406840
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00406840
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00406840
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00406840
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00406840
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4b4850
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x4b48d2
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x4b48d2
test ecx, ecx
je 0x4b48ce
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x4b4890
xor eax, eax
jmp 0x4b48d7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4b48e1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1e08
add esp, 0xc
ret 0xc
Function at 0x4bc410
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4bc475
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4bc450
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4bc475
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004c1e08
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004c1e08
add esp, 8
ret 4
Function at 0x4be5d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
mov esi, dword [esp + 0x130]
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4be601
xor ebx, ebx
jmp 0x4be63a
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x4be617
xor ebx, ebx
jmp 0x4be63a
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
xor ebx, ebx
test eax, eax
je 0x4be63a
cmp dword [esp + 0xc], ebx
setne bl
push 0x118
shl ebx, 5
lea eax, [esp + 0x18]
push 0
push eax
lea edi, [ebx + 0x20]
call fcn.004da2d0
add esp, 0xc
mov dword [esp + 0x10], 0x11c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.default.0x4be6ce
mov eax, dword [esp + 0x14]
cmp eax, 4
jbe case.default.0x4be6ce
cmp eax, 5
jne 0x4be6c0
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x4be6b9
sub eax, 1
je 0x4be6aa
sub eax, 1
jne 0x4be6b9
cmp edi, 0x40
mov eax, str.win2003
mov ecx, str.winXP
cmove eax, ecx
push eax
jmp 0x4be731
test ebx, ebx
jne case.default.0x4be6ce
push str.winXP
jmp 0x4be731
push str.win2000
jmp 0x4be731
cmp eax, 6
jne 0x4be716
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x4be6ce
jmp dword [eax*4 + 0x4be750]
mov eax, str.winVISTA
cmp byte [esp + 0x12a], 1
mov ecx, str.win2008
cmovne eax, ecx
push eax
jmp 0x4be731
mov eax, str.win7
jmp 0x4be6da
cmp byte [esp + 0x12a], 1
jne case.default.0x4be6ce
push str.win8
jmp 0x4be731
cmp byte [esp + 0x12a], 1
jne case.default.0x4be6ce
push str.win8.1
jmp 0x4be731
cmp eax, 0xa
jne case.default.0x4be6ce
cmp dword [esp + 0x18], 0
jne case.default.0x4be6ce
cmp byte [esp + 0x12a], 1
jne case.default.0x4be6ce
push str.win10
mov ecx, esi
call fcn.00406740
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1e08
add esp, 0x124
ret

Function at 0x4be7c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004da2d0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4be827
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x4be810
jne 0x4be827
cmp dword [esp + 8], 0
jbe 0x4be827
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004c1e08
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.004c1e08
add esp, 0x118
ret
Function at 0x4be840
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004da2d0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4be895
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004c1e08
add esp, 0x118
ret
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.004c1e08
add esp, 0x118
ret

Function at 0x4be8c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004da2d0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4be927
mov eax, dword [esp + 4]
cmp eax, 6
jbe 0x4be91e
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004c1e08
add esp, 0x118
ret
jb 0x4be927
cmp dword [esp + 8], 1
jae 0x4be907
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.004c1e08
add esp, 0x118
ret

Function at 0x4be990
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518098
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp - 0xd], al
test al, al
jne 0x4be9df
xor bl, bl
jmp 0x4beab5
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0x4be9ed
mov esi, dword [esi]
lea ecx, [ebp - 0x14]
lea edi, [edi*2 + 2]
call fcn.0040de40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push edi
push 0x2002
call fcn.004bf510
test al, al
jne 0x4bea24
mov byte [ebp - 4], al
lea ecx, [ebp - 0x14]
call fcn.004bf4c0
xor bl, bl
jmp 0x4beab2
lea ecx, [ebp - 0x14]
call fcn.0041dcd0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004bf550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00438f30
test eax, eax
jne 0x4bea61
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004bf570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004bf4c0
xor bl, bl
jmp 0x4beab2
push edi
push esi
push eax
call fcn.004d97d0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004bf570
lea ecx, [ebp - 0x14]
call fcn.0041dcd0
push eax
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4bea9c
mov byte [ebp - 4], al
lea ecx, [ebp - 0x14]
call fcn.004bf4c0
xor bl, bl
jmp 0x4beab2
lea ecx, [ebp - 0x14]
call fcn.004bf540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004bf4c0
mov bl, 1
mov al, byte [ebp - 0xd]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4beacc
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
sete byte [ebp - 0xd]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c4cd7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4f5afa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f57ba
Function at 0x4fcbe0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 0x414], eax
push edi
mov edi, dword [esp + 0x424]
lea eax, [esp + 8]
push 0x410
push 0
push eax
call fcn.004da2d0
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x424]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4fcc52
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4fcc6a
mov eax, dword [esp + 4]
test eax, eax
je 0x4fcc52
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
pop edi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004c1e08
add esp, 0x418
ret
lea edx, [esp + 8]
push esi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4fcc72
sub edx, esi
lea eax, [esp + 0xc]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00406aa0
mov eax, dword [esp + 8]
pop esi
test eax, eax
je 0x4fcc9e
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x418]
mov al, 1
pop edi
xor ecx, esp
call fcn.004c1e08
add esp, 0x418
ret

Function at 0x4fd110
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x55306c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x553970], 0
jne 0x4fd192
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004da2d0
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fd173
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, 0x553960
call fcn.00406aa0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004c1e08
add esp, 0x214
ret
Function at 0x4fd240
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x519268
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x55306c]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x55780c]
test eax, eax
jle 0x4fd291
inc eax
mov dword [0x55780c], eax
mov al, 1
jmp 0x4fd383
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
xor bh, bh
mov dword [ebp - 0x14], 0
call fcn.00444d30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00445bf0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00444db0
test bl, bl
je 0x4fd373
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4fd373
push str.ImpersonateLoggedOnUser
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x4fd36c
inc dword [0x55780c]
mov eax, dword [edi]
test eax, eax
je 0x4fd316
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov bh, 1
mov dword [edi], eax
cmp dword [0x553988], 0
mov dword [ebp - 0x10], 0
jne 0x4fd36c
push 0x20a
lea eax, [ebp]
push 0
push eax
call fcn.004da2d0
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x553978
mov word [ebp + 0x206], ax
lea eax, [ebp]
push eax
call fcn.00406740
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4fd381
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004c1e08
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x7d743fdb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..pdata_1
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x7c20776d
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10087dd3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10087de2
pop dword [ebp - 0x28]
mov eax, 0xaccdfb1e
sub eax, 0x9cc57d3c
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x41870
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x3ec0
xor edi, edi
add edi, eax
mov esi, 0x893b6ba8
sub esi, 0x79294da8
add esi, dword [ebp - 0x28]
mov ebx, 0xfcca498f
add dword [ebp - 0x18], edx
mov edx, dword [esi]
sub dword [ebp - 0xc], edi
sub edx, ebx
xor dword [ebp - 0x10], 0x2982749c
mov dword [edi], edx
add edi, 0xb3a23148
sub edi, 0xb3a23144
add esi, 0x8ceaea9
add esi, 0xf731515b
loop 0x10087e32
add eax, 0xca39ef79
add eax, 0x35c6fe5a
xor ebx, ebx
add ebx, eax
add eax, 0xeefe9e79
sub eax, 0xeefe9e74
mov ecx, 0xa319cf3f
add ecx, 0x6ce630c1
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x4f59b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9f000]
push edi
jmp 0x4f59ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f59d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f59c0
mov eax, 1
add ebx, ebx
jne 0x4f59e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f59f4
jne 0x4f5a13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5a13
dec eax
add ebx, ebx
jne 0x4f5a00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f59d8
add ebx, ebx
jne 0x4f5a0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f5a65
xor ecx, ecx
sub eax, 3
jb 0x4f5a2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f5a9a
sar eax, 1
mov ebp, eax
jmp 0x4f5a36
add ebx, ebx
jne 0x4f5a36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5a04
inc ecx
add ebx, ebx
jne 0x4f5a44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5a04
add ebx, ebx
jne 0x4f5a51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f5a46
jne 0x4f5a62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f5a46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f5a84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f5a76
jmp 0x4f59c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f5a84
add edi, ecx
jmp 0x4f59c6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f5aa2
cmp byte [edi], 0x11
jne 0x4f5aa2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f5aa7
lea edi, [esi + 0xee000]
mov eax, dword [edi]
or eax, eax
je 0x4f5b1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1123e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11255c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f5ad4
mov ecx, edi
jns 0x4f5b03
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x112560]
or eax, eax
je 0x4f5b19
mov dword [ebx], eax
add ebx, 4
jmp 0x4f5af1
call dword [esi + 0x112570]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f5b50
cmp al, 0xef
ja 0x4f5b43
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f5b25
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f5b32
mov ebp, dword [esi + 0x112564]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f5b84
sub esp, 0xffffff80
jmp 0x427f4a