joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446c80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x446cb5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403e00
jmp 0x446cbf
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403db4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x447bc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x447bfc
mov eax, esi
call fcn.00431408
test al, al
je 0x447bfc
mov eax, dword [ebx + 0x6c]
call fcn.00430fe0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x447bfc
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00430fe0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44aac0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040414c
xor eax, eax
push ebp
push 0x44ab25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 4]
call fcn.0044ab30
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1e]
call fcn.00409378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ab2c
lea eax, [ebp - 4]
call fcn.00403d1c
ret
Function at 0x44b1e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0040414c
xor eax, eax
push ebp
push 0x44b33f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 4], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0044a7fc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1e]
mov edx, dword [ebp - 4]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 4]
mov word [edx + 0x22], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x22]
mov edx, dword [ebp - 4]
mov word [edx + 0x24], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x24]
mov edx, dword [ebp - 4]
mov word [edx + 0x26], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2a]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00409004
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0044b8dc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00408ee0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0044b964
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b346
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403d40
ret
Function at 0x44b34c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0040414c
xor eax, eax
push ebp
push 0x44b4a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov word [eax + 4], 0
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa]
call fcn.0044a7fc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x12]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1a]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 4]
mov word [eax + 0x22], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x26], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
cmp dword [ebp - 0xc], 0
je 0x44b462
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00409004
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0044b8dc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00408ee0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0044b964
jmp 0x44b476
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0044b8dc
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0044b964
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b4ae
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403d40
ret
Function at 0x4522a4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x15c]
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0045255c
mov edx, dword [ebp - 4]
mov dword [edx + 0x15c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0x160], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x160], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x160], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x160]
shr edx, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x164]
mov eax, dword [ebp - 4]
call fcn.0045255c
mov edx, dword [ebp - 4]
mov dword [edx + 0x164], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x452360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4523a7
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.00452328
mov edx, dword [ebp - 8]
xor byte [edx], al
mov eax, dword [ebp - 8]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.004522a4
inc dword [ebp - 8]
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x452382
mov esp, ebp
pop ebp
ret

Function at 0x452448
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040414c
xor eax, eax
push ebp
push 0x4524d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004523ac
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00452328
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x1d]
mov byte [ebp - 0x11], al
mov dl, byte [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.004522a4
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 0x11]
mov byte [ebp + eax - 0x1d], dl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x452484
mov al, byte [ebp - 0x12]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4524d7
lea eax, [ebp - 8]
call fcn.00403d1c
ret
Function at 0x452e88
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0xffffffff
jle 0x452fdf
mov eax, dword [ebp - 4]
call fcn.004546d4
cmp eax, dword [ebp - 8]
jle 0x452fdf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
mov edx, dword [ebp - 8]
call fcn.00448c8c
mov edx, dword [0x44ab88]
call fcn.00403288
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0044b818
test al, al
je 0x452fd5
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3c], 0
jne 0x452fc5
xor eax, eax
push ebp
push 0x452fbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00453448
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x43]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov ecx, 0x2e
mov ebx, dword [eax]
call dword [ebx + 4]
movzx edx, word [ebp - 0x27]
movzx eax, word [ebp - 0x25]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov cx, 1
mov ebx, dword [eax]
call dword [ebx + 0xc]
movzx eax, word [ebp - 0x23]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004042c8
mov eax, dword [ebp - 0xc]
call fcn.00404168
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov al, byte [eax + 0x24]
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004531c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453005
mov eax, dword [ebp - 4]
call fcn.004534f4
ret
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
call fcn.00409378
jmp 0x453005
mov eax, dword [ebp - 0xc]
call fcn.00403d1c
jmp 0x453005
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea eax, [ebp - 0x4c]
push eax
push 0
mov ecx, 0x453014
mov dl, 1
mov eax, dword [0x40ec9c]
call fcn.0040bc2c
call fcn.00403790
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455528
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x45556d
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x45554a
mov esp, ebp
pop ebp
ret 4

Function at 0x45603c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 0x40
call fcn.00407604
pop ecx
pop ebp
ret

Function at 0x4574b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45754f
push dword fs:[eax]
mov dword fs:[eax], esp
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.0040415c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x457529
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x483f98]
call fcn.00405af8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x457048]
call fcn.0040bc2c
call fcn.00403790
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00457190
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457556
lea eax, [ebp - 0x10]
call fcn.00403d1c
ret

Function at 0x457814
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004042c8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040415c
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
jne 0x45784c
call fcn.0040cf14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004042c8
pop ecx
pop ecx
pop ebp
ret
Function at 0x45785c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x457894
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x457898
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457925
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x483f7c]
cmp dword [eax], 2
je 0x4578f7
lea eax, [ebp - 8]
mov edx, 0x105
call fcn.004042c8
push 0x104
mov eax, dword [ebp - 8]
call fcn.0040415c
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004042c8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403db4
mov eax, dword [0x483f7c]
cmp dword [eax], 2
jne 0x45790f
mov eax, dword [ebp - 4]
mov edx, dword [0x4848a0]
call fcn.00403db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45792c
lea eax, [ebp - 8]
call fcn.00403d1c
ret
Function at 0x4581a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
mov al, byte [ebp - 5]
dec eax
test eax, eax
jl 0x458236
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
shl eax, 2
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
lea eax, [eax*4 + 0x4826fc]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 1]
lea edx, [edx*4 + 0x482afc]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 2]
lea edx, [edx*4 + 0x482efc]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 3]
lea edx, [edx*4 + 0x4832fc]
xor eax, dword [edx]
mov edx, dword [ebp - 0xc]
shl edx, 2
mov ecx, dword [ebp - 4]
lea edx, [ecx + edx]
mov dword [edx], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4581c5
mov esp, ebp
pop ebp
ret

Function at 0x45f5dc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f6b4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x484ab4], 0
jne 0x45f698
lea eax, [ebp - 4]
mov edx, 0x45f6cc
call fcn.00403db4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040415c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45f698
mov eax, ebx
call fcn.0040272c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45f691
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45f67b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45f6dc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45f67b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x484ab4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f698
mov eax, dword [ebp - 0xc]
call fcn.00402744
ret
mov ebx, dword [0x484ab4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f6bb
lea eax, [ebp - 4]
call fcn.00403d1c
ret
Function at 0x469724
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00469768
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xc3d2e1f0
pop ecx
pop ebp
ret

Function at 0x46ce74
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46cfce
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46cfae
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403ec0
lea eax, [ebp - 0x118]
mov edx, 0x46cfe4
call fcn.00403fa0
mov eax, dword [ebp - 0x118]
call fcn.0040415c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x46cf20
lea eax, [ebp - 0x111]
call fcn.00409164
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403e00
jmp 0x46cf27
mov eax, esi
call fcn.00403d1c
cmp bl, 0x61
jae 0x46cf48
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040c820
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403db4
jmp 0x46cf62
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040c794
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403db4
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x46cff0
call fcn.004098c0
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cfb5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x46f644
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040415c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46f65d
test al, 0x10
jne 0x46f661
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x46fe44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
lea edi, [ebp - 0x24]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040414c
mov eax, dword [ebp - 8]
call fcn.0040414c
xor eax, eax
push ebp
push 0x46ff17
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x14]
mov edx, 0x46ff30
call fcn.00403db4
xor dword [ebp - 0x10], 0x1e
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x65
jne 0x46fe93
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x24]
call fcn.0045626c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x3c]
mov ecx, 2
mov eax, 0x46ff44
call fcn.004098c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ff1e
lea eax, [ebp - 0x40]
call fcn.00403d1c
lea eax, [ebp - 0x14]
call fcn.00403d1c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403d40
ret
Function at 0x472334
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47239e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x80
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 8]
lea edx, [ebp - 0x8c]
mov ecx, 0x80
call fcn.00403f48
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4723a5
lea eax, [ebp - 8]
call fcn.00403d1c
ret

Function at 0x4723ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472440
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.0040938c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x483de8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x47240c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00403ed0
lea eax, [ebp - 0x14]
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004093d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472447
lea eax, [ebp - 0x14]
call fcn.00405b50
ret

Function at 0x47244c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0x28], 0x20
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x20]
shr eax, 0xa
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x473088
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x109]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x109]
call fcn.00409378
mov esp, ebp
pop ebp
ret