joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481a50
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov ebx, edx
xor edi, edi
mov edx, dword [0x4bef50]
cmp dword [edx], 0
je 0x481af6
mov edx, dword [0x4bef50]
mov edx, dword [edx]
mov edx, dword [edx + 0x164]
xchg edx, eax
call fcn.004a9904
mov esi, eax
test esi, esi
je 0x481af6
cmp byte [esi], 0
je 0x481af6
mov eax, dword [0x4bef50]
mov eax, dword [eax]
lea edx, [eax + 8]
mov eax, ebx
call fcn.004b81b0
mov eax, ebx
call fcn.004b8144
mov byte [ebx + eax - 4], 0
push 0x481b04
push ebx
call sub.kernel32.dll_lstrcatA
lea edx, [esi + 8]
mov eax, esp
call fcn.004b81b0
cmp byte [esp], 0x5b
jne 0x481ad3
mov eax, esp
call fcn.004aed28
mov edx, eax
mov eax, esp
call fcn.004b81b0
mov eax, esp
call fcn.004819b8
push esp
push ebx
call sub.kernel32.dll_lstrcatA
mov edi, ebx
mov eax, ebx
call fcn.004b194c
test al, al
jne 0x481af6
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryA
mov eax, edi
add esp, 0x100
pop edi
pop esi
pop ebx
ret
Function at 0x486950
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov byte [esp], dl
mov esi, eax
mov ebp, dword [0x4beb38]
mov eax, 0x1388
call fcn.00402504
mov edi, eax
cmp byte [esp], 0
jne 0x4869ad
push 0xff
mov eax, dword [0x4bedb0]
push eax
mov eax, dword [esi + 0x48]
push eax
call sub.user32.dll_GetWindowTextA
xor ebx, ebx
inc ebx
xor ecx, ecx
mov cl, bl
dec ecx
mov edx, ebp
mov eax, dword [esi + 0x48]
call fcn.004868a0
push ebp
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x48698a
mov byte [esp], bl
mov bl, 1
push 0x1388
push edi
push 0x486a70
push 0
push 0x486a74
call sub.kernel32.dll_GetProfileStringA
mov esi, edi
jmp 0x486a4e
cmp bl, byte [esp]
jne 0x486a43
push 0xff
push ebp
push 0x486a70
push esi
push 0x486a74
call sub.kernel32.dll_GetProfileStringA
mov eax, dword [0x4be528]
mov edx, esi
call fcn.004b81b0
mov dword [esp + 4], ebp
lea eax, [esp + 4]
call fcn.00486250
mov edx, eax
mov eax, dword [0x4be528]
add eax, 0x81
call fcn.004b81b0
push 0x486a7c
mov eax, dword [0x4be528]
add eax, 0x81
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 4]
call fcn.00486250
mov edx, eax
mov eax, dword [0x4be528]
add eax, 0x8e
call fcn.004b81b0
jmp 0x486a57
inc ebx
mov eax, esi
call fcn.004b8144
inc eax
add esi, eax
cmp byte [esi], 0
jne 0x4869cd
cmp byte [esi], 0
setne bl
mov eax, edi
call fcn.00402524
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x486c24
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xfffffe00
call sub.user32.dll_GetFocus
mov ebx, eax
mov eax, dword [0x4be784]
movzx eax, byte [eax + 0x188c]
mov edx, dword [0x4bef64]
mov edx, dword [edx + eax*4]
mov eax, esp
call fcn.004b81b0
mov eax, esp
call fcn.004b8144
mov byte [esp + eax - 4], 0
mov edx, esp
lea eax, [esp + 0x100]
call fcn.004b81b0
lea eax, [esp + 0x100]
xor edx, edx
call fcn.004b1a60
lea eax, [esp + 0x100]
call fcn.004b1914
test al, al
je 0x486c97
mov eax, esp
xor edx, edx
call fcn.004b0584
test al, al
je 0x486d37
push 0
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll__lcreat
cmp eax, 0xffffffff
jne 0x486cbd
lea edx, [esp + 0x100]
mov ax, 3
call fcn.004acdac
jmp 0x486d37
push eax
call sub.kernel32.dll_CloseHandle_1
push 1
push 0x486d40
lea eax, [esp + 0x108]
push eax
mov eax, dword [0x4be784]
add eax, 0x500
push eax
push 0
mov eax, dword [0x4beb60]
mov eax, dword [eax]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x486d0a
test eax, eax
jbe 0x486d0a
mov edx, dword [0x4be784]
add edx, 0x500
mov ax, 7
call fcn.004acdac
mov eax, esp
push eax
push 0
push 0x180
push ebx
call sub.user32.dll_SendMessageA
mov edx, dword [0x4be6b0]
mov dword [edx], eax
push 0
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
push eax
push 0x186
push ebx
call sub.user32.dll_SendMessageA
add esp, 0x200
pop ebx
ret
Function at 0x486d44
Capabilities:
Create process on windows

Disassembly:
add esp, 0xffffff00
call sub.user32.dll_GetFocus
mov edx, esp
call fcn.00486918
cmp ax, 0xffff
je 0x486dd5
mov eax, esp
xor edx, edx
call fcn.004b1a60
mov edx, 0x486ddc
mov eax, dword [0x4bedb0]
call fcn.004b81b0
push esp
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcatA
push 0x486ddc
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcatA
push 1
push 0x486de0
mov eax, dword [0x4bedb0]
push eax
mov eax, dword [0x4be784]
add eax, 0x500
push eax
push 0
mov eax, dword [0x4beb60]
mov eax, dword [eax]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x486dd5
test eax, eax
jbe 0x486dd5
mov edx, dword [0x4be784]
add edx, 0x500
mov ax, 7
call fcn.004acdac
add esp, 0x100
ret
Function at 0x486de4
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
call sub.user32.dll_GetFocus
cmp eax, dword [0x4c2488]
jne 0x486f14
push 0
push 0
push 0x188
mov eax, dword [0x4c2488]
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
cmp si, 0xffff
je 0x486fcc
mov ax, 0x33c
call fcn.004aa600
mov edx, eax
mov eax, dword [0x4bedb0]
call fcn.004b81b0
mov eax, dword [0x4bedb0]
mov dl, 0x26
call fcn.004aec2c
push 0x486fd8
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x4bedb0]
mov edx, 0x66
call fcn.004b12a8
test al, al
je 0x486fcc
push 0
push 0
push 0x18b
mov eax, dword [0x4c2488]
push eax
call sub.user32.dll_SendMessageA
mov eax, esi
mov edx, dword [0x4be784]
movzx edx, byte [edx + 0x18a0]
dec edx
sub dx, ax
jl 0x486ec7
inc edx
mov ecx, dword [0x4bea48]
mov ecx, dword [ecx]
movsx ebx, ax
mov edi, ebx
inc edi
imul edi, edi, 0x12c
add ecx, edi
mov edi, dword [0x4bea48]
mov edi, dword [edi]
imul ebx, ebx, 0x12c
add edi, ebx
push esi
mov esi, ecx
mov ecx, 0x4b
rep movsd dword es:[edi], dword [esi]
pop esi
inc eax
dec dx
jne 0x486e90
mov eax, dword [0x4bea48]
mov eax, dword [eax]
mov edx, dword [0x4be784]
movzx edx, byte [edx + 0x18a0]
imul edx, edx, 0x12c
add eax, edx
mov byte [eax], 0
push 0
movsx ebx, si
push ebx
push 0x182
mov eax, dword [0x4c2488]
push eax
call sub.user32.dll_SendMessageA
push 0
push ebx
push 0x186
mov eax, dword [0x4c2488]
push eax
call sub.user32.dll_SendMessageA
jmp 0x486fcc
call sub.user32.dll_GetFocus
mov ebx, eax
mov edx, esp
mov eax, ebx
call fcn.00486918
cmp ax, 0xffff
je 0x486fcc
cmp ebx, dword [0x4c248c]
jne 0x486f48
mov ax, 0x2c7
call fcn.004aa600
mov edx, esp
call fcn.004ae1b0
jmp 0x486f58
mov ax, 0x2c8
call fcn.004aa600
mov edx, esp
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 0x66
call fcn.004b12a8
cmp al, 1
jne 0x486fc6
cmp ebx, dword [0x4c248c]
sete dl
mov eax, esp
call fcn.004b1a60
push esp
call sub.kernel32.dll_DeleteFileA_1
test eax, eax
je 0x486fc6
push 0
push 0
push 0x188
push ebx
call sub.user32.dll_SendMessageA
mov edx, dword [0x4be6b0]
mov dword [edx], eax
push 0
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
push eax
push 0x182
push ebx
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
push eax
push 0x186
push ebx
call sub.user32.dll_SendMessageA
push ebx
call sub.user32.dll_SetFocus
add esp, 0x100
pop edi
pop esi
pop ebx
ret
Function at 0x486fdc
Capabilities:
Move file

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
call sub.user32.dll_GetFocus
mov esi, eax
mov edx, esp
mov eax, esi
call fcn.00486918
cmp ax, 0xffff
je 0x4870f4
mov eax, esp
call fcn.004b8404
mov dword [0x4c24dc], eax
cmp esi, dword [0x4c248c]
jne 0x487016
mov bl, 0x54
jmp 0x487018
mov bl, 0x55
mov edx, ebx
mov ax, 0x1f
call fcn.0048841c
test eax, eax
je 0x4870f4
lea eax, [esp + 0x100]
mov edx, dword [0x4c24dc]
call fcn.004b81b0
cmp esi, dword [0x4c248c]
sete dl
mov eax, esp
call fcn.004b1a60
cmp esi, dword [0x4c248c]
sete dl
lea eax, [esp + 0x100]
call fcn.004b1a60
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
je 0x4870d4
push 0
push 0
push 0x188
push esi
call sub.user32.dll_SendMessageA
mov edx, dword [0x4be6b0]
mov dword [edx], eax
push 0
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
push eax
push 0x182
push esi
call sub.user32.dll_SendMessageA
mov eax, dword [0x4c24dc]
push eax
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
push eax
push 0x181
push esi
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [0x4be6b0]
mov eax, dword [eax]
push eax
push 0x186
push esi
call sub.user32.dll_SendMessageA
jmp 0x4870e4
lea edx, [esp + 0x100]
mov ax, 0xa
call fcn.004acdac
mov eax, dword [0x4c24dc]
call fcn.004b8480
push esi
call sub.user32.dll_SetFocus
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x4873d4
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
mov eax, esp
mov edx, 0x160
call fcn.004066e4
push 0x105
push 0x160
lea eax, [esp + 8]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp]
add esp, 0x160
pop ebx
ret
Function at 0x488828
Capabilities:
Hide graphical window

Disassembly:
push ebx
movsx edx, dx
push edx
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
mov ebx, eax
push 0
push ebx
call sub.user32.dll_ShowWindow
mov eax, 0x4b
call fcn.004ae058
push 5
push ebx
call sub.user32.dll_ShowWindow
mov eax, 0x4b
call fcn.004ae058
push 0
push ebx
call sub.user32.dll_ShowWindow
mov eax, 0x4b
call fcn.004ae058
push 5
push ebx
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x488878
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xffffffe0
mov esi, edx
mov ebx, eax
mov ax, 0xd1
call fcn.004aa600
mov edx, 3
call fcn.004b12a8
movsx eax, si
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
mov ebx, eax
push 0x1f
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetClassNameA
mov eax, dword [0x4be9a8]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x4888d5
push 0xffffffffffffffff
push 0
push 0xb1
push ebx
call sub.user32.dll_SendMessageA
push 0
push ebx
call sub.user32.dll_ShowWindow
mov eax, 0x4b
call fcn.004ae058
push 5
push ebx
call sub.user32.dll_ShowWindow
mov eax, 0x4b
call fcn.004ae058
push 0
push ebx
call sub.user32.dll_ShowWindow
mov eax, 0x4b
call fcn.004ae058
push 5
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetFocus
add esp, 0x20
pop esi
pop ebx
ret
Function at 0x48b9a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
cmp dword [edi], 0
je 0x48b9c4
mov eax, dword [edi]
push eax
call sub.user32.dll_DestroyWindow
xor eax, eax
mov dword [edi], eax
push 2
lea ecx, [ebp - 0x14]
movsx edx, si
mov eax, ebx
call fcn.00410058
mov eax, dword [0x4be784]
cmp byte [eax + 0x189f], 0
seta al
and eax, 0x7f
cmp byte [ebp + 0x10], 0
sete dl
and edx, 0x7f
add edx, edx
add edx, 0xe
imul edx
add eax, 4
mov dword [ebp - 0x14], eax
cmp word [ebp + 0x14], 0
jle 0x48ba27
movsx esi, word [ebp + 0x14]
dec esi
test esi, esi
jl 0x48ba27
inc esi
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00410130
add dword [ebp - 0x14], eax
inc dword [ebp - 4]
dec esi
jne 0x48ba14
mov eax, dword [0x4be784]
cmp byte [eax + 0x189f], 0
jbe 0x48ba4e
cmp word [ebp + 0x14], 0
jle 0x48ba4e
cmp byte [ebp + 0x10], 0
sete al
and eax, 0x7f
add eax, eax
add eax, 0xe
sub dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [0x4be33c]
mov byte [eax], 0
push 0
mov eax, dword [0x4bf704]
push eax
push 0
push ebx
cmp byte [ebp + 0x10], 0
sete al
and eax, 0x7f
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
sub edx, eax
add edx, 2
push edx
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00410080
add eax, 3
push eax
mov eax, dword [0x4bedec]
movzx eax, byte [eax]
add eax, dword [ebp - 0x10]
add eax, 2
push eax
mov eax, dword [ebp - 0x14]
dec eax
push eax
push 0x80000000
mov eax, dword [ebp + 8]
push eax
mov eax, dword [0x4be7a0]
push eax
push 0x88
call sub.user32.dll_CreateWindowExA
mov dword [edi], eax
push 0
push 0
push 0x31
push ebx
call sub.user32.dll_SendMessageA
push eax
push 0xffffffffffffffeb
mov eax, dword [edi]
push eax
call sub.user32.dll_SetWindowLongA
push 4
mov eax, dword [edi]
push eax
call sub.user32.dll_ShowWindow
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48c25c
Capabilities:
Inspect load icon resource

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, edx
mov ebp, 0x4c24e8
test al, al
je 0x48c2e9
push 0
push 3
push 0x10
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov dword [ebp], eax
push 5
call sub.user32.dll_GetSysColor
push eax
mov eax, dword [ebp]
push eax
call sub.comctl32.dll_ImageList_SetBkColor
push 4
mov eax, dword [0x4bf704]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c2498], eax
push 8
mov eax, dword [0x4bf704]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c249c], eax
push 0x17
mov eax, dword [0x4be9f0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c24a0], eax
jmp 0x48c3e3
push 0
mov edi, ebx
and edi, 0x7f
mov eax, edi
add eax, 3
push eax
push 0x10
xor eax, eax
mov al, bl
mov esi, eax
add esi, esi
add esi, 0xe
push esi
push esi
call sub.comctl32.dll_ImageList_Create
mov dword [ebp], eax
push 5
call sub.user32.dll_GetSysColor
push eax
mov eax, dword [ebp]
push eax
call sub.comctl32.dll_ImageList_SetBkColor
mov edx, dword [0x4bee4c]
mov edx, dword [edx]
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c2498], eax
push 6
mov eax, dword [0x4bf704]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c249c], eax
push 5
mov eax, dword [0x4bf704]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c24a0], eax
test bl, bl
je 0x48c3e3
push 0xa
mov eax, dword [0x4be9f0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c24a4], eax
push 7
mov eax, dword [0x4bf704]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c24a8], eax
push 8
mov eax, dword [0x4bf704]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c24ac], eax
push 8
mov eax, dword [0x4be9f0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebp]
call fcn.0040ff7c
mov dword [0x4c24b0], eax
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48c964
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdb4
mov ebx, eax
lea eax, [ebx + 0x22]
mov edx, 0x24
call fcn.004066e4
mov dword [ebx + 0x22], 5
xor edi, edi
mov eax, 0x48cbc4
call fcn.004b1c50
mov byte [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebp, eax
jmp 0x48cb13
test byte [esp + 0xc], 0x10
jne 0x48cafe
lea eax, [esp + 0x38]
call fcn.004b1c50
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x150]
mov edx, dword [0x4beb38]
mov eax, dword [0x4bedb0]
call fcn.0048c658
test al, al
je 0x48cafe
mov eax, 0x10
call fcn.00402504
mov esi, eax
mov eax, dword [0x4beb38]
call fcn.004b8404
mov dword [esi], eax
mov byte [0x4c24e0], 3
lea eax, [esp + 0x14c]
call fcn.004b8404
mov dword [esi + 4], eax
mov byte [0x4c24e1], 3
lea eax, [esp + 0x38]
call fcn.004b8404
mov dword [esi + 8], eax
mov byte [0x4c24e2], 3
mov eax, 8
call fcn.00402504
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov byte [0x4c24e3], 2
mov dword [ebx + 0x42], esi
cmp byte [esp + 8], 0
jne 0x48ca62
mov eax, dword [0x4c2498]
mov dword [ebx + 0x3e], eax
cmp byte [esp + 8], 0
jle 0x48ca71
mov eax, dword [0x4c24a0]
mov dword [ebx + 0x3e], eax
cmp byte [esp + 8], 0
jge 0x48ca80
mov eax, dword [0x4c24a4]
mov dword [ebx + 0x3e], eax
mov eax, dword [esi]
push eax
mov eax, ebx
xor ecx, ecx
mov edx, edi
call fcn.00488944
mov eax, dword [esi + 4]
push eax
mov eax, ebx
mov cl, 1
mov edx, edi
call fcn.00488944
mov eax, dword [esi + 8]
push eax
mov eax, ebx
mov cl, 2
mov edx, edi
call fcn.00488944
push esp
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
mov eax, esp
call fcn.00411604
mov edx, eax
mov eax, dword [0x4bedb0]
call fcn.004b81b0
push 0x48cbcc
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, esp
call fcn.004115bc
push eax
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x4bedb0]
push eax
mov eax, ebx
mov cl, 3
mov edx, edi
call fcn.00488944
inc edi
lea eax, [esp + 0xc]
push eax
push ebp
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x48cb1e
cmp byte [esp + 0x38], 0
jne 0x48c9ac
push ebp
call sub.kernel32.dll_FindClose
mov eax, dword [ebx + 4]
call fcn.0040ffd4
mov esi, eax
mov dword [ebx + 0x1c], esi
mov edx, dword [0x4be784]
movsx edx, word [edx + 0x1832]
mov eax, esi
dec eax
call fcn.004aa570
mov dword [ebx + 0x18], eax
cmp dword [ebx + 0x1c], 0
setg cl
mov eax, ebx
mov dx, 3
call fcn.00489a04
cmp dword [ebx + 0x1c], 0
setg cl
mov eax, ebx
mov dx, 4
call fcn.00489a04
push 0
push 0
push 0x229
mov eax, dword [0x4bed7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
test eax, eax
je 0x48cb8d
cmp dword [ebx + 0x1c], 0
jg 0x48cb91
xor ecx, ecx
jmp 0x48cb93
mov cl, 1
mov eax, ebx
mov dx, 1
call fcn.00489a04
mov ecx, dword [0x4be784]
movzx ecx, byte [ecx + 0x1891]
mov edx, 0x48b924
mov eax, dword [ebx + 4]
call fcn.00410218
add esp, 0x24c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48e288
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], eax
xor ebx, ebx
mov eax, dword [0x4bec94]
mov ecx, 0x8000000
mov edx, 0x80000000
call fcn.004adc9c
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x48e2c0
mov edx, dword [0x4bec94]
mov ax, 1
call fcn.004acdac
jmp 0x48e327
push 0
push ebp
call sub.kernel32.dll_GetFileSize_1
mov edi, eax
push 4
push 0x1000
push edi
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
jne 0x48e300
mov dword [esp + 4], edi
fild dword [esp + 4]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004b1e30
mov edx, eax
mov ax, 0xb
call fcn.004acdac
jmp 0x48e327
push edi
push esi
push ebp
call sub.kernel32.dll__lread
push ebp
call sub.kernel32.dll_CloseHandle_1
push esi
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_SetWindowTextA
push 0x4000
push edi
push esi
call sub.kernel32.dll_VirtualFree_1
mov bl, 1
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x494f64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x494f9b
mov edi, dword [0x4be744]
mov di, word [edi]
push 0
push 0xb
push 0x111
mov eax, dword [0x4beb60]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
jmp 0x494fe4
mov eax, dword [0x4be744]
cmp dword [eax], 1
jg 0x494ff2
cmp bl, 1
jne 0x494fb4
mov eax, dword [0x4be744]
cmp dword [eax], 1
je 0x494ff2
mov edi, dword [0x4be744]
mov di, word [edi]
mov byte [0x4c2515], 1
push 0
push 0x88
push 0x111
mov eax, dword [0x4beb60]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
mov byte [0x4c2515], 0
mov eax, dword [0x4be744]
mov eax, dword [eax]
movsx edx, di
cmp eax, edx
jne 0x495033
mov byte [0x4c24d0], bl
mov dl, 0x47
mov ax, 0x13
call fcn.0048841c
test eax, eax
je 0x495101
mov eax, dword [0x4be744]
cmp dword [eax], 0
je 0x495101
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x5c], 0
jne 0x494ff2
xor eax, eax
mov al, bl
mov edx, dword [0x4be7ec]
mov ecx, dword [0x4bec7c]
mov cl, byte [ecx]
mov byte [edx + eax - 1], cl
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
mov edi, ebx
and edi, 0xff
mov edx, edi
add dx, 0x64
mov eax, esi
call fcn.00488934
mov eax, dword [0x4bec7c]
mov eax, dword [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
movzx edx, word [eax + 0x42c]
dec edx
mov ecx, dword [0x4beee0]
movzx ecx, word [ecx]
imul edx, ecx
mov dword [esp], edx
fild dword [esp]
fild qword [eax + 0x3c]
faddp st(1)
movzx eax, word [eax + 0x42a]
mov dword [esp + 4], eax
fild dword [esp + 4]
faddp st(1)
fsub dword [0x495108]
mov eax, dword [0x4be4c4]
fistp qword [eax]
wait
mov eax, dword [0x4be4c4]
push dword [eax + 4]
push dword [eax]
call fcn.004af438
mov ecx, eax
mov edx, edi
add dx, 0x12c
mov eax, esi
call fcn.00488934
mov eax, dword [0x4be7ec]
mov al, byte [eax]
mov edx, dword [0x4be7ec]
cmp al, byte [edx + 1]
setne cl
mov eax, esi
mov dx, 1
call fcn.00489a04
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x497d2c
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov esi, dword [0x4bedb0]
push 0x7f02
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
mov eax, dword [0x4be784]
mov byte [eax + 0x18a4], bl
test bl, bl
jbe 0x497e22
mov ax, 0x89
call fcn.004aa600
mov edx, dword [0x4bedd4]
mov edx, dword [edx]
call fcn.004ae1b0
push esp
push esi
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
mov al, 1
call fcn.004af490
mov eax, esi
call fcn.004b8144
inc eax
push eax
push esi
push 1
push 0
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_RegSetValueA
test eax, eax
je 0x497db5
mov ax, 0x119
call fcn.004aa600
mov edx, eax
mov ax, 0x1a
call fcn.004acdac
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov ax, 0x8a
call fcn.004aa600
mov edx, dword [0x4bedd4]
mov edx, dword [edx]
call fcn.004ae1b0
push esp
push esi
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
xor eax, eax
call fcn.004af490
mov eax, esi
call fcn.004b8144
inc eax
push eax
push esi
push 1
push 0
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_RegSetValueA
test eax, eax
je 0x497e17
mov ax, 0x119
call fcn.004aa600
mov edx, eax
mov ax, 0x1a
call fcn.004acdac
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x497e92
mov ax, 0x89
call fcn.004aa600
mov edx, dword [0x4bedd4]
mov edx, dword [edx]
call fcn.004ae1b0
push esi
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
mov eax, esi
mov dl, 0x5c
call fcn.004b838c
mov byte [eax], 0
push esi
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
mov ax, 0x8a
call fcn.004aa600
mov edx, dword [0x4bedd4]
mov edx, dword [edx]
call fcn.004ae1b0
push esi
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
mov eax, esi
mov dl, 0x5c
call fcn.004b838c
mov byte [eax], 0
push esi
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
cmp bl, 1
jne 0x497efb
mov ax, 0x8b
call fcn.004aa600
mov edx, dword [0x4bedd4]
mov edx, dword [edx]
call fcn.004ae1b0
push esp
push esi
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
xor eax, eax
call fcn.004af490
mov eax, esi
call fcn.004b8144
inc eax
push eax
push esi
push 1
push 0
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_RegSetValueA
test eax, eax
je 0x497ef0
mov ax, 0x119
call fcn.004aa600
mov edx, eax
mov ax, 0x1a
call fcn.004acdac
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x497f33
mov ax, 0x8b
call fcn.004aa600
mov edx, dword [0x4bedd4]
mov edx, dword [edx]
call fcn.004ae1b0
push esi
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
mov eax, esi
mov dl, 0x5c
call fcn.004b838c
mov byte [eax], 0
push esi
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
pop edx
pop esi
pop ebx
ret