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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46c9af
cmp dword [ebx + 0x94], 0
jne 0x46c9a9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46c898
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46c9a9
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 0x46c96f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46c9a9
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.00419d0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46c97e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x496cd4]
cmp dword [eax + 0x30], 0
je 0x46cd25
test bl, bl
jne 0x46cc76
cmp dword [esi + 0x9c], 0
jne 0x46cc6b
mov eax, esi
call fcn.0046f3ec
push eax
push 0x46caf4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46cc3c
mov eax, dword [0x496cd4]
call fcn.0046facc
test al, al
je 0x46cc3c
mov eax, dword [0x496cf8]
call fcn.004063c8
mov edi, eax
cmp edi, 0
jl 0x46cc3c
push 0
mov eax, dword [0x496cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46cc26
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46cc6b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419d0c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46cc4b
inc dword [esi + 0x9c]
jmp 0x46cd25
cmp dword [esi + 0x9c], 0
jle 0x46cd25
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46cd25
cmp dword [esi + 0x44], 0
je 0x46ccd1
mov eax, dword [0x496cd4]
call fcn.0046facc
test al, al
je 0x46ccd1
mov eax, dword [0x496cf8]
call fcn.004063c8
mov edi, eax
cmp edi, 0
jl 0x46ccd1
push 5
mov eax, dword [0x496cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46ccbb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46cd00
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419d0c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46cce0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x496cf8
mov ecx, 1
mov edx, dword [0x46cad4]
call fcn.0040657c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46d7b8
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 0x46d822
mov eax, ebx
call fcn.0046facc
test al, al
jne 0x46d822
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.00405370
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46d80f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46d82f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052d4
jmp 0x46d82f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052d4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46ebf0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46ec5e
mov eax, esi
call fcn.00458730
test al, al
je 0x46ec5e
mov eax, dword [ebx + 0x84]
call fcn.00458380
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46ec5e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46ec52
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458380
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00450260
jmp 0x46ec5e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046ea2c
pop esi
pop ebx
ret

Function at 0x4704a0
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.00403a48
ret

Function at 0x472880
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405700
xor eax, eax
push ebp
push 0x4728de
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0047295c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4728c6
lea eax, [ebp - 4]
call fcn.0047295c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4728c8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4728e5
lea eax, [ebp - 4]
call fcn.00405280
ret

Function at 0x4728ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405700
xor eax, eax
push ebp
push 0x472950
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.0047295c
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a7fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472957
lea eax, [ebp - 4]
call fcn.00405280
ret
Function at 0x472f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405700
xor eax, eax
push ebp
push 0x473009
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00472610
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a3ec
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004738e0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a2ac
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00473958
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473010
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052a4
ret
Function at 0x473018
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405700
xor eax, eax
push ebp
push 0x473121
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00472610
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x4730e7
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a3ec
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004738e0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a2ac
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00473958
jmp 0x4730f9
xor edx, edx
mov eax, ebx
call fcn.004738e0
xor edx, edx
mov eax, ebx
call fcn.00473958
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473128
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052a4
ret
Function at 0x4767f8
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 0x476969
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 0x476944
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.00405468
lea eax, [ebp - 0x118]
mov edx, 0x476980
call fcn.0040554c
mov eax, dword [ebp - 0x118]
call fcn.00405710
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4768b6
lea eax, [ebp - 0x111]
call fcn.0040a5bc
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00405370
jmp 0x4768bd
mov eax, esi
call fcn.00405280
cmp bl, 0x61
jae 0x4768de
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e5b0
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004052d4
jmp 0x4768f8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e51c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004052d4
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, 0x47698c
call fcn.0040acec
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004052d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47694b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x47f5e4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.0047f820
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.0047f820
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x47f658
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x47f67e
inc esi
mov eax, edi
call fcn.0047f63c
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, edi
call fcn.0047f5e4
inc ebx
dec esi
jne 0x47f667
pop edi
pop esi
pop ebx
ret
Function at 0x47f714
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405700
xor eax, eax
push ebp
push 0x47f78a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0047f684
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.0047f63c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.0047f5e4
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x47f754
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f791
lea eax, [ebp - 4]
call fcn.00405280
ret
Function at 0x480424
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48060a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4805c6
mov eax, dword [ebp - 4]
call fcn.00481dcc
cmp ebx, eax
jge 0x4805c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00470e44
mov edx, dword [0x4729b0]
call fcn.00404604
mov esi, eax
mov eax, esi
call fcn.00473874
test al, al
je 0x4805bc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x4805b0
xor eax, eax
push ebp
push 0x4805a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004809dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041c338
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.004059a0
mov eax, dword [ebp - 8]
call fcn.00405770
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004807a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4805f4
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4805a8
mov eax, dword [ebp - 4]
call fcn.00480a60
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a7fc
jmp 0x4805f4
mov eax, dword [ebp - 8]
call fcn.00405280
jmp 0x4805f4
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409c34
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x4175b4]
call fcn.0040d780
call fcn.00404cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480611
lea eax, [ebp - 0x54]
call fcn.00405280
ret
Function at 0x485364
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x4855db
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4855f0
call fcn.004851cc
lea eax, [ebp - 0x3f0]
call fcn.00405280
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.00405710
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48559c
xor eax, eax
push ebp
push 0x485595
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x485630
call fcn.004851cc
mov eax, dword [ebp - 0x408]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x485467
push ebp
mov eax, 0x48565c
call fcn.004852bc
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x485668
call fcn.004851cc
mov eax, dword [ebp - 0x40c]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4854f1
push dword [ebp - 0x3f0]
push 0x485690
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004054f0
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.00405614
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x48569c
call fcn.004851cc
mov eax, dword [ebp - 0x414]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48557b
push dword [ebp - 0x3f0]
push 0x485690
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004054f0
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.00405614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48559c
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.004052d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4855e2
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.004052a4
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.004052a4
ret
Function at 0x4862d0
Capabilities:
Log keystrokes via application hook

Disassembly:
xor eax, eax
mov dword [0x496e58], eax
push 0x486310
call sub.user32.dll_RegisterWindowMessageA
mov dword [0x496e58], eax
mov eax, dword [0x4912a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [0x496e5c], eax
push 0
mov eax, dword [0x4947f4]
push eax
push 0x48626c
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x496e60], eax
ret

Function at 0x4866d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4867a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.0040a7fc
lea ecx, [ebp - 0x108]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00438f5c
mov eax, dword [ebp - 0x108]
mov edx, 0x4867c0
call fcn.004056a8
je 0x486779
lea ecx, [ebp - 0x10c]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00438f5c
mov eax, dword [ebp - 0x10c]
mov edx, 0x4867cc
call fcn.004056a8
je 0x486779
lea eax, [ebp - 4]
mov edx, 0x4867cc
call fcn.0040554c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004052d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4867b0
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.004052a4
lea eax, [ebp - 4]
call fcn.00405280
ret
Function at 0x48688c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405700
mov eax, dword [ebp - 8]
call fcn.00405700
xor eax, eax
push ebp
push 0x486a56
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x486a1e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x417f8c]
call fcn.0041c7ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x486924
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409e58
test al, al
je 0x48691a
mov eax, dword [ebp - 8]
call fcn.00405710
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405478
mov eax, dword [ebp - 0x1c]
call fcn.00405710
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48692e
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.00405710
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x417f8c]
call fcn.0041c7ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x486a0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov cx, 2
mov edx, 0xfffffffc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041c564
mov edx, dword [ebp - 0x14]
add edx, 8
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041c564
mov edx, dword [ebp - 0x14]
add edx, 8
add edx, dword [ebp - 0x18]
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0041c5d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486a14
mov eax, dword [ebp - 0x10]
call fcn.00404454
mov eax, dword [ebp - 0xc]
call fcn.00404454
ret