joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ec43c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
push 0xcc0020
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
inc eax
push eax
mov eax, dword [edi]
call fcn.0042e7d8
call fcn.00429ca0
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
push 0
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 8]
push eax
mov eax, dword [edi]
call fcn.0042e7d8
call fcn.00429ca0
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
dec ebx
test ebx, ebx
jl 0x4ec4ea
inc ebx
xor esi, esi
push 0xcc0020
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [edi]
call fcn.0042e7d8
call fcn.00429ca0
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push 1
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, esi
inc eax
push eax
mov eax, dword [edi]
call fcn.0042e7d8
call fcn.00429ca0
push eax
call sub.gdi32.dll_BitBlt
inc esi
dec ebx
jne 0x4ec4a3
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f5d24
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0047cc74
push 0
mov eax, ebx
call fcn.004668b8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x318], 1
pop ebx
ret
Function at 0x503974
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5039e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5f3668]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x5039cf
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00503964
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x501ee0]
call fcn.0050499c
mov dword [0x5f36d0], eax
mov eax, dword [ebp - 4]
call fcn.005037a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5039ec
lea eax, [ebp - 8]
call fcn.00406550
ret

Function at 0x5047ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x504960
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x501c58]
call fcn.00417e34
test eax, eax
jl 0x504859
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.00503a68
and eax, 0x7f
mov eax, dword [eax*4 + 0x5f3668]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x5048df
mov eax, dword [ebx]
call fcn.00404ab0
test eax, eax
jle 0x5048df
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
call fcn.005cd0a4
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00404844
mov eax, dword [ebx]
call fcn.00404ab0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x504894
mov eax, ebx
mov edx, 0x504978
call fcn.00404ab8
mov eax, dword [ebx]
call fcn.00404ab0
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x24]
mov eax, dword [ebx]
call fcn.00409fb4
mov eax, dword [ebp - 0x24]
call fcn.0040581c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x28]
call fcn.00503964
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x50491d
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x504984
call fcn.0040a85c
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404844
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x4082fc]
call fcn.0040d358
call fcn.00404160
mov eax, dword [ebp - 0x10]
call fcn.00504764
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x504935
lea eax, [ebp - 4]
call fcn.0040f124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504967
lea eax, [ebp - 0x28]
call fcn.00406550
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404814
lea eax, [ebp - 8]
call fcn.004047f0
ret
Function at 0x50560c
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.00403358
mov dword [esp], 0x3c
mov eax, dword [0x5f4c98]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret

Function at 0x506184
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x506302
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x5062ec
mov eax, dword [0x5f4fd4]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x5f4fd4]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0047e2dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00445c0c
xor edx, edx
push ebp
push 0x5062e5
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x50624b
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00406550
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x381]
call fcn.005041ac
push eax
mov eax, dword [0x5f4c98]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x506241
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.0040420c
jmp 0x5062ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x506291
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004457d8
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00506018
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x50626b
push 0
mov edx, 0x505fb0
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00445390
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5062ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00445c58
mov eax, dword [0x5f4fd4]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.0047e2dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506309
lea eax, [ebp - 0x10]
call fcn.00406550
ret
Function at 0x510d90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x5f7f10
test esi, esi
jne 0x510daa
xor eax, eax
jmp 0x510eac
cmp dword [ebp], 0
jne 0x510db5
call fcn.00510d20
xor ebx, 0xffffffff
cmp edi, 8
jb 0x510e85
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x510dc1
test edi, edi
jbe 0x510ea7
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x510e89
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x521974
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x521a2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404efc
mov eax, dword [0x5f5010]
cmp dword [eax], 2
jne 0x5219e3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040521c
mov eax, dword [ebx]
call fcn.00405078
push eax
mov eax, dword [ebx]
call fcn.00405068
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405078
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040521c
jmp 0x521a15
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a344
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405058
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521a35
lea eax, [ebp - 0x3f0]
call fcn.004047f0
ret
Function at 0x52bf48
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x60], 0
jne 0x52bf60
mov eax, ebx
call fcn.0052bd34
cmp dword [ebx + 0x54], 0
jne 0x52bf6d
mov eax, ebx
call fcn.0052bc94
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x52c0f9
cmp dword [ebx + 0x54], 0
je 0x52c0f9
mov edx, esp
mov eax, esi
call fcn.005cc57c
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0052bc18
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x52bfd3
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x52bfbc
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x52bfc8
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x52bfe9
call fcn.004668b8
mov esi, eax
jmp 0x52bfec
mov esi, dword [ebx + 0x64]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x52bffd
or esi, 0xffffffff
jmp 0x52c007
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x54]
call fcn.0045f748
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x54]
call fcn.0045f76c
mov edx, dword [esp]
mov eax, dword [ebx + 0x54]
call fcn.0045f794
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x54]
call fcn.0045f7b8
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.005cc5c8
mov edx, ebp
lea eax, [esp + 0x10]
call fcn.005ccd8c
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x60]
call fcn.0042e7d8
call fcn.00429ca0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.004668b8
push eax
mov eax, dword [0x5f47ac]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x54]
call fcn.004668b8
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x532a80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005300e0
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.005cc62c
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x24]
jl 0x532bc0
cmp edi, dword [ebp - 0x1c]
jge 0x532bc0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0053065c
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x532afc
mov ebx, esi
sar ebx, 1
jns 0x532afc
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x532b15
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x532b15
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x532bc0
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x532b32
cmp eax, dword [ebp - 8]
jle 0x532b32
mov dword [ebp - 0xc], 1
jmp 0x532bc0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x532b43
mov dword [ebp - 0xc], 0xffffffff
jmp 0x532bc0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x532b5f
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x532b5f
mov dword [ebp - 0xc], 5
jmp 0x532bc0
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x532b8f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x532b8f
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x532b86
mov dword [ebp - 0xc], 4
jmp 0x532bc0
mov dword [ebp - 0xc], 2
jmp 0x532bc0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x532bc0
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x532bc0
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x532bb9
mov dword [ebp - 0xc], 4
jmp 0x532bc0
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x532bcc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005300e0
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.005cc640
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0xc], edx
cmp edi, dword [ebp - 0x24]
jl 0x532d08
cmp edi, dword [ebp - 0x1c]
jge 0x532d08
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0053065c
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x532c44
mov ebx, esi
sar ebx, 1
jns 0x532c44
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x532c5d
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x532c5d
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x532d08
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x532c7a
cmp eax, dword [ebp + 8]
jle 0x532c7a
mov dword [ebp - 8], 1
jmp 0x532d08
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x532c8b
mov dword [ebp - 8], 0xffffffff
jmp 0x532d08
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x532ca7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x532ca7
mov dword [ebp - 8], 5
jmp 0x532d08
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x532cd7
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x532cd7
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x532cce
mov dword [ebp - 8], 4
jmp 0x532d08
mov dword [ebp - 8], 2
jmp 0x532d08
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x532d08
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x532d08
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x532d01
mov dword [ebp - 8], 4
jmp 0x532d08
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x568ad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x568c04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x308]
mov dl, 1
mov eax, dword [0x551e70]
call fcn.00552ff4
mov esi, eax
mov dl, 2
mov eax, esi
call fcn.0043c454
mov edx, 0xa
mov eax, esi
call fcn.0043c470
mov dl, 1
mov eax, esi
call fcn.0043c424
lea eax, [ebp - 4]
push eax
mov edi, ebx
and edi, 0x7f
mov eax, dword [0x5f4d90]
mov eax, dword [eax + edi*4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00503964
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00503ff4
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00460008
mov eax, dword [ebp - 4]
call fcn.00504764
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
xor ecx, ecx
xor edx, edx
call fcn.00503a84
mov ecx, eax
mov edx, 1
mov eax, esi
call fcn.00556614
lea eax, [ebp - 8]
call fcn.0040f124
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x30c]
mov eax, esi
call fcn.00554a54
mov dword [esi + 0xc], edi
mov dl, 1
mov eax, esi
call fcn.0045f4ec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [esi + 0x124], eax
mov dword [esi + 0x120], 0x568d08
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x308]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, esi
call fcn.005689c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x568c0b
lea eax, [ebp - 0x10]
call fcn.00406550
lea eax, [ebp - 0xc]
call fcn.004047f0
ret

Function at 0x568c14
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, 0xff00000c
call fcn.00460178
cmp dword [0x5f3bd0], 0
je 0x568c4b
mov eax, dword [0x5f3bd0]
push eax
call sub.comctl32.dll_ImageList_GetImageCount
test eax, eax
jne 0x568c70
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x20000
push 0x568d04
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x5f3bd0], eax
cmp dword [0x5f3bd0], 0
je 0x568cda
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00576674
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [0x5f3bd0]
call fcn.0046d210
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov byte [eax + 0xac], 1
mov byte [eax + 0x93], 0
mov edx, 0x1fffffff
call fcn.00576258
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00576c64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov dl, 1
call fcn.0057667c
push ebp
xor eax, eax
call fcn.00568ad0
pop ecx
push ebp
mov al, 1
call fcn.00568ad0
pop ecx
push ebp
mov al, 0xe
call fcn.00568ad0
pop ecx
push ebp
mov al, 2
call fcn.00568ad0
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x569f18
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], ecx
mov edi, eax
mov ebx, dword [ebp + 0xc]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
cmp esi, dword [ebp - 4]
jge 0x569f4d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
call fcn.00569d70
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.00556830
test al, al
je 0x56a03d
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.00430be0
push eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00430b1c
dec eax
pop edx
sub eax, edx
jl 0x56a03d
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x30]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.00430be0
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.00430b1c
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x56a031
inc edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x16]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x17]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x18]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp + 8]
mov byte [ecx + 3], al
inc dword [ebp - 0x2c]
dec edi
jne 0x569fc7
inc dword [ebp - 0x30]
dec dword [ebp - 0x34]
jne 0x569f99
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8