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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4c8d27
add esp, 0xfffffff0
call fcn.00405918
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044b784
mov eax, dword [0x5be25c]
cmp byte [eax], 0
jne 0x4c8d54
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5be884]
cmp word [eax + 2], 0
jne 0x4c8d6e
mov eax, dword [0x5be884]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cadd8
mov eax, dword [0x5beaa4]
cmp word [eax + 2], 0
jne 0x4c8d88
mov eax, dword [0x5beaa4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cafdc
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x45542c]
call fcn.0045b990
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4cb554
mov dl, 1
mov eax, dword [0x433b74]
call fcn.004053b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x433b74]
call fcn.004053b8
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 [0x459b28]
call fcn.00464eb0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4c8f68
mov eax, dword [0x5be608]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00465344
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4cb83c
mov dl, 1
mov eax, dword [0x433b74]
call fcn.004053b8
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5be608]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041e644
test eax, eax
je 0x4c8e99
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041e3a4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041e628
test eax, eax
je 0x4c8eb1
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.00407b2c
push ebx
push 0x4ca7c4
call fcn.004beb20
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x5be25c]
cmp byte [eax], 0
jne 0x4c8f02
mov eax, ebx
call fcn.004c90dc
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.004cba68
mov eax, ebx
call fcn.004cc698
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c8f5f
call fcn.00405970
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c93a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4c944a
cmp dword [ebx + 0x94], 0
jne 0x4c9444
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4c92f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4c9444
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 0x4c940a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4c9444
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.0043f018
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4c9419
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5c428c]
cmp dword [eax + 0x170], 0
je 0x4c97cd
test bl, bl
jne 0x4c971b
cmp dword [esi + 0x9c], 0
jne 0x4c9710
mov eax, esi
call fcn.004cc4e8
push eax
push 0x4c9574
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4c96e1
mov eax, dword [0x5c428c]
cmp byte [eax + 0xd3], 0
je 0x4c96e1
mov eax, dword [esi + 0xd8]
call fcn.00408c44
mov edi, eax
cmp edi, 0
jl 0x4c96e1
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 0x4c96ca
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c9710
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043f018
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c96f0
inc dword [esi + 0x9c]
jmp 0x4c97cd
cmp dword [esi + 0x9c], 0
jle 0x4c97cd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4c97cd
cmp dword [esi + 0x44], 0
je 0x4c9778
mov eax, dword [0x5c428c]
cmp byte [eax + 0xd3], 0
je 0x4c9778
mov eax, dword [esi + 0xd8]
call fcn.00408c44
mov edi, eax
cmp edi, 0
jl 0x4c9778
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 0x4c9761
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c97a7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043f018
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c9787
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 [0x4bc9f8]
call fcn.00408e04
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4ca410
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 0x4ca47b
cmp byte [ebx + 0xd3], 0
jne 0x4ca47b
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.00407034
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4ca468
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ca488
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040728c
jmp 0x4ca488
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040728c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4cbc50
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4cbcbe
mov eax, esi
call fcn.00481c40
test al, al
je 0x4cbcbe
mov eax, dword [ebx + 0x84]
call fcn.00481894
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4cbcbe
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4cbcb2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00481894
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00478810
jmp 0x4cbcbe
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004cba88
pop esi
pop ebx
ret
Function at 0x4e6eb4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e6fdc
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004e6da0
mov eax, dword [esi]
call fcn.00408c3c
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416e24]
call fcn.00408e04
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004045c8
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004045c8
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408c3c
mov dword [ebp - 0xc], eax
mov eax, dword [0x5becdc]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.004ce3cc
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404c94
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408c3c
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.004ce3a8
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004ce160
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004ce3c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6fe3
lea eax, [ebp - 4]
mov edx, dword [0x416e24]
call fcn.00408f04
ret

Function at 0x4f6ab8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407c04
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x4f6add
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00407a78
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4f6afc
mov eax, ebx
mov edx, dword [esp]
call fcn.00407c04
pop ecx
pop edx
pop ebx
ret
Function at 0x54e4c8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x5b809c
test edx, edx
jne 0x54e4db
xor eax, eax
jmp 0x54e5f0
mov dword [esp], 1
cmp byte [esp], 0
je 0x54e4f8
push ecx
push edx
push eax
call fcn.0054e5f4
add esp, 0xc
jmp 0x54e5f0
push ecx
push edx
push eax
call fcn.0054e8b4
add esp, 0xc
jmp 0x54e5f0
pop edx
pop esi
pop ebx
ret
Function at 0x561c78
Capabilities:
Reference alidns dns server

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fb0
xor eax, eax
push ebp
push 0x561e35
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 4], 0
je 0x561e17
mov eax, dword [0x5becdc]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.004e91d4
test al, al
je 0x561cd7
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040728c
mov byte [ebp - 9], 1
jmp 0x561e17
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x18], 0x5bc2b4
xor edx, edx
push ebp
push 0x561dcd
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x55e430]
call fcn.004d9bb4
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x561dbc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x14]
add eax, 0xc4
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
call fcn.0040728c
mov eax, dword [ebp - 0x14]
mov edx, dword [0x561e48]
mov dword [eax + 0xd0], edx
push 1
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00560b98
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x561da6
mov eax, dword [eax + 8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x561da6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xcc]
mov edx, esi
call fcn.0055f1cc
mov edi, eax
mov eax, dword [ebp - 8]
mov edx, dword [edi + 0x24]
call fcn.0040728c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [0x5becdc]
mov eax, dword [eax]
call fcn.004e91d4
test al, al
je 0x561da2
mov byte [ebp - 9], 1
call fcn.00406710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x561e17
inc esi
dec ebx
jne 0x561d5d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561dc3
mov eax, dword [ebp - 0x14]
call fcn.004053e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561e3c
lea eax, [ebp - 0x1c]
call fcn.00406ecc
lea eax, [ebp - 4]
call fcn.00406ecc
ret

Function at 0x561e90
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5619e4]
call fcn.004d9bb4
mov ebx, eax
movzx eax, byte [ebx + 0x141]
or al, byte [0x561ef8]
mov byte [ebx + 0x141], al
mov byte [ebx + 0x140], 1
mov eax, ebx
call fcn.0054cc08
add eax, 4
mov edx, 0x561f08
call fcn.0040728c
mov eax, ebx
call fcn.0054cc08
add eax, 0xa0
mov edx, 0x561f28
call fcn.0040728c
mov edx, 0x7530
mov eax, ebx
call fcn.00524c88
mov eax, ebx
pop ebx
ret
Function at 0x564140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x210], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5641c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
xor ecx, ecx
mov edx, 0x20a
call fcn.00404c94
push 0x104
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
lea ebx, [ebp - 0x20a]
lea edx, [ebp - 0x210]
mov eax, ebx
call fcn.0041e744
mov edx, dword [ebp - 0x210]
mov eax, esi
mov ecx, 0x5641e0
call fcn.00407cdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5641cb
lea eax, [ebp - 0x210]
call fcn.00406ecc
ret

Function at 0x5641f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fb0
mov eax, dword [ebp - 8]
call fcn.00406fb0
xor eax, eax
push ebp
push 0x564384
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0041e1b0
mov eax, dword [ebp - 0x50]
mov edx, 0x5643a0
call fcn.0041cfb8
test al, al
je 0x564292
cmp dword [ebp - 8], 0
jne 0x564292
lea eax, [ebp - 0x10]
call fcn.00564140
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.0041dd58
test al, al
je 0x564292
push 0x5643b8
push dword [ebp - 4]
push 0x5643d0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00407d64
lea eax, [ebp - 4]
mov edx, 0x5643e0
call fcn.004072d4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041e134
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404c94
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
mov eax, dword [0x5bea34]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.00407a78
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
call fcn.00407a78
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.00407a78
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
mov esi, eax
test esi, esi
jne 0x564330
push dword [ebp - 4]
push 0x5643fc
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x58]
call fcn.0041d770
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00407d64
mov eax, dword [ebp - 0x54]
call fcn.005636fc
test bl, bl
je 0x56435c
test esi, esi
je 0x56435c
jmp 0x56434a
mov eax, dword [0x5bea34]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x56435c
push 0x64
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x56433a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56438b
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00406f2c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406f2c
ret
Function at 0x568038
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5c44a4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x56805a
shr eax, 1
xor eax, 0xedb88320
jmp 0x56805c
shr eax, 1
dec edx
jne 0x568048
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x568041
mov byte [0x5c48a4], 1
pop esi
pop ebx
ret

Function at 0x568078
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5c48a4], 0
jne 0x56808f
call fcn.00568038
mov eax, edi
dec eax
test eax, eax
jl 0x5680b7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5c44a4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x568099
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x56ae44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x56aede.0
jmp dword [ecx*4 + 0x56ae77]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x56aea9
sub dl, 8
je 0x56aeb8
jmp case.0x56aede.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56aaec
jmp case.0x56aede.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56ab44
jmp case.0x56aede.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x56aede.0
movzx ecx, byte [ecx + 0x56aee5]
jmp dword [ecx*4 + 0x56aef6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56abf0
jmp case.0x56aede.0
cmp dl, 3
jne 0x56af23
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56ac48
jmp case.0x56aede.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56ac04
jmp case.0x56aede.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56ac8c
jmp case.0x56aede.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x56af4e
sub dl, 8
je 0x56af5a
jmp case.0x56aede.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56acb8
jmp case.0x56aede.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56ad24
jmp case.0x56aede.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x56af79
sub dl, 8
je 0x56af85
jmp case.0x56aede.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56ade0
jmp case.0x56aede.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x56ae08
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 - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x56b027
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 - 4]
mov eax, ebx
call fcn.00569ff0
test eax, eax
je 0x56b027
mov eax, ebx
call fcn.0056b030
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
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 - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x56afc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x56b030
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 0x56b061
dec al
je 0x56b09c
dec al
je 0x56b0e1
dec al
je 0x56b14a
jmp 0x56b1d4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x56b1d4
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 0x56b071
jmp 0x56b1d4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56b1d4
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 0x56b0ac
jmp 0x56b1d4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56b1d4
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 0x56b110
xor ebp, ebp
jmp 0x56b120
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 0x56b129
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 0x56b0f1
jmp 0x56b1d4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x56b1d4
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 0x56b1a3
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.005680c0
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 0x56b15e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x57c380
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
add eax, 0x14
mov eax, dword [eax]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x14]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
movzx ebx, cl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov esi, dword [ebx*4 + str.cwko0]
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 8], ebx
shr ecx, 0x18
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x5bc678]
mov dword [edx + eax*4 + 0x18], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x18]
mov dword [edx + eax*4 + 0x1c], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x20], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 0x10]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, ebx
mov dword [edx + eax*4 + 0x2c], ecx
add eax, 6
cmp eax, 0x2e
jl 0x57c3bb
add esp, 0xc
pop edi
pop esi
pop ebx
ret