joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7180
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b732d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b730e
mov dl, 1
mov eax, dword [0x42c478]
call fcn.00438534
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00407028
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b72fd
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.00499814
test al, al
je 0x4b72f0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4b733c
lea eax, [ebp - 0x394]
call fcn.004145e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b72f0
xor eax, eax
push ebp
push 0x4b72e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4b73ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b72d2
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407238
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4b72d2
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b72f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b71f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00438470
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7334
lea eax, [ebp - 0x3a0]
call fcn.00407018
ret

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

Disassembly:
push ecx
mov eax, dword [0x5482bc]
cmp byte [eax + 0xad], 0
jne 0x4b7efe
cmp dword [0x5482d4], 0
jne 0x4b7ebe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x53f6f0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5482d4], eax
cmp dword [0x5482d0], 0
jne 0x4b7ed9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5482d0], eax
cmp dword [0x5482d8], 0
jne 0x4b7efe
push esp
push 0
push 0
mov eax, dword [0x53f6ec]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5482d8], eax
pop edx
ret
Function at 0x4b8224
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b823b
add esp, 0xfffffff0
call fcn.004057f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00440abc
mov eax, dword [0x541830]
cmp byte [eax], 0
jne 0x4b8268
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x541d24]
cmp word [eax + 2], 0
jne 0x4b8282
mov eax, dword [0x541d24]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ba31c
mov eax, dword [0x541ef0]
cmp word [eax + 2], 0
jne 0x4b829c
mov eax, dword [0x541ef0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ba52c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44b4a0]
call fcn.00451774
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4baadc
mov dl, 1
mov eax, dword [0x429d78]
call fcn.0040528c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x429d78]
call fcn.0040528c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44f938]
call fcn.0045abe4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b847c
mov eax, dword [0x541b20]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045b078
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4badc4
mov dl, 1
mov eax, dword [0x429d78]
call fcn.0040528c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x541b20]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004143dc
test eax, eax
je 0x4b83ad
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041416c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004143c0
test eax, eax
je 0x4b83c5
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407238
push ebx
push 0x4b9cec
call fcn.004ade78
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x541830]
cmp byte [eax], 0
jne 0x4b8416
mov eax, ebx
call fcn.004b85f0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004baff0
mov eax, ebx
call fcn.004bbc24
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b8473
call fcn.00405848
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b88c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b8966
cmp dword [ebx + 0x94], 0
jne 0x4b8960
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b8810
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b8960
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_GetWindowLongW
test al, 8
je 0x4b8926
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b8960
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.00434c80
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b8935
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5482bc]
cmp dword [eax + 0x170], 0
je 0x4b8ce9
test bl, bl
jne 0x4b8c37
cmp dword [esi + 0x9c], 0
jne 0x4b8c2c
mov eax, esi
call fcn.004bba74
push eax
push 0x4b8a90
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b8bfd
mov eax, dword [0x5482bc]
cmp byte [eax + 0xd3], 0
je 0x4b8bfd
mov eax, dword [esi + 0xd8]
call fcn.004086d8
mov edi, eax
cmp edi, 0
jl 0x4b8bfd
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b8be6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b8c2c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434c80
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b8c0c
inc dword [esi + 0x9c]
jmp 0x4b8ce9
cmp dword [esi + 0x9c], 0
jle 0x4b8ce9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b8ce9
cmp dword [esi + 0x44], 0
je 0x4b8c94
mov eax, dword [0x5482bc]
cmp byte [eax + 0xd3], 0
je 0x4b8c94
mov eax, dword [esi + 0xd8]
call fcn.004086d8
mov edi, eax
cmp edi, 0
jl 0x4b8c94
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b8c7d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b8cc3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434c80
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b8ca3
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4abd50]
call fcn.00408898
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b9938
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b99a3
cmp byte [ebx + 0xd3], 0
jne 0x4b99a3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407164
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b9990
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b99b0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407028
jmp 0x4b99b0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407028
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bb1d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bb246
mov eax, esi
call fcn.00493894
test al, al
je 0x4bb246
mov eax, dword [ebx + 0x84]
call fcn.00493514
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bb246
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bb23a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00493514
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048a4ec
jmp 0x4bb246
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004bb010
pop esi
pop ebx
ret

Function at 0x4bcfd4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x230], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4bd099
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004bcf74
mov ebx, eax
mov dword [ebp - 0x22c], 0x22c
lea edx, [ebp - 0x22c]
mov eax, ebx
call fcn.004bcf94
test eax, eax
je 0x4bd080
jmp 0x4bd06f
lea eax, [ebp - 0x230]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00407238
mov eax, dword [ebp - 0x230]
mov edx, edi
call fcn.00407710
jne 0x4bd06f
mov eax, dword [ebp - 0x224]
push eax
push 0
push 0x100001
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x4bd069
push 0
push esi
call sub.kernel32.dll_TerminateProcess
push esi
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 0x22c]
mov eax, ebx
call fcn.004bcfb4
test eax, eax
jne 0x4bd023
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd0a0
lea eax, [ebp - 0x230]
call fcn.00407018
ret
Function at 0x4bd0a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bd16e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404b24
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov eax, 0x4bd180
mov dword [ebp - 0x34], eax
mov eax, ebx
call fcn.004070b4
mov dword [ebp - 0x30], eax
mov eax, 0x4bd18c
mov dword [ebp - 0x2c], eax
mov eax, 0x4bd18c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4bd155
call fcn.004bd190
cmp byte [ebp + 8], 0
je 0x4bd142
jmp 0x4bd130
mov eax, dword [0x541e9c]
mov eax, dword [eax]
call fcn.004b9ee0
push 0x64
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4bd124
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4bd160
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd175
ret
Function at 0x4bd210
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa94
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x56c], edx
mov dword [ebp - 0x564], edx
mov dword [ebp - 0x568], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407010
lea eax, [ebp - 0x280]
mov edx, dword [0x40d9b8]
call fcn.00407d20
xor eax, eax
push ebp
push 0x4bd480
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00416200
fstp qword [ebp - 0x290]
wait
push dword [ebp - 0x28c]
push dword [ebp - 0x290]
lea eax, [ebp - 0xc]
mov edx, 0x4bd49c
call fcn.00416ec0
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.0040750c
mov eax, 0x4bd4e4
call fcn.00413b98
test al, al
jne 0x4bd2ab
mov eax, 0x4bd4e4
call fcn.004140d4
lea eax, [ebp - 8]
mov edx, 0x4bd514
call fcn.0040707c
movzx eax, byte [0x4bd550]
push eax
lea eax, [ebp - 0x564]
push eax
lea edx, [ebp - 0x568]
xor eax, eax
call fcn.0040458c
mov eax, dword [ebp - 0x568]
mov ecx, 0x4bd560
mov edx, 0x4bd570
call fcn.0041a820
mov eax, dword [ebp - 0x564]
call fcn.004070b4
push eax
push 0
push 0
call fcn.0040b98c
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
je 0x4bd444
push 0xffffffffffffffff
mov eax, dword [ebp - 0x284]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
push ebp
push 0x4bd43d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x280]
mov edx, 0x1ff
mov eax, dword [ebp - 8]
call fcn.00413d54
test eax, eax
jne 0x4bd397
cmp dword [ebp - 0x274], 0
jne 0x4bd35b
cmp dword [ebp - 0x278], 0x100000
jbe 0x4bd38c
jmp 0x4bd35d
jle 0x4bd38c
push 1
lea eax, [ebp - 0x56c]
mov ecx, 0x4bd580
mov edx, dword [ebp - 8]
call fcn.0040750c
mov eax, dword [ebp - 0x56c]
call fcn.004070b4
push eax
mov eax, dword [ebp - 8]
call fcn.004070b4
push eax
call sub.kernel32.dll_MoveFileExW
lea eax, [ebp - 0x280]
call fcn.00413da4
xor eax, eax
push ebp
push 0x4bd40d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x560]
call fcn.0040497c
lea eax, [ebp - 0x560]
call fcn.00404714
call fcn.004043b0
test eax, eax
je 0x4bd3d2
lea eax, [ebp - 0x560]
call fcn.00404708
call fcn.004043b0
test eax, eax
jne 0x4bd403
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x560]
call fcn.004079e8
call fcn.00404dd8
call fcn.00404380
lea eax, [ebp - 0x560]
call fcn.00404a40
call fcn.00404380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bd417
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd444
mov eax, dword [ebp - 0x284]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp - 0x284]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd487
lea eax, [ebp - 0x56c]
mov edx, 3
call fcn.00407020
lea eax, [ebp - 0x280]
mov edx, dword [0x40d9b8]
call fcn.00407df8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407020
ret
Function at 0x5286a0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x548498
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x5286c2
shr eax, 1
xor eax, 0xedb88320
jmp 0x5286c4
shr eax, 1
dec edx
jne 0x5286b0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5286a9
mov byte [0x548898], 1
pop esi
pop ebx
ret

Function at 0x5286e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x548898], 0
jne 0x5286f7
call fcn.005286a0
mov eax, edi
dec eax
test eax, eax
jl 0x52871f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x548498]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x528701
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x52b4c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x52b562.0
jmp dword [ecx*4 + 0x52b4fb]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52b52d
sub dl, 8
je 0x52b53c
jmp case.0x52b562.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b170
jmp case.0x52b562.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b1c8
jmp case.0x52b562.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x52b562.0
movzx ecx, byte [ecx + 0x52b569]
jmp dword [ecx*4 + 0x52b57a]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b274
jmp case.0x52b562.0
cmp dl, 3
jne 0x52b5a7
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b2cc
jmp case.0x52b562.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b288
jmp case.0x52b562.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b310
jmp case.0x52b562.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52b5d2
sub dl, 8
je 0x52b5de
jmp case.0x52b562.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b33c
jmp case.0x52b562.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b3a8
jmp case.0x52b562.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52b5fd
sub dl, 8
je 0x52b609
jmp case.0x52b562.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b464
jmp case.0x52b562.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52b48c
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x52b6ab
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0052a674
test eax, eax
je 0x52b6ab
mov eax, ebx
call fcn.0052b6b4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x52b644
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x52b6b4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x52b6e5
dec al
je 0x52b720
dec al
je 0x52b765
dec al
je 0x52b7ce
jmp 0x52b858
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x52b858
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, 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 0x52b6f5
jmp 0x52b858
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x52b858
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x52b730
jmp 0x52b858
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x52b858
mov esi, 1
movzx eax, 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 0x52b794
xor ebp, ebp
jmp 0x52b7a4
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x52b7ad
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x52b775
jmp 0x52b858
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x52b858
mov esi, 1
movzx eax, 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 0x52b827
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, 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
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00528728
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x52b7e2
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x530c9c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x530e27
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x42d744]
call fcn.0040528c
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x51fc8c]
call fcn.004d38d8
mov dword [ebp - 8], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x518768]
call fcn.004d38d8
xor edx, edx
push ebp
push 0x530dd4
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 8]
mov byte [eax + 0x140], 1
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00522a9c
mov eax, dword [ebp - 8]
call fcn.005232a8
add eax, 0x98
mov edx, 0x530e48
call fcn.00407028
mov eax, dword [ebp - 8]
call fcn.005232a8
add eax, 0x10
mov edx, 0x530e6c
call fcn.00407028
mov eax, dword [ebp - 8]
call fcn.005232a8
add eax, 0xa4
mov edx, 0x530e6c
call fcn.00407028
mov eax, dword [ebp - 8]
call fcn.005232a8
add eax, 0x94
mov edx, 0x530e90
call fcn.00407028
mov eax, dword [ebp - 8]
call fcn.005232a8
add eax, 4
mov edx, 0x530ec8
call fcn.00407028
mov ecx, dword [ebp - 4]
mov edx, dword [0x5488a0]
mov eax, dword [ebp - 8]
call fcn.005204d0
mov eax, dword [0x5488a4]
call fcn.00413b50
test al, al
je 0x530db8
mov ebx, dword [0x5488a4]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
call fcn.004070b4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [0x5488a4]
mov eax, dword [ebp - 4]
call fcn.00439214
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x530e09
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530e2e
mov eax, dword [ebp - 4]
call fcn.004052bc
mov eax, dword [ebp - 8]
call fcn.004052bc
ret
Function at 0x407bf0
Capabilities:
Terminate process

Disassembly:
push str.V2.00.01__build_003_egp__Pos
push str.CADPOS01__s__n
call fcn.00404cd0
push str.Copyright_2005_Sopra_n
call fcn.00404cd0
push 0x41540c
call fcn.00404cd0
add esp, 0x10
push 0
call fcn.00408478
int3