joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444fa4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x445149
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40ee48]
call fcn.004030fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403d50
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44511f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00435308
test al, al
je 0x445112
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x445158
lea eax, [ebp - 0x254]
call fcn.004094ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x445112
xor eax, eax
push ebp
push 0x44510b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x445190
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4450f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f7c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4450f4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445112
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x445015
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00411f40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445150
lea eax, [ebp - 0x260]
call fcn.00403d50
ret

Function at 0x4458ec
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47e7b4]
cmp byte [eax + 0x8d], 0
jne 0x44595d
cmp dword [0x47e7f0], 0
jne 0x44591e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4458a8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47e7f0], eax
cmp dword [0x47e7ec], 0
jne 0x445939
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47e7ec], eax
cmp dword [0x47e7f4], 0
jne 0x44595d
push esp
push 0
push 0
push 0x44584c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47e7f4], eax
pop edx
ret
Function at 0x445a54
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x445a6b
add esp, 0xfffffff0
call fcn.00403418
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041521c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40eb48]
call fcn.004030fc
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40eb48]
call fcn.004030fc
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x416fa8]
call fcn.0041e6f4
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x445bdc
mov eax, dword [0x47ccd8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041ea98
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x447518
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47ccd8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c5e0
test eax, eax
je 0x445b5b
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e60
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c608
test eax, eax
je 0x445b6f
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403f7c
mov eax, dword [0x47cb78]
cmp byte [eax], 0
jne 0x445ba0
mov eax, ebx
call fcn.00445cc8
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x445bd2
call fcn.00403470
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445f24
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47e7b4]
cmp dword [eax + 0x24], 0
je 0x445fb4
cmp dword [ebx + 0x7c], 0
jne 0x445fb1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x445eb8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x445fb1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x445f80
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x445fb1
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.004101c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x445f8c
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x446904
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 0x446939
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.00403e34
jmp 0x446943
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403de8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x447848
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x447880
mov eax, esi
call fcn.0043108c
test al, al
je 0x447880
mov eax, dword [ebx + 0x6c]
call fcn.00430c64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x447880
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00430c64
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44a028
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404180
xor eax, eax
push ebp
push 0x44a08c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.0044a098
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040900c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a093
lea eax, [ebp - 4]
call fcn.00403d50
ret
Function at 0x44a5cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404180
xor eax, eax
push ebp
push 0x44a6be
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00449dd8
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408c34
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044ab3c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408b10
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044abb0
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a6c5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403d74
ret
Function at 0x44a6cc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404180
xor eax, eax
push ebp
push 0x44a7ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00449dd8
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x44a794
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408c34
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044ab3c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408b10
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0044abb0
jmp 0x44a7a6
xor edx, edx
mov eax, ebx
call fcn.0044ab3c
xor edx, edx
mov eax, ebx
call fcn.0044abb0
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a7d5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403d74
ret

Function at 0x450688
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x15c]
mov edx, ebx
mov eax, edi
call fcn.004508ac
mov esi, eax
mov dword [edi + 0x15c], esi
and esi, 0xff
add dword [edi + 0x160], esi
imul esi, dword [edi + 0x160], 0x8088405
inc esi
mov dword [edi + 0x160], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x164]
mov eax, edi
call fcn.004508ac
mov dword [edi + 0x164], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4506fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x450721
inc esi
mov eax, edi
call fcn.004506e0
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.00450688
inc ebx
dec esi
jne 0x45070b
pop edi
pop esi
pop ebx
ret
Function at 0x4507b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404180
xor eax, eax
push ebp
push 0x450825
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00450728
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004506e0
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.00450688
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4507f0
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45082c
lea eax, [ebp - 4]
call fcn.00403d50
ret

Function at 0x450fc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
cmp ebx, 0xffffffff
jle 0x451108
mov eax, dword [ebp - 4]
call fcn.004525b4
cmp ebx, eax
jge 0x451108
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
mov edx, ebx
call fcn.004487d8
mov edx, dword [0x44a0dc]
call fcn.004032bc
mov esi, eax
mov eax, esi
call fcn.0044aad0
test al, al
je 0x4510fe
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x4510f2
xor eax, eax
push ebp
push 0x4510eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004514c4
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x37]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 4]
movzx edx, word [ebp - 0x1b]
movzx eax, word [ebp - 0x19]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0xc]
movzx esi, word [ebp - 0x17]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.004042fc
mov eax, dword [ebp - 8]
call fcn.0040419c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004512a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45112b
mov eax, dword [ebp - 4]
call fcn.00451548
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040900c
jmp 0x45112b
mov eax, dword [ebp - 8]
call fcn.00403d50
jmp 0x45112b
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
push eax
push 0
mov ecx, 0x45113c
mov dl, 1
mov eax, dword [0x40e920]
call fcn.0040b8c0
call fcn.004037c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4531b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
dec ecx
test ecx, ecx
jl 0x4531dd
inc ecx
xor esi, esi
mov bl, byte [eax + esi]
xor bl, byte [edx + esi]
mov edi, dword [ebp - 4]
mov byte [edi + esi], bl
inc esi
dec ecx
jne 0x4531cd
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x453ae0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407234
ret

Function at 0x454eb0
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 0x454f4b
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.00404190
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x454f25
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 [0x47d010]
call fcn.00405740
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x454a44]
call fcn.0040b8c0
call fcn.004037c4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00454b8c
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454f52
lea eax, [ebp - 0x10]
call fcn.00403d50
ret

Function at 0x4553f8
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x455424
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x455410
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x455424
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x455428
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4554a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47cff4]
cmp dword [eax], 2
je 0x45547b
lea eax, [ebp - 4]
mov edx, 0x105
call fcn.004042fc
push 0x104
mov eax, dword [ebp - 4]
call fcn.00404190
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 4]
xchg edx, eax
call fcn.004042fc
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00403de8
mov eax, dword [0x47cff4]
cmp dword [eax], 2
jne 0x455492
mov eax, ebx
mov edx, dword [0x47e8a0]
call fcn.00403de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4554af
lea eax, [ebp - 4]
call fcn.00403d50
ret
Function at 0x455c54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x455ca8
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x47b6a4]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x47baa4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x47bea4]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x47c2a4]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x455c63
pop edi
pop esi
pop ebx
ret

Function at 0x45b08c
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 0x45b164
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47ea70], 0
jne 0x45b148
lea eax, [ebp - 4]
mov edx, 0x45b17c
call fcn.00403de8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404190
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45b148
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45b141
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 0x45b12b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45b18c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45b12b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x47ea70], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b148
mov eax, dword [ebp - 0xc]
call fcn.00402734
ret
mov ebx, dword [0x47ea70]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b16b
lea eax, [ebp - 4]
call fcn.00403d50
ret
Function at 0x46646c
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 0x4665c6
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 0x4665a6
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.00403ef4
lea eax, [ebp - 0x118]
mov edx, 0x4665dc
call fcn.00403fd4
mov eax, dword [ebp - 0x118]
call fcn.00404190
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x466518
lea eax, [ebp - 0x111]
call fcn.00408df8
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403e34
jmp 0x46651f
mov eax, esi
call fcn.00403d50
cmp bl, 0x61
jae 0x466540
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040c4b4
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403de8
jmp 0x46655a
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040c428
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403de8
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, 0x4665e8
call fcn.00409554
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4665ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404190
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x468c55
test al, 0x10
jne 0x468c59
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret