joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443413
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 8], 0x4e
push edi
mov edi, ecx
jne 0x44345b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebp + 0x10]
mov ecx, edi
push esi
push dword [ebp + 8]
call fcn.0042f4b4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004662d8
leave
ret 0xc
cmp dword [ebp + 8], 8
jne 0x44351c
push ebx
push str.SysMonthCal32
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4434d2
push 0x20
pop edi
push edi
lea eax, [ebp - 0x24]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edi
push eax
push ebx
push 0x100e
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x18], 0x1010003
je 0x4434ca
cmp dword [ebp - 0x18], 0x2010003
jne 0x443515
xor eax, eax
inc eax
jmp 0x44344a
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jl 0x443500
cmp eax, dword [ebp - 0xc]
jg 0x443500
cmp eax, dword [ebp - 0x10]
jl 0x443500
cmp eax, dword [ebp - 8]
jle 0x443515
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 8
call fcn.004436ab
mov ebx, eax
mov eax, ebx
jmp 0x44344a
mov eax, 0x101
cmp dword [ebp + 8], eax
jne 0x44343c
cmp esi, 0x2e
je 0x44355c
cmp esi, 8
je 0x44355c
cmp esi, 0x1b
jne 0x44343c
push dword [ebp + 0x10]
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [edi + 0x10]
mov esi, eax
mov dword [ecx + 0x394], 3
jmp 0x443581
push dword [ebp + 0x10]
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [edi + 0x10]
mov esi, eax
mov dword [ecx + 0x394], 2
mov ecx, dword [edi + 0x10]
call fcn.00443730
push ebx
push ebx
push 0x10
mov ecx, edi
call fcn.0042f5d9
mov eax, esi
jmp 0x44344a
Function at 0x443593
Capabilities:
Hide graphical window

Disassembly:
push 0x5c
mov eax, 0x46d00d
call fcn.00466e42
mov edi, ecx
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x394], ebx
cmp dword [edi + 4], ebx
jne 0x443616
lea eax, [ebp - 0x68]
push eax
call fcn.004431d2
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0x68]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0042e701
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0042f3d1
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00457d66
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00430658
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0042ece7
lea ecx, [ebp - 0x54]
mov bl, al
call fcn.0042e585
mov esi, 0x384
test bl, bl
je 0x44364b
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00466e00
ret 4
Function at 0x445cca
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x1c]
push edi
and dword [ebx + 0x2dc], 0
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x2d8], ecx
mov dword [ebx + 0x2e0], eax
test ecx, ecx
jne 0x445d35
call fcn.00445a7f
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
je 0x445d35
call fcn.00445a7f
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.00445a7f
mov edx, ebx
lea ecx, [ebx + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
mov ecx, dword [ebx + 0x2d8]
test ecx, ecx
je 0x445d5d
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
mov ecx, edi
call fcn.0042e701
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.0042e427
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocStringLen
push 0
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.0042f3d1
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jmp 0x445da2
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x445d9d
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004662d8
leave
ret 0x1c

Function at 0x44715a
Capabilities:
Hide graphical window

Disassembly:
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 0x2e0]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4471c6
cmp byte [edi + 0x2f8], 0
je 0x4471b8
cmp dword [edi + 0x40], 0
je 0x4471c6
push esi
push dword [edi + 0x2e0]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [edi + 0x40]
mov esi, eax
call fcn.0042e701
cmp esi, eax
pop esi
jne 0x4471c6
push 0
push dword [edi + 0x2e0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x2e0]
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x4471c6
push 0
push dword [edi + 0x2e0]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x2e0], 0
mov eax, ebx
pop edi
pop ebx
ret
Function at 0x451b8b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x318], edi
je 0x451bf4
cmp dword [ebp + 8], 0x100
jne 0x451be3
cmp byte [ebp + 0xc], 0xd
jne 0x451be3
cmp byte [esi + 0x31e], 0
je 0x451bca
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x451be3
cmp byte [esi + 0x31f], 0
jne 0x451be3
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x451bdf
push edi
push edi
push edi
push str.return
push esi
call fcn.004326d7
xor eax, eax
jmp 0x451bf7
mov eax, dword [esi + 0x318]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x451f77
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45201a
mov al, byte [esi]
test al, al
je 0x45201a
push edi
mov edi, esi
mov ecx, esi
cmp al, 0x2f
je 0x451fad
cmp al, 0x5c
jne 0x451faf
mov edi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x451fa5
cmp edi, esi
je 0x451fed
sub edi, esi
lea eax, [ebp - 0x108]
push edi
push esi
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy]
add esp, 0xc
cmp edi, 0x104
jae 0x452028
lea eax, [ebp - 0x108]
mov byte [ebp + edi - 0x108], 0
push eax
push ebx
call fcn.00451f77
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004662d8
leave
ret
call fcn.00466a89
int3

Function at 0x4524e5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x452561
cmp dword [edi + 4], 0xffffffff
jne 0x452561
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4787e0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x452533
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x452533
mov eax, 0x2000000
jmp 0x452566
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00454a40
add esp, 0x10
test eax, eax
jne 0x452551
mov eax, dword [ebp - 4]
jmp 0x452566
push eax
call fcn.00455161
mov dword [edi], eax
mov eax, dword [0x488a04]
pop ecx
jmp 0x452566
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x454b4d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x454b80
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x454b7b
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x454baa
mov edx, dword [edi + 0x18]
push esi
mov esi, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ecx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x454d39
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x454d47
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x454e06
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
sub edi, 1
jne 0x454d5f
pop edi
test esi, esi
je 0x454e22
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4734e0]
inc edx
sub esi, 1
jne 0x454e0a
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x45c249
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x45c2b5
cmp dword [esi + 0x10], 0
je 0x45c2b5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
mov eax, edi
call fcn.00466dc0
mov ebx, esp
test ebx, ebx
je 0x45c2b5
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x138
call fcn.0042e61d
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004326d7
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004662d8
leave
ret 0x10
Function at 0x45d066
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x188
mov eax, 0x46dbaa
call fcn.00466e42
mov dword [ebp - 0x194], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x190], esi
call fcn.0043091b
push eax
lea ecx, [ebp - 0x54]
call fcn.0042e437
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00430921
mov ecx, eax
call fcn.0042ece7
test al, al
je 0x45d12f
push esi
lea ecx, [ebp - 0x54]
call fcn.0042e7d9
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x54]
call fcn.0042e701
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45d1d1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x45d1d1
push esi
mov dword [ebp - 0x184], edi
call fcn.004667d0
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x184]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x184], esi
je 0x45d261
push edi
call fcn.004667d9
jmp 0x45d1d0
call fcn.00430921
push eax
lea ecx, [ebp - 0x54]
call fcn.0042e79c
call fcn.004309ed
test al, al
je 0x45d14d
call fcn.00430927
jmp 0x45d161
push 2
push edi
lea ecx, [ebp - 0x54]
call fcn.0042e701
push eax
call fcn.0045256b
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x45d1d1
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x18c]
push eax
push 1
push esi
push ebx
call fcn.004520b0
add esp, 0x14
test eax, eax
jne 0x45d1d1
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x45d1d1
push esi
call fcn.004667d0
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x18c]
push ebx
call fcn.004528ef
add esp, 0x18
test eax, eax
je 0x45d251
cmp eax, 0x600
je 0x45d251
push edi
call fcn.004667d9
pop ecx
call fcn.004309ed
test al, al
jne 0x45d1d1
push ebx
call fcn.00451f25
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0042e585
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp - 0x190]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45d247
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x45d247
push esi
mov dword [ebp - 0x188], edi
call fcn.004667d0
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x188]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x188], esi
je 0x45d276
push edi
call fcn.004667d9
pop ecx
xor eax, eax
call fcn.00466e00
ret 4
call fcn.004309ed
test al, al
jne 0x45d261
push ebx
call fcn.00451f25
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0042e585
test edi, edi
jne 0x45d27a
jmp 0x45d1dd
test edi, edi
je 0x45d247
mov ecx, dword [ebp - 0x194]
push esi
push edi
call fcn.0045d297
push 1
push edi
mov esi, eax
call fcn.004662e6
pop ecx
pop ecx
mov eax, esi
jmp 0x45d249
Function at 0x462bf7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x462c24
cmp eax, edi
jge 0x462c14
push esi
call fcn.00460f36
pop ecx
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, eax
test eax, eax
jle 0x462c4c
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x462c2f
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x462c66
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x462c57
xor dl, dl
jmp 0x462c5c
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x462c4e
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x462c9b
push str.zlib_corrupt
call fcn.00460df0
add esp, 4
jmp 0x462cd8
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x462cab
push str.read_past_buffer
jmp 0x462c91
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x462cc2
push edi
push esi
call fcn.00460dff
pop ecx
pop ecx
test eax, eax
je 0x462cd8
push edi
push dword [esi]
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x467181
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4671c0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4671c0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4671c0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4671c0
cmp dword [ecx + 0x74], 0xe
jbe 0x4671c0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x2593700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0259378f
jae 0x259370e
xor ecx, ecx
call fcn.0259378f
jae 0x259373d
xor eax, eax
call fcn.0259378f
jae 0x259374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0259378f
adc al, al
jae 0x259372f
jne 0x2593779
stosb byte es:[edi], al
jmp 0x2593711
call fcn.0259379b
sub ecx, ebx
jne 0x2593756
call fcn.02593799
jmp 0x2593775
lodsb al, byte [esi]
shr eax, 1
je 0x2593783
adc ecx, ecx
jmp 0x2593772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02593799
cmp eax, 0x7d00
jae 0x2593772
cmp ah, 5
jae 0x2593773
cmp eax, 0x7f
ja 0x2593774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2593711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x539f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x54e9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x53a002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0053ddff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x53a002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.005356e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0053e20b
push 0x10
call fcn.0053e1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x539fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0052a1c0
jmp 0x539fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00539b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x539ff0
mov ecx, edi
call fcn.0052a2c0
push edi
call fcn.0053e1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x53a021
inc ebx
cmp ebx, 0x20
jb 0x539f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x53d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0053d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0053d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0053d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0053d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x53dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x53dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x54f87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x53dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x53dc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx