joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498028
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x498059
dec al
je 0x49809a
dec al
je 0x4980de
dec al
je 0x498149
jmp 0x4981d3
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4981d3
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x498069
jmp 0x4981d3
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4981d3
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4980aa
jmp 0x4981d3
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4981d3
mov esi, 1
mov al, 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
jge 0x49810c
xor ebp, ebp
jmp 0x49811d
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x498126
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4980ee
jmp 0x4981d3
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4981d3
mov esi, 1
mov al, 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]
jl 0x4981a1
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, 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
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00495dec
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49815d
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49b608
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x49b641
mov eax, dword [0x5be7a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x49b634
push ebx
push 0x49b648
call fcn.0042c2b4
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x49b668
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0049b608
xor edx, edx
push ebp
push 0x49b737
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x49b709
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x49b6f8
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004027e0
mov eax, dword [ebp - 4]
call fcn.0049b5c0
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b6ff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x49b748
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.0049b608
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
jne 0x49b76a
xor edi, edi
jmp 0x49b789
push ebx
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov ecx, ebp
dec ecx
mov eax, edi
call fcn.00407b98
call fcn.00407adc
mov edi, eax
push ebx
call sub.kernel32.dll_GlobalUnlock
mov eax, esi
call fcn.0049b5dc
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49b7b8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049b608
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x49b82a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x49b7fe
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403bc4
jmp 0x49b805
mov eax, ebx
call fcn.00403a10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b831
cmp dword [ebp - 8], 0
je 0x49b821
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0049b5dc
ret
Function at 0x49b838
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49b916
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049b608
xor edx, edx
push ebp
push 0x49b8f9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x49b8c2
mov edx, ebx
mov eax, dword [0x415e68]
call fcn.0041a488
test al, al
je 0x49b8b2
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041a35c
call fcn.00403508
jmp 0x49b900
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x49b87d
lea edx, [ebp - 8]
mov eax, dword [0x5be1f0]
call fcn.00404b64
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406434]
call fcn.00409f10
call fcn.00403468
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b900
mov eax, dword [ebp - 4]
call fcn.0049b5dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b91d
lea eax, [ebp - 8]
call fcn.00403a10
ret

Function at 0x49b924
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049b608
xor eax, eax
push ebp
push 0x49b97c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b983
mov eax, dword [ebp - 4]
call fcn.0049b5dc
ret

Function at 0x49b98c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049b608
xor edx, edx
push ebp
push 0x49b9e1
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b9e8
mov eax, dword [ebp - 4]
call fcn.0049b5dc
ret
Function at 0x49ba58
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049b608
xor eax, eax
push ebp
push 0x49bacd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049b5c0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041a45c
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x49bab7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bad4
mov eax, dword [ebp - 4]
call fcn.0049b5dc
ret

Function at 0x49badc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049b608
xor eax, eax
push ebp
push 0x49bb51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049b5c0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x49bb3b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bb58
mov eax, dword [ebp - 4]
call fcn.0049b5dc
ret

Function at 0x49bbac
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049b608
xor eax, eax
push ebp
push 0x49bbf0
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bbf7
mov eax, dword [ebp - 4]
call fcn.0049b5dc
ret
Function at 0x4a0a60
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0cf4
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetUserDefaultLangID
mov ebx, eax
push pe_nt_image_headers32
lea eax, [ebp - 0x105]
push eax
movzx edi, bx
push edi
call sub.kernel32.dll_VerLanguageNameA
mov esi, ebx
and si, 0x3ff
mov eax, esi
sub ax, 7
je 0x4a0abf
sub ax, 0x12
je 0x4a0b54
jmp 0x4a0be9
mov eax, 0x5babac
mov edx, dword [0x5babd8]
call fcn.00403a64
mov eax, 0x5babb0
mov edx, dword [0x5babdc]
call fcn.00403a64
mov eax, 0x5babb4
mov edx, dword [0x5bac04]
call fcn.00403a64
mov eax, 0x5babb8
mov edx, dword [0x5bac08]
call fcn.00403a64
mov eax, 0x5babbc
mov edx, dword [0x5bac0c]
call fcn.00403a64
mov eax, 0x5babc0
mov edx, dword [0x5bac10]
call fcn.00403a64
mov eax, 0x5babc4
mov edx, dword [0x5bac14]
call fcn.00403a64
mov eax, 0x5babc8
mov edx, dword [0x5bac18]
call fcn.00403a64
mov eax, 0x5babcc
mov edx, dword [0x5bac1c]
call fcn.00403a64
jmp 0x4a0c79
mov eax, 0x5babac
mov edx, dword [0x5babe0]
call fcn.00403a64
mov eax, 0x5babb0
mov edx, dword [0x5babe4]
call fcn.00403a64
mov eax, 0x5babb4
mov edx, dword [0x5babe8]
call fcn.00403a64
mov eax, 0x5babb8
mov edx, dword [0x5babec]
call fcn.00403a64
mov eax, 0x5babbc
mov edx, dword [0x5babf0]
call fcn.00403a64
mov eax, 0x5babc0
mov edx, dword [0x5babf4]
call fcn.00403a64
mov eax, 0x5babc4
mov edx, dword [0x5babf8]
call fcn.00403a64
mov eax, 0x5babc8
mov edx, dword [0x5babfc]
call fcn.00403a64
mov eax, 0x5babcc
mov edx, dword [0x5bac00]
call fcn.00403a64
jmp 0x4a0c79
mov eax, 0x5babac
mov edx, dword [0x5babd0]
call fcn.00403a64
mov eax, 0x5babb0
mov edx, dword [0x5babd4]
call fcn.00403a64
mov eax, 0x5babb4
mov edx, dword [0x5babe8]
call fcn.00403a64
mov eax, 0x5babb8
mov edx, dword [0x5babec]
call fcn.00403a64
mov eax, 0x5babbc
mov edx, dword [0x5babf0]
call fcn.00403a64
mov eax, 0x5babc0
mov edx, dword [0x5babf4]
call fcn.00403a64
mov eax, 0x5babc4
mov edx, dword [0x5babf8]
call fcn.00403a64
mov eax, 0x5babc8
mov edx, dword [0x5babfc]
call fcn.00403a64
mov eax, 0x5babcc
mov edx, dword [0x5bac00]
call fcn.00403a64
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x105]
mov ecx, 0x101
call fcn.00403c3c
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
movzx eax, si
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
shr edi, 0xa
mov dword [ebp - 0x110], edi
mov byte [ebp - 0x10c], 0
lea edx, [ebp - 0x120]
mov ecx, 2
mov eax, 0x4a0d0c
call fcn.0040818c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0cfb
lea eax, [ebp - 0x124]
call fcn.00403a10
ret
Function at 0x4a8d60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a8ef7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a8830
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040a778
cmp al, 2
jne 0x4a8da6
dec esi
mov eax, ebx
call fcn.004a8b44
test al, al
je 0x4a8e97
test esi, esi
jge 0x4a8dbb
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a8830
mov eax, dword [ebp - 0x204]
call fcn.00403c8c
cmp edi, eax
jge 0x4a8e02
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a8830
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x5bec4c]
and eax, 0xff
bt dword [edx], eax
jae 0x4a8e02
inc edi
mov eax, dword [ebx + 0x138]
cmp esi, eax
jl 0x4a8e10
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.004a8d3c
cmp edi, esi
je 0x4a8e8f
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x4a8e36
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.00425dd0
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.00425dd0
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x140], esi
jmp 0x4a8ede
test esi, esi
jge 0x4a8e9d
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a8830
mov eax, dword [ebp - 0x204]
call fcn.00403c8c
cmp esi, eax
jl 0x4a8ed3
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.004a8830
mov eax, dword [ebp - 0x204]
call fcn.00403c8c
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.004a8d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8efe
lea eax, [ebp - 0x204]
call fcn.00403a10
ret
Function at 0x4abf18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x118]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4ac09e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x150]
mov eax, dword [ebx + 0x10]
call fcn.0041754c
cmp byte [ebp + 8], 0
je 0x4abf71
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0041741c
jmp 0x4abf7f
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.0041741c
mov eax, dword [ebx + 0x10]
call fcn.00417544
dec eax
jle 0x4abfc5
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.00417414
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.00417544
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.004174dc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x4ac027
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.00417f6c
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f4680
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403e50
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
setne al
pop ebx
ret

Function at 0x4f7af8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f7baf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5be818]
cmp dword [eax], 0
je 0x4f7b39
push 0
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.00425dd0
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [ebx + 0x288]
call fcn.00489e54
mov eax, dword [0x5be7a0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov edx, dword [0x5beb34]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.00403cd8
mov edx, dword [0x5be874]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004a4948
test eax, eax
jne 0x4f7b99
lea eax, [ebp - 4]
mov edx, dword [0x5beae0]
mov edx, dword [edx]
call fcn.00403aa8
mov eax, dword [0x5be258]
mov eax, dword [eax]
call fcn.00425dd0
push eax
mov eax, dword [ebp - 4]
call fcn.00403e50
mov edx, eax
mov ecx, 1
pop eax
call fcn.00599dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7bb6
lea eax, [ebp - 4]
call fcn.00403a10
ret

Function at 0x4fbd64
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [0x5be818]
cmp dword [edx], 0
je 0x4fbda8
mov eax, dword [eax + 0x288]
cmp byte [eax + 0xc0], 0
je 0x4fbd94
push 0
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.00425dd0
push eax
call sub.user32.dll_ShowWindow
jmp 0x4fbda8
push 4
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.00425dd0
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x502c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x502e08
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x5bcb50], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov eax, dword [eax + 0x130]
call fcn.004831c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov eax, dword [eax + 0x130]
call fcn.004831a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x434]
call fcn.004430a4
mov edx, eax
mov eax, dword [0x5bff10]
call fcn.0043b7e8
mov ebx, eax
test ebx, ebx
je 0x502dd7
mov eax, ebx
call fcn.0043b620
dec eax
test eax, eax
jl 0x502d7b
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov eax, dword [eax + 0x130]
call fcn.00483078
mov esi, eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0043b650
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00482b50
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0043b66c
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0043b6dc
mov edx, eax
xor dl, 1
mov eax, esi
call fcn.00482af4
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x502d18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov eax, dword [eax + 0x130]
call fcn.004830b4
test eax, eax
jle 0x502dd7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov eax, dword [eax + 0x130]
xor edx, edx
call fcn.004830e4
mov cl, 1
mov edx, 3
call fcn.00482c84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov eax, dword [eax + 0x130]
xor edx, edx
call fcn.004830e4
mov cl, 1
mov edx, 2
call fcn.00482c84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov eax, dword [eax + 0x130]
call fcn.004833a0
mov byte [0x5bcb50], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502e0f
lea eax, [ebp - 0x10]
call fcn.00403a10
ret
Function at 0x505a28
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x505b61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], 0
mov dword [ebx], edx
mov eax, dword [0x5be124]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x24], eax
mov eax, dword [0x5be124]
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x50], 0x40
mov dword [ebx + 0x14], ecx
mov eax, dword [0x5bcc44]
sub eax, esi
mov dword [ebx + 0x18], eax
mov edi, dword [ebx + 0x50]
mov eax, ecx
cdq
idiv edi
imul edi
add eax, edi
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x38], 0x15
xor eax, eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x38]
dec eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
mov eax, dword [ebx + 0x38]
dec eax
imul dword [ebx + 0x50]
add esi, eax
dec esi
mov dword [ebx + 0x4c], esi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x50]
cdq
idiv ecx
imul ecx
add eax, ecx
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x58], eax
xor eax, eax
mov dword [ebx + 0x54], eax
mov byte [ebx + 0x5c], 1
mov edx, ebx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
call fcn.00588928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505b68
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dl, 1
call fcn.0042205c
mov eax, dword [0x5bcc50]
mov dword [0x5bcc68], eax
mov eax, dword [0x5bcc50]
add eax, dword [0x5bcc48]
mov dword [0x5bcc70], eax
mov eax, dword [0x5bcc68]
cmp eax, dword [0x5bcc70]
jne 0x505b3e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x264]
mov edx, 2
call fcn.00421b2c
jmp 0x505b58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x268]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x264]
call fcn.00421b2c
mov eax, dword [ebp - 4]
call fcn.005058d8
ret