joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a480
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45a51f
cmp dword [ebx + 0x94], 0
jne 0x45a519
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a408
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a519
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 0x45a4df
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a519
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.0041d16c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a4ee
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x638c24]
cmp dword [eax + 0x30], 0
je 0x45a895
test bl, bl
jne 0x45a7e6
cmp dword [esi + 0x9c], 0
jne 0x45a7db
mov eax, esi
call fcn.0045d0e0
push eax
push 0x45a664
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45a7ac
mov eax, dword [0x638c24]
call fcn.0045d7c0
test al, al
je 0x45a7ac
mov eax, dword [0x638c48]
call fcn.00406c54
mov edi, eax
cmp edi, 0
jl 0x45a7ac
push 0
mov eax, dword [0x638c48]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a796
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a7db
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041d16c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a7bb
inc dword [esi + 0x9c]
jmp 0x45a895
cmp dword [esi + 0x9c], 0
jle 0x45a895
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45a895
cmp dword [esi + 0x44], 0
je 0x45a841
mov eax, dword [0x638c24]
call fcn.0045d7c0
test al, al
je 0x45a841
mov eax, dword [0x638c48]
call fcn.00406c54
mov edi, eax
cmp edi, 0
jl 0x45a841
push 5
mov eax, dword [0x638c48]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a82b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a870
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041d16c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a850
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x638c48
mov ecx, 1
mov edx, dword [0x45a644]
call fcn.00406e08
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45b37c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45b3e6
mov eax, ebx
call fcn.0045d7c0
test al, al
jne 0x45b3e6
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.004053fc
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45b3d3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45b3f3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405360
jmp 0x45b3f3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405360
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45c8e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c952
mov eax, esi
call fcn.0046c36c
test al, al
je 0x45c952
mov eax, dword [ebx + 0x84]
call fcn.0046bfcc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c952
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45c946
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046bfcc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00463dc0
jmp 0x45c952
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045c720
pop esi
pop ebx
ret
Function at 0x461650
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x638ca4], 0
je 0x461799
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x633788]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x461799
mov eax, dword [0x638ca8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x638ca4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x461768
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x638ca4]
call fcn.0041d16c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x461760
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x461760
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x461760
mov eax, dword [ebp - 0x14]
call fcn.0046bfcc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461760
push ebp
call fcn.0046160c
pop ecx
test al, al
jne 0x461760
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004045ac
test al, al
je 0x461760
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004045ac
cmp byte [ebp - 1], 0
je 0x461760
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x461760
mov edx, dword [ebp - 0x14]
mov eax, dword [0x638ca8]
call fcn.00460d7c
inc edi
dec ebx
jne 0x4616b5
mov eax, dword [0x638ca8]
cmp dword [eax + 8], 0
jle 0x461780
mov eax, dword [0x638ca8]
call fcn.00460e34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x461799
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00461470
pop ecx
test al, al
jne 0x461799
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468e54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00407be0
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004639d8
test ebx, ebx
jne 0x468ea7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00468d90
mov ebx, eax
test ebx, ebx
je 0x468f92
cmp esi, ebx
je 0x468ed0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x468ee5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x468f1d
add eax, 0xffffff5f
sub eax, 2
jb 0x468f35
dec eax
sub eax, 2
jb 0x468f49
dec eax
sub eax, 2
jb 0x468f3f
jmp 0x468f53
add eax, 0xfffffdff
sub eax, 2
jb 0x468f35
dec eax
sub eax, 2
jb 0x468f49
dec eax
sub eax, 2
jb 0x468f3f
jmp 0x468f53
mov byte [esp + 0x120], 0
jmp 0x468f5b
mov byte [esp + 0x120], 2
jmp 0x468f5b
mov byte [esp + 0x120], 1
jmp 0x468f5b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004508a0
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004651c0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x468f94
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x471464
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x633bd8]
cmp byte [eax + 0xc], 0
je 0x4715d1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4715ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x638cb4], 0
jne 0x4714b8
push 0x4715d8
call sub.KERNEL32.DLL_GetModuleHandleA_2
mov ebx, eax
push 0x4715e0
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cb4], eax
cmp dword [0x621a24], 0
jne 0x4715b3
push 0x4715f0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x621a24], eax
cmp dword [0x621a24], 0
je 0x4715b3
push 0x4715fc
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cb8], eax
push 0x47160c
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cbc], eax
push 0x471620
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cc0], eax
push 0x471638
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cc4], eax
push 0x471650
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cc8], eax
push 0x471664
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638ccc], eax
push 0x47167c
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cd0], eax
push 0x471694
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cd4], eax
push 0x4716b0
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cd8], eax
push 0x4716bc
mov eax, dword [0x621a24]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x638cdc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4715d1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x476ff0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040530c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x47703e
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040557c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47c170
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47c2a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x42af20]
call fcn.0042b08c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x47c279
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042b12c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.0040557c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x47c2b8
call fcn.00405624
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042b394
lea ecx, [ebp - 4]
mov edx, 0x47c2f4
mov eax, dword [ebp - 0xc]
call fcn.0042b7ec
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040fed4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47c25c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x47c300
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x621bd0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c263
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary_1
ret

Function at 0x47c350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x47c397
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47c37a
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47c38b
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x47c397
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x484404
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x484437
movzx eax, byte [ebx]
mov edx, dword [0x621bf0]
cmp al, byte [edx]
jne 0x484437
cmp dword [ebp + 8], 0x38
je 0x484441
mov eax, 0xfffffffa
jmp 0x484607
lea eax, [esi + 0x18]
call fcn.0040530c
cmp dword [esi + 0x20], 0
jne 0x48445b
mov dword [esi + 0x20], 0x484314
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x484468
mov dword [esi + 0x24], 0x48430c
cmp dword [ebp - 4], 0xffffffff
jne 0x484475
mov dword [ebp - 4], 6
test edi, edi
jge 0x484482
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x4844b6
cmp dword [ebp + 0x14], 9
jg 0x4844b6
cmp dword [ebp - 8], 8
jne 0x4844b6
cmp edi, 8
jl 0x4844b6
cmp edi, 0xf
jg 0x4844b6
cmp dword [ebp - 4], 0
jl 0x4844b6
cmp dword [ebp - 4], 9
jg 0x4844b6
cmp dword [ebp + 0x10], 0
jl 0x4844b6
cmp dword [ebp + 0x10], 2
jle 0x4844c0
mov eax, 0xfffffffe
jmp 0x484607
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.00484320
mov ebx, eax
test ebx, ebx
jne 0x4844e1
mov eax, 0xfffffffc
jmp 0x484607
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.00484320
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.00484320
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.00484320
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.00484320
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x4845ac
cmp dword [ebx + 0x38], 0
je 0x4845ac
cmp dword [ebx + 0x3c], 0
je 0x4845ac
cmp dword [ebx + 8], 0
jne 0x4845c7
lea eax, [esi + 0x18]
mov edx, 0x621c78
call fcn.00405570
mov eax, esi
call fcn.004849b4
mov eax, 0xfffffffc
jmp 0x484607
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.00484638
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x489b4c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x639e8c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x489b6e
shr eax, 1
xor eax, 0xedb88320
jmp 0x489b70
shr eax, 1
dec edx
jne 0x489b5c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x489b55
mov byte [0x63a28c], 1
pop esi
pop ebx
ret

Function at 0x489b8c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x63a28c], 0
jne 0x489ba3
call fcn.00489b4c
mov eax, edi
dec eax
test eax, eax
jl 0x489bcb
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x639e8c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x489bad
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x48c5d4
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.0x48c66e.0
jmp dword [ecx*4 + 0x48c607]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x48c639
sub dl, 8
je 0x48c648
jmp case.0x48c66e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c280
jmp case.0x48c66e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c2d8
jmp case.0x48c66e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x48c66e.0
movzx ecx, byte [ecx + 0x48c675]
jmp dword [ecx*4 + 0x48c686]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c384
jmp case.0x48c66e.0
cmp dl, 3
jne 0x48c6b3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c3d8
jmp case.0x48c66e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c394
jmp case.0x48c66e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c41c
jmp case.0x48c66e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x48c6de
sub dl, 8
je 0x48c6ea
jmp case.0x48c66e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c448
jmp case.0x48c66e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c4b4
jmp case.0x48c66e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x48c709
sub dl, 8
je 0x48c715
jmp case.0x48c66e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c570
jmp case.0x48c66e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c598
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
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x48c7b9
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.0048b814
test eax, eax
je 0x48c7b9
mov eax, ebx
call fcn.0048c7c4
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 0x48c752
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48c7c4
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 0x48c7f5
dec al
je 0x48c830
dec al
je 0x48c875
dec al
je 0x48c8de
jmp 0x48c968
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x48c968
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 0x48c805
jmp 0x48c968
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48c968
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 0x48c840
jmp 0x48c968
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48c968
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 0x48c8a4
xor ebp, ebp
jmp 0x48c8b4
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 0x48c8bd
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 0x48c885
jmp 0x48c968
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48c968
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 0x48c937
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.00489bd4
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 0x48c8f2
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ab2a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4ab2b9
add esp, 0xfffffff0
call fcn.00404714
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040578c
xor eax, eax
push ebp
push 0x4ab394
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004a53e0
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041ba48
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041ba48
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041ba48
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041ba48
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041ba70
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab39b
lea eax, [ebp - 4]
call fcn.0040530c
ret