joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455c38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455c70]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455c51
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455c60
or bl, 4
test esi, 0x20000000
je 0x455c6b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45c334
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45c346
add esp, 0xfffffff0
call fcn.00403c00
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421038
mov eax, dword [0x4c4e74]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c6d8
mov eax, dword [0x4c4e84]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c6e4
mov eax, ebx
call fcn.0045c6f0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417558]
call fcn.00403898
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417558]
call fcn.00403898
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417558]
call fcn.00403898
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417558]
call fcn.00403898
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417558]
call fcn.00403898
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, 0x458b08
push eax
push 0
push 0
mov eax, dword [0x4c5138]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422ab4]
call fcn.004242ec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422ab4]
call fcn.004242ec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422ab4]
call fcn.004242ec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045cb40
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ca08
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ca08
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ca08
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c483
call fcn.00403c58
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45c7ec
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 0x45c997
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c978
mov dl, 1
mov eax, dword [0x417d68]
call fcn.00403898
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047b8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c967
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.0044a668
test al, al
je 0x45c95a
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, 0x45c9a8
lea eax, [ebp - 0x254]
call fcn.0040a2b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c95a
xor eax, eax
push ebp
push 0x45c953
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 0x45c9e0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c93c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a28
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 0x45c93c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c95a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c85d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cad8
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 0x45c99e
lea eax, [ebp - 0x260]
call fcn.004047b8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c6be4]
cmp byte [eax + 0xa5], 0
jne 0x45d351
cmp dword [0x4c6bfc], 0
jne 0x45d312
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d29c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c6bfc], eax
cmp dword [0x4c6bf8], 0
jne 0x45d32d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c6bf8], eax
cmp dword [0x4c6c00], 0
jne 0x45d351
push esp
push 0
push 0
push 0x45d240
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c6c00], eax
pop edx
ret
Function at 0x45d9e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c6be4]
cmp dword [eax + 0x30], 0
je 0x45da8e
cmp dword [ebx + 0x94], 0
jne 0x45da88
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d974
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45da88
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 0x45da4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45da88
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.00419e0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45da5d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e5ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e621
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.004048a8
jmp 0x45e62e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040480c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f7f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f839
mov eax, esi
call fcn.00445c94
test al, al
je 0x45f839
mov eax, dword [ebx + 0x84]
call fcn.00445990
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f839
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445990
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46cb54
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46cc8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041b0a0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x46cbd0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x46cbd0
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408cf8
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x4c4d84]
mov ebx, dword [ebx]
mov eax, 0x46cca4
call ebx
dec eax
jne 0x46cbd0
mov ebx, 1
jmp 0x46cbd2
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x46cc73
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0046c664
test al, al
jne 0x46cc67
mov eax, dword [ebp - 4]
call fcn.0046cb48
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.0040480c
xor edx, edx
push ebp
push 0x46cc55
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x46cc4b
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0046cf7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46cc67
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x46cbea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cc95
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004047dc
ret
Function at 0x4725a8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4725b0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4727a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4727b8
mov eax, esi
call fcn.00470434
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040480c
lea ecx, [ebp - 0x10]
mov edx, 0x4727cc
mov eax, esi
call fcn.00470434
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040480c
lea ecx, [ebp - 0x14]
mov edx, 0x4727e4
mov eax, esi
call fcn.00470434
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040480c
lea ecx, [ebp - 0x18]
mov edx, 0x472800
mov eax, esi
call fcn.00470434
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040480c
lea ecx, [ebp - 0x1c]
mov edx, 0x47281c
mov eax, esi
call fcn.00470434
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040480c
lea ecx, [ebp - 0x24]
mov edx, 0x472834
mov eax, esi
call fcn.00470434
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408f70
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409544
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47284c
mov eax, esi
call fcn.00470434
mov eax, dword [ebp - 0x28]
call fcn.00465f18
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47285c
mov eax, esi
call fcn.00470434
mov eax, dword [ebp - 0x2c]
call fcn.00465f18
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x472874
mov eax, esi
call fcn.00470434
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409544
inc eax
je 0x472745
lea ecx, [ebp - 0x34]
mov edx, 0x472874
mov eax, esi
call fcn.00470434
mov eax, dword [ebp - 0x34]
call fcn.00409508
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ac5c
fstp qword [ebp - 0x3c]
wait
call fcn.0040afcc
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x472760
lea ecx, [ebp - 0x40]
mov edx, 0x472874
mov eax, esi
call fcn.00470434
mov eax, dword [ebp - 0x40]
call fcn.00465f18
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x472884
mov eax, esi
call fcn.00470434
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040480c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4727a9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004047dc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004047dc
ret
Function at 0x4794c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47951e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004794b4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00464b84
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00464784
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479525
lea eax, [ebp - 4]
call fcn.004047b8
ret

Function at 0x47d240
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe44
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47d34c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x19c]
push eax
push 2
call sub.wsock32.dll_WSAStartup
lea eax, [ebp - 4]
mov edx, 0xff
call fcn.00404e04
push 0xff
mov eax, dword [ebp - 4]
call fcn.00404c78
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.00404c78
call fcn.00409c28
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404e04
mov eax, dword [ebp - 4]
call fcn.00404c78
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 0x1b8], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 0x1b0], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 0x1a8], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 0x1a0], 0
lea edx, [ebp - 0x1bc]
mov ecx, 3
mov eax, 0x47d364
call fcn.0040a348
call sub.wsock32.dll_WSACleanup
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.0040480c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d353
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047dc
ret
Function at 0x47d370
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c68
xor eax, eax
push ebp
push 0x47d581
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404850
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 0x10]
call fcn.00409cc0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x47d52e
movzx eax, bx
call fcn.00402b3c
mov esi, eax
push esi
push ebx
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x130]
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x47d516
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x130]
mov edx, 0x47d598
call fcn.00409cc0
push eax
push esi
call sub.version.dll_VerQueryValueA
mov di, 0x409
mov word [ebp - 0x22], 0
cmp byte [ebp - 0x19], 0
je 0x47d479
mov eax, dword [ebp - 0x20]
shr eax, 2
test eax, eax
jle 0x47d479
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov di, word [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004079b4
mov word [ebp - 0x22], ax
cmp di, 0x409
je 0x47d479
dec dword [ebp - 0x30]
jne 0x47d459
push 0x47d5bc
lea ecx, [ebp - 0x134]
movzx eax, di
mov edx, 4
call fcn.004094e0
push dword [ebp - 0x134]
lea ecx, [ebp - 0x138]
movzx eax, word [ebp - 0x22]
mov edx, 4
call fcn.004094e0
push dword [ebp - 0x138]
push 0x47d5d8
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404b38
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x13c]
mov ecx, 0x47d5e4
mov edx, dword [ebp - 0x2c]
call fcn.00404ac4
mov edx, dword [ebp - 0x13c]
lea eax, [ebp - 0x130]
call fcn.00409cc0
push eax
push esi
call sub.version.dll_VerQueryValueA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x47d50b
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00409e30
mov edx, ebx
mov eax, esi
call fcn.00402b6c
jmp 0x47d53b
mov edx, ebx
mov eax, esi
call fcn.00402b6c
lea eax, [ebp - 0xc]
mov edx, 0x47d5f8
call fcn.00404850
jmp 0x47d53b
lea eax, [ebp - 0xc]
mov edx, 0x47d5f8
call fcn.00404850
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040480c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d588
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.004047dc
lea eax, [ebp - 0x2c]
call fcn.004047b8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004047dc
lea eax, [ebp - 4]
call fcn.004047b8
ret
Function at 0x47d76c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c68
xor eax, eax
push ebp
push 0x47d820
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47d800
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403250
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403250
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.00409cc0
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d80a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d827
lea eax, [ebp - 4]
call fcn.004047b8
ret

Function at 0x47ef20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x47ef4d
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x47efcc
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0047df98
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47ef9a
mov cx, word [esp]
sub cx, si
jmp 0x47ef9c
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47ef83
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47efc2
mov cx, word [esp]
sub cx, si
jmp 0x47efc4
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47efab
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x47f029
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0047ec1c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x47f014
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x47f029
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x47ef2a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4844b8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4c7388
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4844da
shr eax, 1
xor eax, 0xedb88320
jmp 0x4844dc
shr eax, 1
dec edx
jne 0x4844c8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4844c1
mov byte [0x4c7788], 1
pop esi
pop ebx
ret
Function at 0x4844f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4c7788], 0
jne 0x48450f
call fcn.004844b8
mov eax, edi
dec eax
test eax, eax
jl 0x484538
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c7388]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x484519
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x486b0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x486b3d
dec al
je 0x486b79
dec al
je 0x486bbd
dec al
je 0x486c28
jmp 0x486cb2
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x486cb2
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x486b4d
jmp 0x486cb2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486cb2
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x486b89
jmp 0x486cb2
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486cb2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x486beb
xor ebp, ebp
jmp 0x486bfc
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x486c05
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x486bcd
jmp 0x486cb2
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x486cb2
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x486c80
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00484540
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x486c3c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret