joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467930
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 0x467adb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x467abc
mov dl, 1
mov eax, dword [0x418e70]
call fcn.00403c80
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x467aab
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.004581fc
test al, al
je 0x467a9e
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x467aec
lea eax, [ebp - 0x254]
call fcn.0040ac70
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x467a9e
xor eax, eax
push ebp
push 0x467a97
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 0x467b24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x467a80
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ea0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x467a80
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a9e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4679a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041e0a0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467ae2
lea eax, [ebp - 0x260]
call fcn.00404c30
ret

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

Disassembly:
push ecx
mov eax, dword [0x4eccd8]
cmp byte [eax + 0xad], 0
jne 0x4684c5
cmp dword [0x4eccf4], 0
jne 0x468486
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x468410
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4eccf4], eax
cmp dword [0x4eccf0], 0
jne 0x4684a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4eccf0], eax
cmp dword [0x4eccf8], 0
jne 0x4684c5
push esp
push 0
push 0
push 0x4683b4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4eccf8], eax
pop edx
ret
Function at 0x4686d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4686ef
add esp, 0xfffffff0
call fcn.00404014
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424c0c
mov eax, dword [0x4e6f6c]
cmp word [eax + 2], 0
jne 0x468717
mov eax, dword [0x4e6f6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046a438
mov eax, dword [0x4e7064]
cmp word [eax + 2], 0
jne 0x468731
mov eax, dword [0x4e7064]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046a644
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418690]
call fcn.00403c80
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418690]
call fcn.00403c80
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x418690]
call fcn.00403c80
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42a058]
call fcn.00432268
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4688e8
mov eax, dword [0x4e6e50]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043263c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46ad18
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e6e50]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040ec28
test eax, eax
je 0x468838
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a614
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ec5c
test eax, eax
je 0x46884c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404ea0
mov byte [ebx + 0xd4], 0
push ebx
push 0x469eac
call fcn.00425d88
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4e6cec]
cmp byte [eax], 0
jne 0x46889d
mov eax, ebx
call fcn.00468a2c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046af2c
mov eax, ebx
call fcn.0046bab4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4688dd
call fcn.0040406c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468cac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x468d4b
cmp dword [ebx + 0x94], 0
jne 0x468d45
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x468c34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x468d45
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 0x468d0b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x468d45
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b144
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x468d1a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x468f64
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4eccd8]
cmp dword [eax + 0x30], 0
je 0x4690c1
test bl, bl
jne 0x469012
cmp dword [esi + 0x9c], 0
jne 0x469007
mov eax, esi
call fcn.0046b930
push eax
push 0x468e90
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x468fd8
mov eax, dword [0x4eccd8]
call fcn.0046c010
test al, al
je 0x468fd8
mov eax, dword [0x4eccfc]
call fcn.0040618c
mov edi, eax
cmp edi, 0
jl 0x468fd8
push 0
mov eax, dword [0x4eccfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x468fc2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x469007
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b144
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x468fe7
inc dword [esi + 0x9c]
jmp 0x4690c1
cmp dword [esi + 0x9c], 0
jle 0x4690c1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4690c1
cmp dword [esi + 0x44], 0
je 0x46906d
mov eax, dword [0x4eccd8]
call fcn.0046c010
test al, al
je 0x46906d
mov eax, dword [0x4eccfc]
call fcn.0040618c
mov edi, eax
cmp edi, 0
jl 0x46906d
push 5
mov eax, dword [0x4eccfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x469057
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46909c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041b144
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46907c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4eccfc
mov ecx, 1
mov edx, dword [0x468e70]
call fcn.00406340
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x469ba8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x469c12
mov eax, ebx
call fcn.0046c010
test al, al
jne 0x469c12
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404d20
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x469bff
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x469c1f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c84
jmp 0x469c1f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c84
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46b110
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46b17e
mov eax, esi
call fcn.00452e9c
test al, al
je 0x46b17e
mov eax, dword [ebx + 0x84]
call fcn.00452afc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b17e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46b172
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452afc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044a96c
jmp 0x46b17e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046af4c
pop esi
pop ebx
ret

Function at 0x487be0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x487c3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e6d7c]
cmp byte [eax], 0
je 0x487c0a
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x487c24
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404e58
mov eax, dword [ebp - 4]
call fcn.004050dc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487c41
lea eax, [ebp - 4]
call fcn.00404c30
ret
Function at 0x48809c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4881c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e6d7c]
cmp byte [eax], 0
je 0x4880f7
call fcn.00487fac
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
push edi
push esi
call dword [0x4e5b90]
mov esi, eax
jmp 0x4881a0
mov eax, dword [ebp + 8]
push eax
push 0x160
lea eax, [ebp - 0x160]
push eax
push edi
lea eax, [ebp - 0x164]
mov edx, esi
call fcn.00404e58
mov eax, dword [ebp - 0x164]
call fcn.004050dc
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
mov eax, ebx
mov edx, 0x2b4
call fcn.00407f18
mov eax, dword [ebp - 0x160]
mov dword [ebx], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x158]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x154]
mov ecx, 0x104
call fcn.004055d0
mov edx, dword [ebp - 0x168]
lea eax, [ebx + 0xc]
mov ecx, 0x104
call fcn.00437c5c
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.004055d0
mov edx, dword [ebp - 0x16c]
lea eax, [ebx + 0x214]
mov ecx, 0x50
call fcn.00437c5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4881d0
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.00405444
lea eax, [ebp - 0x164]
call fcn.00404c30
ret

Function at 0x488d7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x488df0
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP_1
test eax, eax
jns 0x488db5
call fcn.00403b78
push eax
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404ea0
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00409e38
mov ebx, eax
test ebx, ebx
jns 0x488dda
call fcn.00403b78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488df7
lea eax, [ebp - 0xc]
call fcn.00404c30
ret

Function at 0x488e94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x488ef0
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x488ebf
call fcn.0040f42c
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00403080
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x488ef0
call fcn.0040f42c
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x4894a8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408150]
call fcn.004059f8
xor eax, eax
push ebp
push 0x489649
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e5bac], 0
jne 0x489503
mov ecx, dword [0x4e6d00]
mov dl, 1
mov eax, dword [0x4085c4]
call fcn.0040dd8c
call fcn.00404564
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403578
mov eax, ebx
call fcn.00405614
mov dword [ebp - 0x24], eax
mov esi, 0x489658
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406a24
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405624
test eax, eax
jle 0x4895ec
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4895d8
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ea0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x48957e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404ed4
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x489594
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404ed4
mov eax, dword [ebp - 0x54]
call fcn.004050dc
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ea0
mov eax, dword [ebp - 0x58]
call fcn.004050dc
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4895da
xor eax, eax
test al, al
je 0x4895e5
mov ebx, 0x15
jmp 0x4895f1
mov ebx, 0x10
jmp 0x4895f1
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4e5bac]
call fcn.00489328
mov eax, dword [ebp - 4]
call fcn.00489328
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489650
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404c54
lea eax, [ebp - 0xc]
mov edx, dword [0x408150]
call fcn.00405ac8
ret
Function at 0x490770
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49079e
mov eax, ebx
call fcn.00491224
cmp dword [ebx + 0x40], 0
je 0x490797
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49080f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x490801
cmp dword [ebx + 8], 0
je 0x4907c0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4907d2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x490801
cmp dword [ebx + 8], 0
je 0x4907b3
cmp eax, 3
je 0x4907e5
dec eax
jne 0x4907b3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4907b3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4907b3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49082d
cmp dword [ebx + 0x14], 0xcc
je 0x49082d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00490838
pop ebx
ret

Function at 0x4a102c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a98
lea eax, [ebp - 8]
call fcn.004059d8
xor eax, eax
push ebp
push 0x4a1184
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4a1072
lea eax, [ebp - 4]
mov edx, dword [0x4e715c]
mov edx, dword [edx]
call fcn.00406a3c
mov eax, dword [ebp - 8]
call fcn.00405624
test eax, eax
jne 0x4a1090
lea eax, [ebp - 0xc]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x4a115e
mov eax, dword [ebp - 8]
call fcn.00405624
cmp eax, 2
jne 0x4a10bd
mov eax, dword [ebp - 8]
cmp word [eax + 2], 0x3a
jne 0x4a10bd
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.0048a678
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00405490
mov eax, dword [ebp - 8]
call fcn.004a2914
test al, al
je 0x4a10d5
mov eax, dword [0x4e703c]
mov eax, dword [eax]
mov ebx, dword [eax + 0x30]
jmp 0x4a10d7
xor ebx, ebx
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x20], eax
call fcn.004a1710
mov byte [ebp - 0x21], al
xor eax, eax
push ebp
push 0x4a113b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405614
push eax
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1142
movzx eax, byte [ebp - 0x21]
call fcn.004a1740
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a118b
lea eax, [ebp - 0x28]
call fcn.0040542c
lea eax, [ebp - 8]
call fcn.0040542c
lea eax, [ebp - 4]
call fcn.00406a24
ret
Function at 0x4a24e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], eax
mov byte [ebp - 0xa], 0
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x18], 0x4e65d0
lea eax, [ebp - 9]
mov edx, 0x4a25dc
mov cl, 5
call fcn.00403770
je 0x4a252c
movzx eax, byte [ebp - 0x11]
cmp al, 0x27
ja 0x4a2526
and eax, 0x7f
bt dword [ebp - 9], eax
jae 0x4a25be
xor edx, edx
push ebp
push 0x4a25b4
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x4a25aa
xor edx, edx
push ebp
push 0x4a25a3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x4ed510]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
jne 0x4a258c
movzx eax, byte [ebp - 0x11]
mov byte [ebp - 0xa], al
call fcn.00404610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a25cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a25aa
mov eax, dword [ebp - 0x10]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a25be
inc byte [ebp - 0x11]
add dword [ebp - 0x18], 4
cmp byte [ebp - 0x11], 0x26
jne 0x4a2506
movzx eax, byte [ebp - 0xa]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a2698
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a27ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a2780
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e6d7c]
cmp byte [eax], 0
jne 0x4a2731
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.0048a89c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00404ed4
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 4]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x34]
call fcn.0040ea20
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004050dc
push eax
mov eax, dword [0x4e6edc]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
jmp 0x4a2769
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.0048a89c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0048a678
mov eax, dword [ebp - 0x38]
call fcn.00405614
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2787
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret