joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b220
Capabilities:
Get geographical location

Disassembly:
push ebx
mov eax, dword [0x4677dc]
push esi
test eax, eax
push edi
push ebp
jne 0x43b268
push 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 1
push 0
call esi
test eax, eax
je 0x43b248
mov eax, 1
jmp 0x43b26e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x43b261
mov eax, 2
jmp 0x43b26e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [0x4677dc], eax
cmp eax, 1
jne 0x43b293
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov ebx, dword [esp + 0x18]
push ecx
push edx
push ebx
call esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [0x4677dc], eax
cmp eax, 2
jne 0x43b321
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x43b2af
mov edi, dword [0x4669c8]
mov eax, dword [esp + 0x18]
push 0
mov ebx, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ebp, eax
test ebp, ebp
jne 0x43b2d0
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push ebp
call fcn.00431010
add esp, 4
mov esi, eax
test esi, esi
jne 0x43b2e6
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x43b316
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x43b326
push 0
push 0
push 0xffffffffffffffff
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jne 0x43b33e
push esi
call fcn.00430fa0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
je 0x43b316
push esi
call fcn.00430fa0
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43b350
Capabilities:
Get geographical location

Disassembly:
push ebx
mov eax, dword [0x4677e0]
push esi
test eax, eax
push edi
push ebp
jne 0x43b398
push 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 1
push 0
call esi
test eax, eax
je 0x43b378
mov eax, 2
jmp 0x43b39e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43b391
mov eax, 1
jmp 0x43b39e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [0x4677e0], eax
cmp eax, 2
jne 0x43b3c3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov ebx, dword [esp + 0x18]
push ecx
push edx
push ebx
call esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [0x4677e0], eax
cmp eax, 1
jne 0x43b45f
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x43b3df
mov edi, dword [0x4669c8]
mov eax, dword [esp + 0x18]
push 0
mov ebx, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebp, eax
test ebp, ebp
jne 0x43b400
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
lea eax, [ebp*2]
push eax
call fcn.00431010
add esp, 4
mov esi, eax
test esi, esi
jne 0x43b41d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43b454
mov eax, dword [esp + 0x20]
push 0
push 0
test eax, eax
jne 0x43b464
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x43b47f
push esi
call fcn.00430fa0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push eax
mov eax, dword [esp + 0x28]
push eax
push 0xffffffffffffffff
push esi
push 0x220
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x43b454
push esi
call fcn.00430fa0
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43f210
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00431260
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43f2db
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43f2db
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43f28e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x43f299
or bh, 8
and edi, 0x8000000
je 0x43f2b4
mov eax, dword [0x46b34c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x43f2db
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x43f6db
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x43f6ff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x43f71a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x442190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov eax, dword [esp + 0xc]
mov ebp, esp
sub esp, 4
test eax, eax
push esi
jne 0x4421a3
xor eax, eax
jmp 0x4421cb
push 0
lea edx, [ebp - 4]
push edx
push eax
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4421c8
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044311c
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4421d2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x44221a
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x442209
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044311c
cmp dword [ebp - 4], esi
je 0x44221a
push dword [edi + 0xc]
push 0xffffffffffffffff
push 0xd
call fcn.004431f7
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4425e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push edi
xor esi, esi
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push str.CLSID
mov dword [ebp - 4], esi
push 0x80000000
call edi
test eax, eax
jne 0x442688
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x44267f
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push str.InProcServer32
push dword [ebp - 8]
call edi
test eax, eax
jne 0x442676
mov edi, 0x104
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00441c61
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
lea edi, [ebp - 0x10]
push edi
push eax
push ecx
push esi
push 0x4641bc
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00441cb6
push dword [ebp - 0xc]
cmp esi, 1
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x442692
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4427ef
call fcn.0043146c
sub esp, 0x16c
push ebx
push esi
push edi
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push 0x800
push 0x160
lea eax, [ebp - 0x178]
push eax
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x18], ebx
push edi
mov dword [ebp - 4], ebx
mov byte [esi], bl
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4426f6
test byte [ebp - 0x16e], 1
je 0x4426f6
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
push 0x456890
push ebx
push 0x456880
call fcn.00442408
test eax, eax
jge 0x44271d
mov dword [ebp - 4], 0xffffffff
call fcn.004427f9
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x184]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push 0x456870
mov eax, dword [ecx]
push dword [ebp - 0x10]
call dword [eax]
test eax, eax
jl 0x4427df
mov eax, 0
test edi, edi
je 0x442763
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [eax + 1]
lea eax, [eax*2 + 5]
and al, 0xfc
call fcn.00431260
mov eax, esp
push ebx
push edi
push eax
call fcn.00441d93
push 0
mov ecx, dword [ebp - 0x14]
push eax
mov eax, dword [ecx]
push dword [ebp - 0x14]
call dword [eax + 0x14]
test eax, eax
jl 0x4427d4
mov eax, dword [ebp + 8]
test eax, eax
jne 0x442780
xor eax, eax
jmp 0x442783
mov eax, dword [eax + 0x1c]
push 2
mov ecx, dword [ebp - 0x10]
push eax
mov eax, dword [ecx]
push dword [ebp - 0x10]
call dword [eax + 0x4c]
test eax, eax
jl 0x4427d4
push 0
mov ecx, dword [ebp - 0x10]
push 0
mov eax, dword [ecx]
push dword [ebp + 0x14]
push esi
push dword [ebp - 0x10]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004427f9
mov eax, 1
jmp 0x442704
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
jmp 0x4426f6
Function at 0x442801
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4428e0
call fcn.0043146c
sub esp, 0x150
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
mov ebx, 0x104
push eax
mov edi, dword [ebp + 8]
push edi
mov esi, dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x44284e
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.00441779
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push edi
call fcn.004428f2
push ebx
lea eax, [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x1c]
push eax
push ecx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x44288d
mov dword [ebp - 4], 0xffffffff
call fcn.004428ea
jmp 0x442839
test byte [ebp - 0x14], 2
jne 0x44289a
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x14], 4
jne 0x4428ca
lea eax, [ebp - 0x15c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4428ca
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xffffffff
call fcn.004428ea
mov eax, 1
jmp 0x44283b

Function at 0x442d0e
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, ecx
push 0x118
push 0
mov esi, dword [ebp + 8]
push esi
call fcn.00431920
add esp, 0xc
lea ecx, [esi + 0x12]
push 0x104
push dword [edi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x442dc3
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x14]
push eax
push edx
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x442d60
xor eax, eax
jmp 0x442dc8
push 0
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
jne 0x442d77
xor eax, eax
jmp 0x442dc8
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
mov byte [esi + 0x10], 0
call fcn.004400b7
mov eax, dword [eax]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
lea edi, [esi + 8]
push ecx
mov dword [esi], eax
lea ecx, [ebp - 4]
call fcn.004400b7
mov ecx, dword [eax]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
mov dword [edi], ecx
push eax
lea ecx, [ebp - 4]
call fcn.004400b7
mov eax, dword [eax]
cmp dword [esi], 0
mov dword [esi + 4], eax
jne 0x442dbc
mov dword [esi], eax
cmp dword [edi], 0
jne 0x442dc3
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4463b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebp
mov edi, ecx
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4463f9
call fcn.004513dc
mov ebp, dword [eax + 0xc]
push 0xf0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4463f9
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4463f0
xor eax, eax
jmp 0x446401
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00446408
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x446aca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x10]
mov eax, edi
mov dword [esi + 0x40], edi
shr eax, 0x10
test ax, ax
jne 0x446aec
cmp dword [esi + 0x3c], 0
jne 0x446aec
movzx eax, di
mov dword [esi + 0x3c], eax
call fcn.004513dc
mov ebx, dword [eax + 0xc]
push 5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
mov ecx, esi
push dword [esp + 0x18]
push eax
call fcn.00446b19
pop edi
pop esi
pop ebx
ret 8
Function at 0x446ecf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x44705e
call fcn.0043146c
sub esp, 0x1c
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov ebx, dword [ecx + 0x44]
mov dword [ebp - 0x10], esp
call fcn.004513dc
mov esi, dword [eax + 0xc]
mov edi, dword [ebp - 0x14]
add edi, 0x40
cmp dword [edi], 0
je 0x446f1e
call fcn.004513dc
mov esi, dword [eax + 0xc]
push 5
push dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x446f2c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x446f48
mov eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
xor edi, edi
call fcn.00446e5a
mov dword [ebp - 0x18], eax
call fcn.00444219
push dword [ebp - 0x18]
call fcn.00443c74
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x18], edi
je 0x446f88
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x446f88
push edi
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
call fcn.004441ca
push esi
push dword [ebp - 0x18]
call fcn.00443c74
push eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
call fcn.00446b7d
test eax, eax
je 0x446ff4
mov eax, dword [ebp - 0x14]
test byte [eax + 0x24], 0x10
je 0x446fdb
mov dword [ebp - 0x24], 4
mov ecx, eax
call fcn.004473be
test ah, 1
je 0x446fd0
or byte [ebp - 0x24], 1
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
call fcn.004464e4
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp dword [ecx + 0x1c], eax
je 0x446ff4
push 0x97
push eax
push eax
push eax
push eax
push eax
call fcn.0044746f
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x44700c
push 1
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x18], 0
je 0x447029
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x1c]
jne 0x447029
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov ecx, dword [ebp - 0x14]
call fcn.00446e90
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x2c]
jmp 0x446f37
Function at 0x447243
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, dword [ecx + 0x48]
mov eax, dword [ecx + 0x44]
mov edi, ecx
cmp dword [ecx + 0x40], 0
je 0x447270
call fcn.004513dc
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44727d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, 1
test esi, esi
je 0x4472bd
cmp word [esi + 2], 0xffff
mov eax, dword [esi]
jne 0x44729d
mov cx, word [esi + 0x12]
mov eax, dword [esi + 0xc]
mov dx, word [esi + 0x14]
jmp 0x4472a5
mov cx, word [esi + 0xa]
mov dx, word [esi + 0xc]
test eax, 0x1801
jne 0x4472bb
test cx, cx
jne 0x4472bb
test dx, dx
mov eax, 1
je 0x4472bd
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x44833d
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp dword [eax + 4], 0x100
jne 0x448382
cmp dword [eax + 8], 0x70
jne 0x448382
mov eax, dword [eax + 0xc]
shr eax, 0x10
test ah, 0x40
jne 0x448382
push 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x448382
push 0x11
call esi
test ax, ax
jl 0x448382
push 0x12
call esi
test ax, ax
mov eax, 1
jge 0x448384
xor eax, eax
pop esi
ret 4

Function at 0x44aa7f
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
test al, 1
je 0x44aaa5
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa0]
test eax, eax
jne 0x44aabb
xor eax, eax
jmp 0x44aac0
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x20]
call dword [eax + 0xa0]
test eax, eax
mov eax, 0
je 0x44aac0
mov eax, 1
pop esi
ret
Function at 0x44af51
Capabilities:
Get common file path
Get disk size
Timestomp file

Disassembly:
mov eax, 0x44b108
call fcn.0043146c
sub esp, 0x248
mov dword [ebp - 0x14], ecx
add ecx, 0x10
push esi
mov dword [ebp - 0x18], ecx
call fcn.00441859
test byte [ebp + 0xd], 0x10
je 0x44b035
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 8]
call fcn.00442dd0
test eax, eax
je 0x44b035
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.00441779
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
call fcn.004428f2
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x24]
push edx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x44afd2
mov esi, dword [ebp - 0x34]
imul esi, dword [ebp - 0x2c]
imul esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x144]
add eax, eax
cmp eax, esi
jge 0x44b029
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x254]
push eax
push ecx
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ecx, dword [ebp - 0x1c]
push 0x105
mov byte [ecx], 0
mov ecx, dword [ebp - 0x18]
call fcn.00441c61
push eax
lea ecx, [ebp - 0x254]
push 0
push 0x45876c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
call fcn.00441cb6
mov dword [ebp - 4], 0xffffffff
call fcn.0044b112
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
je 0x44b11a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0044204e
test eax, eax
je 0x44b11a
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00441a27
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x20]
push ecx
mov eax, dword [ebp - 0x14]
push edx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x44b0b0
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x150]
push eax
push ecx
call fcn.00442e8a
add esp, 8
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x20]
push ecx
push edx
push eax
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
push eax
push eax
push 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
push dword [ebp - 0x10]
call fcn.00441ddb
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x10]
push esi
push 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
test eax, eax
je 0x44b0f8
push esi
mov eax, dword [ebp - 0x18]
push 4
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
push esi
call fcn.00441e1b
add esp, 4
mov eax, 1
jmp 0x44b133
mov ecx, dword [ebp - 0x18]
call fcn.00441859
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.0044204e
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc