joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458798
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4587af
add esp, 0xfffffff0
call fcn.00403c68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004224c4
mov eax, dword [0x4bfb5c]
cmp word [eax + 2], 0
jne 0x4587d7
mov eax, dword [0x4bfb5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459e74
mov eax, dword [0x4bfbfc]
cmp word [eax + 2], 0
jne 0x4587f1
mov eax, dword [0x4bfbfc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a06c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417e68]
call fcn.004038d4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417e68]
call fcn.004038d4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424964]
call fcn.0042c0dc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x458978
mov eax, dword [0x4bfa84]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c4ac
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a5dc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4bfa84]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ca04
test eax, eax
je 0x4588e6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408eec
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca2c
test eax, eax
je 0x4588fa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040495c
mov eax, dword [0x4bf974]
cmp byte [eax], 0
jne 0x45892e
mov eax, ebx
call fcn.00458aa0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045a7b8
mov eax, ebx
call fcn.0045b168
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45896e
call fcn.00403cc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458d14
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c0c2c]
cmp dword [eax + 0x30], 0
je 0x458dbe
cmp dword [ebx + 0x94], 0
jne 0x458db8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458ca4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458db8
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 0x458d7e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458db8
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.0041a564
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458d8d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45989c
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 0x4598d1
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.004047e4
jmp 0x4598de
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404748
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a994
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a9d5
mov eax, esi
call fcn.00440d80
test al, al
je 0x45a9d5
mov eax, dword [ebx + 0x84]
call fcn.00440a7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a9d5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440a7c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45b708
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b871
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040478c
mov eax, dword [ebp - 0x10]
call fcn.0045b394
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x45b75a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404c44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045bd0c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45b82f
xor eax, eax
push ebp
push 0x45b828
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0045b504
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0045b880
test al, al
je 0x45b806
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004047e4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x45b806
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404ba4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x45b800
mov eax, dword [ebp - 0x14]
call fcn.00404ba4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004048e4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0045b708
dec ebx
cmp ebx, 0xffffffff
jne 0x45b7b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b82f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0045b504
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404ba4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0045b4f0
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b878
lea eax, [ebp - 0x3c]
call fcn.004046f4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404718
ret

Function at 0x45b880
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402e9c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4bfd50]
cmp byte [edx + 0xc], 0
je 0x45b8e4
mov edx, dword [0x4bfd48]
cmp dword [edx], 2
jne 0x45b8e4
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x45b8e8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45b9a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0045b880
test al, al
je 0x45b982
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004047e4
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x45b982
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ba4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404ba4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004048e4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x45b93b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b9a7
lea eax, [ebp - 0x2c]
call fcn.004046f4
lea eax, [ebp - 0xc]
call fcn.004046f4
ret

Function at 0x45b9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45ba68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0045b880
test al, al
je 0x45ba4a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004047e4
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x45ba4a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ba4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404ba4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004048e4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x45ba03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ba6f
lea eax, [ebp - 0x2c]
call fcn.004046f4
lea eax, [ebp - 0xc]
call fcn.004046f4
ret
Function at 0x45bbfc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045b3a8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404ba4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45bc5a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4bfb74]
mov dl, 1
mov eax, dword [0x45b2a0]
call fcn.0040be44
call fcn.004040d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45bc64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ba4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45bcbc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4bfd5c]
mov dl, 1
mov eax, dword [0x45b2a0]
call fcn.0040be44
call fcn.004040d0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045b3d8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45dfc4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
test esi, esi
jne 0x45dfe8
mov eax, ebx
call fcn.0045d8b4
mov eax, ebx
call fcn.0045d878
jmp 0x45e16f
mov eax, esi
mov edx, dword [0x45cd4c]
call fcn.00403a90
test al, al
je 0x45e012
mov edi, esi
mov edx, edi
mov eax, ebx
call fcn.0045df24
mov edx, edi
mov eax, ebx
call fcn.0045dec8
jmp 0x45e16f
mov eax, esi
mov edx, dword [0x433e84]
call fcn.00403a90
test al, al
je 0x45e07f
mov eax, ebx
call fcn.0045d878
call fcn.0043435c
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x45e078
push dword fs:[edx]
mov dword fs:[edx], esp
push 2
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov dx, 2
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e16f
call fcn.0043435c
mov edx, dword [eax]
call dword [edx + 0x14]
ret
mov eax, esi
mov edx, dword [0x424820]
call fcn.00403a90
test al, al
je 0x45e0ee
mov eax, ebx
call fcn.0045d878
mov edi, esi
mov eax, edi
call fcn.0042ad14
cmp al, 8
jne 0x45e0af
mov dl, 1
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
jmp 0x45e0b8
xor edx, edx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x64]
mov edx, eax
mov eax, ebx
call fcn.0045e7a8
mov eax, edi
call fcn.0042ad14
add al, 0xfe
sub al, 2
jae 0x45e16f
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, ebx
call fcn.0045e49c
jmp 0x45e16f
mov eax, esi
mov edx, dword [0x424420]
call fcn.00403a90
test al, al
je 0x45e166
mov eax, ebx
call fcn.0045d878
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 8], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
mov dword [ebp - 4], edi
push 5
push 0
push 0
push 0
mov ecx, edi
mov edx, dword [ebp - 8]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x78]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
imul edx, dword [ebx + 0x868]
mov eax, dword [ebx + 0x30]
xor ecx, ecx
call fcn.00402e9c
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x86c]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
jmp 0x45e16f
mov edx, esi
mov eax, ebx
call fcn.0041ab0c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f3fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x11], 0xca
jne 0x46f42c
push ebx
call fcn.004754dc
cmp byte [ebx + 0x3d], 0
pop ecx
je 0x46f425
mov dword [ebx + 0x11], 0xcf
mov al, 1
pop ebx
pop ebp
ret
mov dword [ebx + 0x11], 0xcb
cmp dword [ebx + 0x11], 0xcb
jne 0x46f498
mov edx, dword [ebx + 0x183]
cmp byte [edx + 0x10], 0
je 0x46f490
cmp dword [ebx + 8], 0
je 0x46f44e
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
push ebx
mov eax, dword [ebx + 0x183]
call dword [eax]
pop ecx
test eax, eax
jne 0x46f461
xor eax, eax
pop ebx
pop ebp
ret
cmp eax, 2
je 0x46f490
cmp dword [ebx + 8], 0
je 0x46f441
cmp eax, 3
je 0x46f474
dec eax
jne 0x46f441
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46f441
mov edx, dword [ebx + 0x10f]
add dword [eax + 8], edx
jmp 0x46f441
mov ecx, dword [ebx + 0x72]
mov dword [ebx + 0x7a], ecx
jmp 0x46f4b6
cmp dword [ebx + 0x11], 0xcc
je 0x46f4b6
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x11]
mov dword [eax + 0x18], edx
push ebx
mov ecx, dword [ebx]
call dword [ecx]
pop ecx
push ebx
call fcn.0046f4c0
pop ecx
pop ebx
pop ebp
ret

Function at 0x46f4c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x11], 0xcc
je 0x46f545
push ebx
mov eax, dword [ebx + 0x173]
call dword [eax]
pop ecx
xor edx, edx
mov dword [ebx + 0x6e], edx
mov dword [ebx + 0x11], 0xcc
jmp 0x46f545
mov eax, dword [ebx + 8]
test eax, eax
je 0x46f502
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x56]
mov dword [eax + 8], edx
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
mov esi, dword [ebx + 0x6e]
lea eax, [ebx + 0x6e]
push 0
push eax
push 0
push ebx
mov edx, dword [ebx + 0x177]
call dword [edx + 4]
add esp, 0x10
cmp esi, dword [ebx + 0x6e]
jne 0x46f523
xor eax, eax
jmp 0x46f562
mov edx, dword [ebx + 0x6e]
cmp edx, dword [ebx + 0x56]
jb 0x46f4eb
push ebx
mov ecx, dword [ebx + 0x173]
call dword [ecx + 4]
pop ecx
push ebx
mov eax, dword [ebx + 0x173]
call dword [eax]
pop ecx
xor edx, edx
mov dword [ebx + 0x6e], edx
mov ecx, dword [ebx + 0x173]
cmp byte [ecx + 8], 0
jne 0x46f523
cmp byte [ebx + 0x3e], 0
mov eax, 0xce
jne 0x46f55d
dec eax
mov dword [ebx + 0x11], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret
Function at 0x495f30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp byte [edx + 8], 3
je 0x4960c6
mov ecx, dword [edx]
xor ebx, ebx
mov dword [ebp - 4], ecx
xor esi, esi
test byte [edx + 8], 2
je 0x495f89
movzx edi, byte [eax]
xor ecx, ecx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
movzx edi, byte [eax + 1]
xor ecx, ecx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
xor ecx, ecx
movzx edi, byte [eax + 2]
inc ebx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
jmp 0x495f99
xor ecx, ecx
mov cl, byte [edx + 9]
movzx edi, byte [eax + 3]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
test byte [edx + 8], 4
je 0x495faf
xor ecx, ecx
mov cl, byte [edx + 9]
movzx eax, byte [eax + 4]
sub ecx, eax
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
xor ecx, ecx
lea eax, [ebp - 0x20]
cmp ebx, ecx
jle 0x495fcf
cmp dword [eax], 0
jg 0x495fc3
xor edi, edi
mov dword [eax], edi
jmp 0x495fc7
mov si, 1
inc ecx
add eax, 4
cmp ebx, ecx
jg 0x495fb8
test si, si
je 0x4960c6
mov al, byte [edx + 9]
sub al, 2
je 0x495ff4
sub al, 2
je 0x496014
sub al, 4
je 0x49604f
sub al, 8
je 0x496076
jmp 0x4960c6
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 0xc]
xor edx, edx
cmp ecx, edx
jbe 0x4960c6
shr byte [eax], 1
and byte [eax], 0x55
inc eax
inc edx
cmp ecx, edx
ja 0x496004
jmp 0x4960c6
mov esi, dword [ebp - 0x20]
mov ebx, 0xf0
mov ecx, esi
mov edx, dword [edx + 4]
sar ebx, cl
mov ecx, esi
mov esi, 0xf
sar esi, cl
mov ecx, esi
and bl, 0xf0
or bl, cl
xor esi, esi
cmp edx, esi
mov eax, dword [ebp + 0xc]
jbe 0x4960c6
mov ecx, dword [ebp - 0x20]
inc esi
shr byte [eax], cl
and byte [eax], bl
inc eax
cmp edx, esi
ja 0x496040
jmp 0x4960c6
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
imul ebx
mov dword [ebp - 8], eax
xor esi, esi
cmp esi, dword [ebp - 8]
jae 0x4960c6
mov eax, esi
xor edx, edx
div ebx
mov ecx, dword [ebp + edx*4 - 0x20]
shr byte [edi], cl
inc edi
inc esi
cmp esi, dword [ebp - 8]
jb 0x496061
jmp 0x4960c6
mov edi, dword [ebp + 0xc]
mov eax, ebx
imul dword [ebp - 4]
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x4960c6
movzx esi, byte [edi]
shl esi, 8
xor eax, eax
mov al, byte [edi + 1]
xor edx, edx
add si, ax
mov eax, dword [ebp - 0xc]
div ebx
mov ecx, dword [ebp + edx*4 - 0x20]
shr si, cl
movzx eax, si
sar eax, 8
mov edx, esi
mov byte [edi], al
inc edi
and dl, 0xff
mov byte [edi], dl
inc edi
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jb 0x49608e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a27fc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x4b99d4
test edx, edx
jne 0x4a281a
xor eax, eax
jmp 0x4a2902
xor eax, 0xffffffff
cmp ebx, 8
jb 0x4a28e2
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
sub ebx, 8
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
cmp ebx, 8
mov eax, esi
jae 0x4a2826
test ebx, ebx
je 0x4a28ff
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
dec ebx
mov eax, esi
jne 0x4a28e6
xor eax, 0xffffffff
pop esi
pop ebx
pop ebp
ret
Function at 0x4a3764
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x22]
mov eax, dword [ebx + 0x32]
sub eax, dword [ebx + 0x6a]
sub eax, dword [ebx + 0x62]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4a3799
cmp dword [ebx + 0x62], 0
jne 0x4a3799
cmp dword [ebx + 0x6a], 0
jne 0x4a3799
mov dword [ebp - 8], esi
jmp 0x4a3828
cmp dword [ebp - 8], 0xffffffff
jne 0x4a37a7
dec dword [ebp - 8]
jmp 0x4a3828
mov edx, dword [ebx + 0x22]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x62]
ja 0x4a3828
push esi
mov eax, dword [ebx + 0x2e]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.00487ce0
add esp, 0xc
sub dword [ebx + 0x66], esi
sub dword [ebx + 0x62], esi
sub dword [ebx + 0x52], edi
mov eax, dword [ebx + 0x42]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3a]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4a37f5
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4a37f7
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4a37de
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x36]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4a381d
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4a381f
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4a3806
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x4a388a
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x2e]
add edx, dword [ebx + 0x62]
add edx, dword [ebx + 0x6a]
push edx
push edi
call fcn.004a34fc
add esp, 0xc
add dword [ebx + 0x6a], eax
cmp dword [ebx + 0x6a], 3
jb 0x4a3875
mov ecx, dword [ebx + 0x2e]
mov eax, dword [ebx + 0x62]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x3e], eax
mov ecx, dword [ebx + 0x4e]
shl eax, cl
mov edx, dword [ebx + 0x2e]
mov ecx, dword [ebx + 0x62]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4a]
mov dword [ebx + 0x3e], eax
cmp dword [ebx + 0x6a], 0x106
jae 0x4a388a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4a3773
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret