joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58cc0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x58cd2
add esp, 0xfffffff0
call fcn.000132c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00023fa4
mov eax, ebx
call fcn.0005900c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x1e044]
call fcn.00012f98
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x1e044]
call fcn.00012f98
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x1e044]
call fcn.00012f98
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x1e044]
call fcn.00012f98
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x1e044]
call fcn.00012f98
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x557b0
push eax
push 0
push 0
mov eax, dword [0x8afac]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x2546c]
call fcn.000269a4
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x2546c]
call fcn.000269a4
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x2546c]
call fcn.000269a4
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0005947c
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59350
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59350
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59350
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x58de1
call fcn.00013320
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x59134
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 0x592df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x592c0
mov dl, 1
mov eax, dword [0x1e344]
call fcn.00012f98
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00013c50
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x592af
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.000474a4
test al, al
je 0x592a2
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, 0x592f0
lea eax, [ebp - 0x254]
call fcn.00019204
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x592a2
xor eax, eax
push ebp
push 0x5929b
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 0x59328
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x59284
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00013e80
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 0x59284
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00013e80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592a2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x591a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00021038
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592e6
lea eax, [ebp - 0x260]
call fcn.00013c50
ret

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

Disassembly:
push ecx
mov eax, dword [0x8c7d4]
cmp byte [eax + 0x95], 0
jne 0x59be5
cmp dword [0x8c7f0], 0
jne 0x59ba6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x59b30
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x8c7f0], eax
cmp dword [0x8c7ec], 0
jne 0x59bc1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x8c7ec], eax
cmp dword [0x8c7f4], 0
jne 0x59be5
push esp
push 0
push 0
push 0x59ad4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x8c7f4], eax
pop edx
ret
Function at 0x59cdc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x59cf3
add esp, 0xfffffff0
call fcn.000132c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00023fa4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x1e044]
call fcn.00012f98
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x1e044]
call fcn.00012f98
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x25dfc]
call fcn.0002d954
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x59e68
mov eax, dword [0x8aebc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0002dd24
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b8f4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x8aebc]
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.0001ba78
test eax, eax
je 0x59de6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00018b80
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0001baa0
test eax, eax
je 0x59dfa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00013e80
mov eax, dword [0x8ad70]
cmp byte [eax], 0
jne 0x59e2b
mov eax, ebx
call fcn.00059f54
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x59e5d
call fcn.00013320
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5a1c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x8c7d4]
cmp dword [eax + 0x24], 0
je 0x5a267
cmp dword [ebx + 0x84], 0
jne 0x5a261
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5a154
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x5a261
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 0x5a22a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5a261
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0001f708
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5a239
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x5ac74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x5aca9
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.00013d38
jmp 0x5acb3
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00013ca4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x5bc68
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x5bca0
mov eax, esi
call fcn.000431d4
test al, al
je 0x5bca0
mov eax, dword [ebx + 0x74]
call fcn.00042ed8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5bca0
push 0
mov eax, dword [ebx + 0x74]
call fcn.00042ed8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x63d9c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x63f05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00013ce8
mov eax, dword [ebp - 0x10]
call fcn.00063b04
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x63dee
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00014118
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0006434c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x63ec3
xor eax, eax
push ebp
push 0x63ebc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00063c74
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00063f34
test al, al
je 0x63e9a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00013d38
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x63e9a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00014094
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x63e94
mov eax, dword [ebp - 0x14]
call fcn.00014094
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00013e08
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00063d9c
dec ebx
cmp ebx, 0xffffffff
jne 0x63e4d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63ec3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00063c74
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00014094
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00063c60
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63f0c
lea eax, [ebp - 0x3c]
call fcn.00013c50
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00013c74
ret
Function at 0x63f34
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00012cb0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x8b198]
cmp byte [edx + 8], 0
je 0x63f98
mov edx, dword [0x8b194]
cmp dword [edx], 2
jne 0x63f98
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x63f9c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x64054
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00063f34
test al, al
je 0x64036
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00013d38
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x64036
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00014094
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00014094
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00013e08
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x63fef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6405b
lea eax, [ebp - 0x2c]
call fcn.00013c50
lea eax, [ebp - 0xc]
call fcn.00013c50
ret

Function at 0x64260
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00063b18
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00014094
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x642be
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x8afb4]
mov dl, 1
mov eax, dword [0x63a10]
call fcn.0001ad38
call fcn.00013720
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x642c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
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.00014094
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x64320
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x8b1a4]
mov dl, 1
mov eax, dword [0x63a10]
call fcn.0001ad38
call fcn.00013720
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00063b48
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6680c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x66a6b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x6686e
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0006635c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0001b584
cmp al, 1
jne 0x6686e
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00066624
test al, al
je 0x669fa
cmp dword [ebp - 8], 0
jge 0x6688c
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0006635c
mov eax, dword [ebp - 0x210]
call fcn.00013ed0
cmp ebx, eax
jge 0x668d6
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0006635c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x8b17c]
and eax, 0xff
bt dword [edx], eax
jae 0x668d6
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x668ea
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.000667e8
cmp ebx, dword [ebp - 8]
je 0x669ec
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x66916
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.000131a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x8ac50]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x669d9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.000131a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x8ac50]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00042ed8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.000131a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x8ac50]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00042ed8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x669e0
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x66a4d
cmp dword [ebp - 8], 0
jge 0x66a05
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0006635c
mov eax, dword [ebp - 0x218]
call fcn.00013ed0
cmp eax, dword [ebp - 8]
jg 0x66a3f
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0006635c
mov eax, dword [ebp - 0x21c]
call fcn.00013ed0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.000667e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66a72
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00013c74
ret
Function at 0x6ac68
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6add9
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 0x6adb4
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.00013df8
lea eax, [ebp - 0x118]
mov edx, 0x6adf0
call fcn.00013ed8
mov eax, dword [ebp - 0x118]
call fcn.00014094
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x6ad26
lea eax, [ebp - 0x111]
call fcn.00018b18
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00013d38
jmp 0x6ad2d
mov eax, esi
call fcn.00013c50
cmp bl, 0x61
jae 0x6ad4e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0001b94c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00013ca4
jmp 0x6ad68
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0001b8c0
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00013ca4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x6adfc
call fcn.0001926c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00013ca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6adbb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00014094
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x6e0e1
test al, 0x10
jne 0x6e0e5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x72a30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
xor edx, edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x72c2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
je 0x72a71
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 0
jne 0x72a71
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x72aa0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 1
jne 0x72a8e
lea eax, [ebp - 0x28]
push eax
push 0x12
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00068370
jmp 0x72aa0
lea eax, [ebp - 0x28]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00068370
xor eax, eax
push ebp
push 0x72c09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x3c
mov edx, 0x104
call fcn.00014204
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00014094
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x72ae5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00014094
mov dword [ebp - 0x20], eax
jmp 0x72aea
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 1
jne 0x72afc
mov dword [ebp - 0x1c], 0x1000
jmp 0x72b03
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], 0x72530
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x8b020]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00072c3c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x72bec
xor eax, eax
push ebp
push 0x72be5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 0
jne 0x72ba3
lea eax, [ebp - 0x131]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
call fcn.0001bfa8
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x131]
call fcn.00018d24
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00072d98
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00013ca4
jmp 0x72bb4
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
call fcn.00013ca4
mov eax, dword [ebp - 4]
add eax, 0x40
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
call fcn.00013ca4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x48], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72bec
mov eax, dword [ebp - 0xc]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72c10
cmp dword [ebp - 0x28], 0
je 0x72c08
mov eax, dword [ebp - 0x28]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
Function at 0x72e14
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014084
xor eax, eax
push ebp
push 0x72e6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00014094
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x72e50
test byte [ebp - 0xc], 0x10
jne 0x72e54
xor eax, eax
jmp 0x72e56
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72e76
lea eax, [ebp - 4]
call fcn.00013c50
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00014094
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret