joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452a28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x452a4e
mov eax, esp
push eax
push 0x4529f0
call sub.user32.dll_EnumWindows
jmp 0x452a61
mov eax, esp
push eax
push 0x4529d0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x452aec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x452b40]
test si, 4
je 0x452b01
or bl, 1
test si, 8
je 0x452b0b
or bl, 4
test si, 1
je 0x452b15
or bl, 8
test si, 2
je 0x452b1f
or bl, 0x10
test si, 0x10
je 0x452b29
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452b38
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452b44
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x452b80]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452b5e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452b6d
or bl, 4
test esi, 0x20000000
je 0x452b78
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45abec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45abfe
add esp, 0xfffffff0
call fcn.00404344
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421344
mov eax, dword [0x476ddc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45af90
mov eax, dword [0x476de8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45af9c
mov eax, ebx
call fcn.0045afa8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4183b0]
call fcn.00404008
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4183b0]
call fcn.00404008
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4183b0]
call fcn.00404008
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4183b0]
call fcn.00404008
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4183b0]
call fcn.00404008
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x456450
push eax
push 0
push 0
mov eax, dword [0x476f4c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42614c]
call fcn.0042766c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42614c]
call fcn.0042766c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42614c]
call fcn.0042766c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045b420
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b2f0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b2f0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b2f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ad3b
call fcn.0040439c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b0d4
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 0x45b27f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b260
mov dl, 1
mov eax, dword [0x418948]
call fcn.00404008
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404f10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b24f
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.0044c86c
test al, al
je 0x45b242
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, 0x45b290
lea eax, [ebp - 0x254]
call fcn.0040a4e0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b242
xor eax, eax
push ebp
push 0x45b23b
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 0x45b2c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b224
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405180
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 0x45b224
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b242
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b145
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041cfb4
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 0x45b286
lea eax, [ebp - 0x260]
call fcn.00404f10
ret

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

Disassembly:
push ecx
mov eax, dword [0x47cc98]
cmp byte [eax + 0xad], 0
jne 0x45bc69
cmp dword [0x47ccb4], 0
jne 0x45bc2a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45bbb4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47ccb4], eax
cmp dword [0x47ccb0], 0
jne 0x45bc45
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47ccb0], eax
cmp dword [0x47ccb8], 0
jne 0x45bc69
push esp
push 0
push 0
push 0x45bb58
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47ccb8], eax
pop edx
ret
Function at 0x45beb4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45becb
add esp, 0xfffffff0
call fcn.00404344
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421344
mov eax, dword [0x476f38]
cmp word [eax + 2], 0
jne 0x45bef3
mov eax, dword [0x476f38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045dba4
mov eax, dword [0x476fe8]
cmp word [eax + 2], 0
jne 0x45bf0d
mov eax, dword [0x476fe8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ddb0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4183b0]
call fcn.00404008
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4183b0]
call fcn.00404008
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4183b0]
call fcn.00404008
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 [0x426928]
call fcn.0042c8d4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45c0c4
mov eax, dword [0x476e48]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042cca8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e474
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x476e48]
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.0040decc
test eax, eax
je 0x45c014
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e70
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040df00
test eax, eax
je 0x45c028
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.00405180
mov byte [ebx + 0xd4], 0
push ebx
push 0x45d630
call fcn.004224c0
mov dword [ebx + 0xc8], eax
mov eax, dword [0x476d2c]
cmp byte [eax], 0
jne 0x45c079
mov eax, ebx
call fcn.0045c208
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.0045e688
mov eax, ebx
call fcn.0045f1ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c0b9
call fcn.0040439c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c488
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45c527
cmp dword [ebx + 0x94], 0
jne 0x45c521
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c410
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c521
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 0x45c4e7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c521
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.0041a9a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c4f6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x47cc98]
cmp dword [eax + 0x30], 0
je 0x45c89d
test bl, bl
jne 0x45c7ee
cmp dword [esi + 0x9c], 0
jne 0x45c7e3
mov eax, esi
call fcn.0045f068
push eax
push 0x45c66c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45c7b4
mov eax, dword [0x47cc98]
call fcn.0045f748
test al, al
je 0x45c7b4
mov eax, dword [0x47ccbc]
call fcn.00406328
mov edi, eax
cmp edi, 0
jl 0x45c7b4
push 0
mov eax, dword [0x47ccbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45c79e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45c7e3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a9a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45c7c3
inc dword [esi + 0x9c]
jmp 0x45c89d
cmp dword [esi + 0x9c], 0
jle 0x45c89d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45c89d
cmp dword [esi + 0x44], 0
je 0x45c849
mov eax, dword [0x47cc98]
call fcn.0045f748
test al, al
je 0x45c849
mov eax, dword [0x47ccbc]
call fcn.00406328
mov edi, eax
cmp edi, 0
jl 0x45c849
push 5
mov eax, dword [0x47ccbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45c833
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45c878
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a9a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45c858
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x47ccbc
mov ecx, 1
mov edx, dword [0x45c64c]
call fcn.004064dc
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45d384
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 0x45d3ee
mov eax, ebx
call fcn.0045f748
test al, al
jne 0x45d3ee
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.00405000
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45d3db
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45d3fb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404f64
jmp 0x45d3fb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404f64
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45e86c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e8da
mov eax, esi
call fcn.00447550
test al, al
je 0x45e8da
mov eax, dword [ebx + 0x84]
call fcn.00447254
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e8da
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45e8ce
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447254
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043f13c
jmp 0x45e8da
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045e6a8
pop esi
pop ebx
ret

Function at 0x4601f4
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
xor ecx, ecx
mov edx, 0x40
call fcn.004035dc
ret
Function at 0x4612fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x461305
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, edx
lea eax, [ebp - 4]
call fcn.00405ad8
mov eax, dword [ebp + 8]
call fcn.00406c34
xor eax, eax
push ebp
push 0x4614ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.004056c4
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00406cd0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00405198
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00405198
mov edx, dword [ebp - 0x10]
mov ecx, 0x46151c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
lea eax, [ebp - 0x18]
call fcn.004056c4
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00406cd0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00405198
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00405198
mov edx, dword [ebp - 0x1c]
mov ecx, 0x46152c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
lea eax, [ebp - 0x24]
call fcn.004056c4
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406cd0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00405198
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
call fcn.00405198
mov edx, dword [ebp - 0x28]
mov ecx, 0x461540
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
lea eax, [ebp - 0x30]
call fcn.004056c4
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00406cd0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00405198
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
call fcn.00405198
mov edx, dword [ebp - 0x34]
mov ecx, 0x461554
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
lea eax, [ebp - 0x3c]
call fcn.004056c4
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406cd0
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.00405198
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 4]
call fcn.00405198
mov edx, dword [ebp - 0x40]
mov ecx, 0x461568
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461509
lea eax, [ebp - 0x40]
call fcn.00404f10
lea eax, [ebp - 0x3c]
call fcn.004056c4
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00404f34
lea eax, [ebp - 0x30]
call fcn.004056c4
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404f34
lea eax, [ebp - 0x24]
call fcn.004056c4
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404f34
lea eax, [ebp - 0x18]
call fcn.004056c4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404f34
lea eax, [ebp - 0xc]
call fcn.004056c4
lea eax, [ebp - 8]
call fcn.00404f10
lea eax, [ebp - 4]
call fcn.004056c4
lea eax, [ebp + 8]
call fcn.00406bc0
ret
Function at 0x463284
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, ecx
cmp dl, 1
cmc
sbb edx, edx
push edx
push eax
lea eax, [esp + 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405814
add esp, 0x20c
pop ebx
ret

Function at 0x464c88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464cf9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.00464e0c
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x464ccd
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x464ce1
mov ebx, eax
shl ebx, 6
movzx esi, byte [edx]
xor ebx, esi
add eax, ebx
inc edx
dec ecx
jne 0x464cd1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464d00
lea eax, [ebp - 4]
call fcn.00404f10
ret

Function at 0x464d08
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov edi, eax
xor ebx, ebx
cmp dword [esp], 0
je 0x464e02
mov edx, dword [esp]
xor eax, eax
mov ecx, dword [esp]
test ecx, ecx
je 0x464d31
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x464d45
mov ebx, eax
shl ebx, 6
movzx esi, byte [edx]
xor ebx, esi
add eax, ebx
inc edx
dec ecx
jne 0x464d35
mov dword [esp + 8], eax
mov eax, dword [edi + 0x14]
call fcn.00406320
push eax
mov eax, dword [esp + 0xc]
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [edi + 0x10]
lea esi, [edx + eax*4]
mov edx, dword [edi + 0x14]
lea ebp, [edx + eax*4]
mov eax, dword [ebp]
call fcn.00406320
mov dword [esp + 4], eax
mov edi, dword [esp + 4]
dec edi
test edi, edi
jl 0x464da9
inc edi
xor ebx, ebx
mov eax, dword [ebp]
mov eax, dword [eax + ebx*4]
cmp eax, dword [esp + 8]
jne 0x464da5
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov edx, dword [esp]
call fcn.00405338
jne 0x464da5
mov eax, dword [esi]
mov ebx, dword [eax + ebx*4]
jmp 0x464e02
inc ebx
dec edi
jne 0x464d83
mov ebx, dword [esp + 4]
inc ebx
push ebx
mov eax, ebp
mov ecx, 1
mov edx, dword [0x4072d4]
call fcn.004064dc
add esp, 4
mov eax, dword [ebp]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [eax + edx*4], ecx
push ebx
mov eax, esi
mov ecx, 1
mov edx, dword [0x4648ac]
call fcn.004064dc
add esp, 4
mov eax, dword [esi]
mov edx, dword [esp + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp]
call fcn.00404f64
mov eax, dword [esi]
mov edx, dword [esp + 4]
mov ebx, dword [eax + edx*4]
mov eax, ebx
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47157c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x471626
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47ccec]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x471606
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
xor edx, edx
push ebp
push 0x4715f4
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [0x47ccec]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
call fcn.004053a0
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4715fe
inc dword [ebp - 4]
dec dword [ebp - 8]
jne 0x4715b2
mov eax, dword [0x47ccec]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47162d
lea eax, [ebp - 0xc]
call fcn.00404f10
ret
Function at 0x4717f4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x4719a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x47cd04], 0
jne 0x47197f
push 0x47cd10
call sub.kernel32.dll_InitializeCriticalSection
call sub.kernel32.dll_GetCurrentProcessId
mov dword [0x47ccfc], eax
call sub.kernel32.dll_GetCurrentThreadId_1
mov dword [0x47cd00], eax
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
call fcn.00409d18
lea ecx, [ebp - 0x14]
mov edx, 0x4719b8
mov eax, dword [ebp - 4]
call fcn.00409c50
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00471634
mov edx, dword [ebp - 0x10]
mov eax, 0x47ccf0
call fcn.00404f64
lea ecx, [ebp - 0x1c]
mov edx, 0x4719c8
mov eax, dword [ebp - 4]
call fcn.00409c50
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00471634
mov edx, dword [ebp - 0x18]
mov eax, 0x47ccf4
call fcn.00404f64
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
mov eax, dword [0x47ccf0]
call fcn.004053a0
push eax
call sub.kernel32.dll_CreateFileA
mov dword [0x47cd08], eax
cmp dword [0x47cd08], 0xffffffff
je 0x471900
lea eax, [ebp - 8]
push eax
mov eax, dword [0x47cd08]
push eax
call sub.kernel32.dll_GetFileSize
cmp eax, 0x400000
jbe 0x4718ef
mov eax, dword [0x47cd08]
push eax
call sub.kernel32.dll_SetEndOfFile
push 2
push 0
push 0
mov eax, dword [0x47cd08]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
mov eax, dword [0x47ccf4]
call fcn.004053a0
push eax
call sub.kernel32.dll_CreateFileA
mov dword [0x47cd0c], eax
cmp dword [0x47cd0c], 0xffffffff
je 0x471962
lea eax, [ebp - 8]
push eax
mov eax, dword [0x47cd0c]
push eax
call sub.kernel32.dll_GetFileSize
cmp eax, 0x400000
jbe 0x471951
mov eax, dword [0x47cd0c]
push eax
call sub.kernel32.dll_SetEndOfFile
push 2
push 0
push 0
mov eax, dword [0x47cd0c]
push eax
call sub.kernel32.dll_SetFilePointer
cmp dword [0x47cd08], 0xffffffff
je 0x471974
cmp dword [0x47cd0c], 0xffffffff
jne 0x471978
xor eax, eax
jmp 0x47197a
mov al, 1
mov byte [0x47cd04], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4719a9
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404f34
lea eax, [ebp - 4]
call fcn.00404f10
ret

Function at 0x473acc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x473b64
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409ce4
lea eax, [ebp - 4]
mov edx, 0x473b78
call fcn.004051dc
mov eax, dword [ebp - 4]
call fcn.00409a64
test al, al
je 0x473b3b
push 0
push 0x473b8c
push 0x473b90
mov eax, dword [ebp - 4]
call fcn.004053a0
push eax
push 0x473b9c
mov eax, ebx
call fcn.00447254
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x473b42
mov eax, ebx
call fcn.00473760
mov eax, ebx
call fcn.00459a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473b6b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404f34
ret