joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450c66
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0xc
mov eax, 0x1505
mov ecx, 0x200
push ebx
push esi
mov edx, dword [esp + 0x18]
mov ebx, 0
mov esi, ebx
mov dword [esp + 0xc], ebx
movzx ebx, byte [edx + esi]
cmp ebx, 0x20
je 0x450df4
mov bl, byte [edx + esi]
mov esi, eax
shl esi, 2
sub esi, eax
lea eax, [eax + eax*8]
movzx ebx, bl
shl eax, 5
add esi, eax
add ebx, esi
mov esi, dword [esp + 0xc]
dec ecx
inc esi
mov eax, ebx
movzx ebx, byte [edx + esi]
cmp ebx, 0x20
je 0x450df4
mov bl, byte [edx + esi]
mov esi, eax
shl esi, 2
sub esi, eax
lea eax, [eax + eax*8]
movzx ebx, bl
shl eax, 5
add esi, eax
add ebx, esi
mov esi, dword [esp + 0xc]
dec ecx
add esi, 2
mov eax, ebx
movzx ebx, byte [edx + esi]
cmp ebx, 0x20
je 0x450df4
mov bl, byte [edx + esi]
mov esi, eax
shl esi, 2
sub esi, eax
lea eax, [eax + eax*8]
movzx ebx, bl
shl eax, 5
add esi, eax
add ebx, esi
mov esi, dword [esp + 0xc]
dec ecx
add esi, 3
mov eax, ebx
movzx ebx, byte [edx + esi]
cmp ebx, 0x20
je 0x450df4
mov bl, byte [edx + esi]
mov esi, eax
shl esi, 2
sub esi, eax
lea eax, [eax + eax*8]
movzx ebx, bl
shl eax, 5
add esi, eax
add ebx, esi
mov esi, dword [esp + 0xc]
dec ecx
add esi, 4
mov eax, ebx
movzx ebx, byte [edx + esi]
cmp ebx, 0x20
je 0x450df4
mov bl, byte [edx + esi]
mov esi, eax
shl esi, 2
sub esi, eax
lea eax, [eax + eax*8]
movzx ebx, bl
shl eax, 5
add esi, eax
add ebx, esi
mov esi, dword [esp + 0xc]
dec ecx
add esi, 5
mov eax, ebx
movzx ebx, byte [edx + esi]
cmp ebx, 0x20
je 0x450df4
mov bl, byte [edx + esi]
mov esi, eax
shl esi, 2
sub esi, eax
lea eax, [eax + eax*8]
movzx ebx, bl
shl eax, 5
add esi, eax
add ebx, esi
mov esi, dword [esp + 0xc]
dec ecx
add esi, 6
mov eax, ebx
movzx ebx, byte [edx + esi]
cmp ebx, 0x20
je 0x450df4
mov bl, byte [edx + esi]
mov esi, eax
shl esi, 2
sub esi, eax
lea eax, [eax + eax*8]
movzx ebx, bl
shl eax, 5
add esi, eax
add ebx, esi
mov esi, dword [esp + 0xc]
dec ecx
add esi, 7
mov eax, ebx
movzx ebx, byte [edx + esi]
cmp ebx, 0x20
je 0x450df4
mov bl, byte [edx + esi]
mov esi, eax
shl esi, 2
sub esi, eax
lea eax, [eax + eax*8]
movzx ebx, bl
shl eax, 5
add esi, eax
add ebx, esi
mov esi, dword [esp + 0xc]
add esi, 8
dec ecx
mov eax, ebx
mov ebx, esi
test ecx, ecx
jg 0x450c7e
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x4527bf
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
movsx edx, word [edx]
mov ebx, edx
test edx, edx
jle 0x45290c
cmp edx, 5
jle 0x4528e1
imul edx, dword [ecx], 0x10dcd
inc edx
mov dword [esp + 8], edx
imul esi, dword [esp + 8], 0x41c64e6d
add esi, 0x3039
mov dword [0x3a68448], esi
mov dl, byte [0x3a6844a]
xor dl, byte [eax]
imul esi, dword [esp + 8], 0x10dcd
mov byte [eax], dl
inc esi
imul edx, esi, 0x41c64e6d
add edx, 0x3039
mov dword [0x3a68448], edx
mov dl, byte [0x3a6844a]
xor dl, byte [eax + 1]
imul esi, esi, 0x10dcd
mov byte [eax + 1], dl
inc esi
imul edx, esi, 0x41c64e6d
add edx, 0x3039
mov dword [0x3a68448], edx
mov dl, byte [0x3a6844a]
xor dl, byte [eax + 2]
imul esi, esi, 0x10dcd
mov byte [eax + 2], dl
inc esi
imul edx, esi, 0x41c64e6d
add edx, 0x3039
mov dword [0x3a68448], edx
mov dl, byte [0x3a6844a]
xor dl, byte [eax + 3]
imul esi, esi, 0x10dcd
mov byte [eax + 3], dl
inc esi
imul edx, esi, 0x41c64e6d
add edx, 0x3039
mov dword [0x3a68448], edx
mov dl, byte [0x3a6844a]
xor dl, byte [eax + 4]
imul esi, esi, 0x10dcd
mov byte [eax + 4], dl
inc esi
mov dword [ecx], esi
imul esi, esi, 0x41c64e6d
add esi, 0x3039
mov dword [0x3a68448], esi
mov dl, byte [0x3a6844a]
xor dl, byte [eax + 5]
mov byte [eax + 5], dl
add eax, 6
sub ebx, 6
cmp ebx, 5
jg 0x4527e6
test ebx, ebx
jle 0x45290c
imul esi, dword [ecx], 0x10dcd
inc esi
mov dword [ecx], esi
imul esi, esi, 0x41c64e6d
add esi, 0x3039
mov dword [0x3a68448], esi
mov dl, byte [0x3a6844a]
xor dl, byte [eax]
mov byte [eax], dl
inc eax
dec ebx
test ebx, ebx
jg 0x4528e1
pop esi
pop ebx
add esp, 0xc
ret 0xc

Function at 0x453f47
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
add esp, 4
cmp eax, 0xffffffff
mov edx, dword [ebp + 8]
je 0x453f8a
mov ecx, dword [ebp + 0xc]
movsx edx, byte [edx]
movsx ecx, byte [ecx]
dec edx
dec ecx
mov word [0x3a68c20], dx
mov word [0x3a68c22], cx
mov edx, dword [0x3a68c20]
push edx
push eax
call sub.KERNEL32.dll_SetConsoleCursorPosition
mov esp, ebp
pop ebp
ret 8
Function at 0x469360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov eax, dword [ebp + 8]
sub esp, 4
push dword [eax]
call sub.USER32.dll_GetParent
add esp, 4
mov ebx, eax
push 0
mov edx, dword [ebp + 8]
push dword [edx]
call sub.USER32.dll_ShowWindow
sub esp, 4
push ebx
call sub.USER32.dll_SetFocus
push ebx
call sub.USER32.dll_GetParent
mov dword [ebp - 4], eax
push ebx
call sub.USER32.dll_GetDlgCtrlID
movsx eax, ax
add esp, 4
push 0x12e
push eax
call fcn.0046da90
push ebx
push eax
push 0x111
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46c4a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov eax, dword [0x3a6aaac]
mov ebx, dword [ebp + 8]
cmp dword [eax + 0x18], 0
jne 0x46c4c3
lea edx, [0x4b0354]
push edx
push ebx
call fcn.00468278
mov eax, dword [0x3a6aaac]
push 0
push dword [eax + 0x4d7f10]
call sub.USER32.dll_ShowWindow
mov eax, dword [0x3a6aaac]
mov ecx, dword [0x3a6aaac]
mov dword [eax + 8], 0xffffffff
mov eax, dword [0x3a6aaac]
mov edx, dword [eax + 0x24]
mov eax, dword [0x3a6aaac]
cmp edx, dword [ecx]
mov edx, dword [0x3a6aaac]
mov ecx, dword [0x3a6aaac]
jge 0x46c537
mov eax, dword [eax + 0x1c]
add eax, dword [edx + 0x24]
mov edx, dword [ecx]
cmp edx, eax
jg 0x46c537
sub esp, 4
lea ecx, [0x4b0350]
push ecx
push dword [0x3a6aaac]
push ebx
call fcn.00463810
push dword [ebx]
call sub.USER32.dll_UpdateWindow
add esp, 4
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
mov dword [ebp - 4], eax
push dword [ebx]
call sub.USER32.dll_GetDlgCtrlID
movsx eax, ax
add esp, 4
push 0x65
push eax
call fcn.0046da90
push dword [ebx]
push eax
push 0x111
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46cd48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [0x3f43b6c]
mov edx, dword [0x3f43b6c]
mov esi, dword [eax]
cmp esi, 9
je 0x46ceb0
cmp esi, 0xd
je 0x46ce81
cmp esi, 0x25
je 0x46ce70
cmp esi, 0x26
je 0x46ce0e
cmp esi, 0x27
je 0x46ced6
cmp esi, 0x28
jne 0x46cdf1
mov eax, dword [ecx + 0x2c]
mov ecx, dword [0x3f43b6c]
cmp eax, dword [edx + 0x28]
jge 0x46cf14
mov esi, dword [0x3f43b6c]
lea eax, [0x4b0418]
mov esi, dword [esi + 0x2c]
inc esi
mov dword [ecx + 0x2c], esi
push eax
push ebx
call fcn.00465590
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
mov esi, eax
push dword [ebx]
call sub.USER32.dll_GetDlgCtrlID
movsx eax, ax
add esp, 4
push 0x19a
push eax
call fcn.0046da90
push dword [ebx]
push eax
push 0x111
push esi
jmp 0x46cf0f
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
add esp, 4
push 0
push esi
push 0x100
jmp 0x46cf0e
mov esi, dword [0x3f43b6c]
mov eax, dword [0x3f43b6c]
mov ecx, dword [0x3f43b6c]
cmp dword [esi + 0x2c], 1
jle 0x46cf14
mov edx, dword [eax + 0x2c]
lea esi, [0x4b0418]
dec edx
mov dword [ecx + 0x2c], edx
push esi
push ebx
call fcn.00465590
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
mov esi, eax
push dword [ebx]
call sub.USER32.dll_GetDlgCtrlID
movsx eax, ax
add esp, 4
push 0x19a
push eax
call fcn.0046da90
push dword [ebx]
push eax
push 0x111
push esi
jmp 0x46cf0f
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
push 0xffffffff
jmp 0x46cee5
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
mov esi, eax
push dword [ebx]
call sub.USER32.dll_GetDlgCtrlID
movsx eax, ax
add esp, 4
push 0x191
push eax
call fcn.0046da90
push dword [ebx]
push eax
push 0x111
push esi
jmp 0x46cf0f
sub esp, 4
push 0x10
call sub.USER32.dll_GetKeyState
add esp, 4
test ax, ax
jge 0x46ced6
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
push 0xffffffff
jmp 0x46cee5
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
push 0
push dword [ebx]
push eax
call sub.USER32.dll_GetNextDlgTabItem
add esp, 4
mov esi, eax
test eax, eax
je 0x46cf14
sub esp, 4
push dword [ebx]
call sub.USER32.dll_GetParent
add esp, 4
push 0xffffffff
push esi
push 0x28
push eax
call sub.USER32.dll_PostMessageA
sub esp, 4
push dword [ebx]
call sub.USER32.dll_UpdateWindow
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46d1f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov edx, 0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
movzx ecx, byte [ebx]
test ecx, ecx
je 0x46d230
mov eax, ebx
inc edx
inc eax
movzx ecx, byte [eax]
test ecx, ecx
je 0x46d230
inc edx
inc eax
movzx ecx, byte [eax]
test ecx, ecx
je 0x46d230
inc edx
inc eax
movzx ecx, byte [eax]
test ecx, ecx
je 0x46d230
inc edx
inc eax
movzx ecx, byte [eax]
test ecx, ecx
jne 0x46d20c
test edx, edx
je 0x46d2b7
inc edx
sub esp, 4
mov esi, edx
push 0
call sub.USER32.dll_OpenClipboard
add esp, 4
test eax, eax
je 0x46d2b7
call sub.USER32.dll_EmptyClipboard
test eax, eax
jne 0x46d25f
call sub.USER32.dll_CloseClipboard
jmp 0x46d2b7
push esi
push 0x2002
call sub.KERNEL32.dll_GlobalAlloc
mov edi, eax
test eax, eax
jne 0x46d277
call sub.USER32.dll_CloseClipboard
jmp 0x46d2b7
sub esp, 4
push edi
call sub.KERNEL32.dll_GlobalLock
add esp, 4
test eax, eax
je 0x46d2a6
sub esp, 4
push esi
push ebx
push eax
call sub.KERNEL32.dll_RtlMoveMemory
push edi
call sub.KERNEL32.dll_GlobalUnlock
add esp, 4
push edi
push 1
call sub.USER32.dll_SetClipboardData
call sub.USER32.dll_CloseClipboard
sub esp, 4
push edi
call sub.KERNEL32.dll_GlobalFree
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46d2c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
setne bl
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
test ebx, ebx
mov byte [esi], 0
je 0x46d2eb
xor ecx, ecx
mov dword [eax], ecx
mov edi, dword [edx]
cmp edi, 1
jle 0x46d3de
sub esp, 4
push 1
call sub.USER32.dll_IsClipboardFormatAvailable
add esp, 4
test eax, eax
je 0x46d3de
sub esp, 4
push 0
call sub.USER32.dll_OpenClipboard
add esp, 4
test eax, eax
je 0x46d3de
sub esp, 4
push 1
call sub.USER32.dll_GetClipboardData
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x46d3d9
sub esp, 4
push dword [ebp - 8]
call sub.KERNEL32.dll_GlobalLock
add esp, 4
test eax, eax
je 0x46d3d9
mov edx, 0
movzx ecx, byte [eax]
test ecx, ecx
je 0x46d389
mov ecx, eax
inc edx
inc ecx
movzx ebx, byte [ecx]
test ebx, ebx
je 0x46d389
inc edx
inc ecx
movzx ebx, byte [ecx]
test ebx, ebx
je 0x46d389
inc edx
inc ecx
movzx ebx, byte [ecx]
test ebx, ebx
je 0x46d389
inc edx
inc ecx
movzx ebx, byte [ecx]
test ebx, ebx
jne 0x46d365
test edx, edx
je 0x46d3de
inc edx
mov ebx, edx
cmp edi, edx
jge 0x46d3b1
mov ecx, edi
dec ecx
sub esp, 4
mov ebx, esi
push ecx
push eax
push esi
call sub.KERNEL32.dll_RtlMoveMemory
add esp, 4
add ebx, edi
dec ebx
mov byte [ebx], 0
mov ebx, edi
jmp 0x46d3bf
sub esp, 4
push ebx
push eax
push esi
call sub.KERNEL32.dll_RtlMoveMemory
add esp, 4
cmp dword [ebp - 4], 0
je 0x46d3cb
dec ebx
mov edi, dword [ebp + 0x10]
mov dword [edi], ebx
sub esp, 4
push dword [ebp - 8]
call sub.KERNEL32.dll_GlobalUnlock
add esp, 4
call sub.USER32.dll_CloseClipboard
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46dd70
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0x18]
add eax, 7
and eax, 0xfffffff8
cmp eax, 0x1000
jle 0x46dda9
sub edi, 0x1000
sub eax, 0x1000
test dword [edi], eax
cmp eax, 0x1000
jg 0x46dd95
sub edi, eax
test dword [edi], eax
mov esp, edi
mov dword [ebp - 8], edi
mov ecx, edx
mov esi, dword [ebp + 8]
call fcn.0046e521
mov eax, dword [ebp - 4]
mov edi, esp
mov ebx, eax
add eax, 7
and eax, 0xfffffff8
cmp eax, 0x1000
jle 0x46dde8
sub edi, 0x1000
sub eax, 0x1000
test dword [edi], eax
cmp eax, 0x1000
jg 0x46ddd4
sub edi, eax
test dword [edi], eax
mov esp, edi
mov dword [ebp - 4], edi
mov ecx, ebx
mov esi, dword [ebp - 8]
mov eax, edx
call fcn.0046f930
mov eax, 0x20
call fcn.0046e6bd
push ebx
mov edx, dword [ebp - 4]
push edx
call fcn.0046f8b0
cmp eax, 0x104
jle 0x46de31
lea esp, [ebp - 0x18]
lea esi, [0x4b0434]
sub esp, 4
push esi
call fcn.0046ded5
add esp, 4
mov edi, eax
jmp 0x46de9d
lea esp, [ebp - 0x18]
test eax, eax
jge 0x46de3a
xor eax, eax
sub esp, 4
lea ebx, [0x3f56658]
lea esi, [0x3f56658]
push eax
push dword [ebp + 8]
push ebx
call fcn.0046dfe3
push esi
call sub.KERNEL32.dll_DeleteFileA
add esp, 4
test eax, eax
jne 0x46de98
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jne 0x46de82
sub esp, 4
lea edi, [0x4b0434]
push edi
call fcn.0046ded5
add esp, 4
mov edi, eax
jmp 0x46de9d
sub esp, 4
lea ebx, [0x4b0430]
push ebx
call fcn.0046ded5
add esp, 4
mov edi, eax
jmp 0x46de9d
mov edi, 0
lea esp, [ebp - 0x18]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46dfe3
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 4
push ebx
push esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, ecx
mov ebx, ecx
test ecx, ecx
jle 0x46e04a
mov esi, dword [esp + 0x10]
cmp ecx, 6
jle 0x46e03b
mov al, byte [edx]
sub ebx, 7
mov byte [esi], al
mov al, byte [edx + 1]
mov byte [esi + 1], al
mov al, byte [edx + 2]
mov byte [esi + 2], al
mov al, byte [edx + 3]
mov byte [esi + 3], al
mov al, byte [edx + 4]
mov byte [esi + 4], al
mov al, byte [edx + 5]
mov byte [esi + 5], al
mov al, byte [edx + 6]
mov byte [esi + 6], al
add edx, 7
add esi, 7
cmp ebx, 6
jg 0x46e001
test ebx, ebx
jle 0x46e04a
mov al, byte [edx]
dec ebx
mov byte [esi], al
lea edx, [edx + 1]
lea esi, [esi + 1]
test ebx, ebx
jg 0x46e03b
add ecx, dword [esp + 0x10]
pop esi
pop ebx
add esp, 4
mov byte [ecx], 0
ret 0xc
Function at 0x4712d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00489db0
mov eax, dword [0x3f5a180]
mov esi, dword [ebp + 8]
test eax, eax
je 0x4712f8
test esi, esi
je 0x4712ed
mov eax, dword [esi]
jmp 0x4712ef
xor eax, eax
push eax
call fcn.004aa240
add esp, 4
test esi, esi
je 0x471300
mov esi, dword [esi]
jmp 0x471302
xor esi, esi
push esi
call fcn.0049ef87
pop esi
nop
nop
nop
nop
nop
nop
nop
Function at 0x481950
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], 1
mov dword [0x43ff6c8], ebx
mov dword [0x43ff6cc], 0x3f567e0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
lea eax, [ebp - 4]
push eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ebx
push ecx
call fcn.00481ba0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ecx + esi - 1]
cmp esi, edi
ja 0x481ae5
cmp esi, edi
ja 0x481ae5
cmp dword [0x4bfecc], 1
jle 0x4819cc
movsx ecx, byte [esi]
push 8
push ecx
call fcn.0049fe53
add esp, 8
jmp 0x4819da
movsx edx, byte [esi]
mov eax, dword [str.________________________________H]
mov al, byte [eax + edx*2]
and eax, 8
test eax, eax
je 0x4819e1
inc esi
jmp 0x4819ab
mov ecx, dword [0x43ff6c8]
mov eax, dword [ebp - 8]
inc ecx
cmp ecx, eax
mov dword [0x43ff6c8], ecx
jle 0x481a49
cmp eax, 1
jne 0x481a2a
push 0x43ff6cc
push 0
push 0x2c
mov dword [ebp - 8], 0xb
call fcn.00481ba0
add esp, 0xc
test eax, eax
jne 0x481ae7
mov ecx, dword [0x43ff6cc]
mov edx, dword [0x3f567e0]
mov dword [ecx], edx
jmp 0x481a49
add eax, 0xa
push 0x43ff6cc
mov dword [ebp - 8], eax
shl eax, 2
push eax
call fcn.00481be0
add esp, 8
test eax, eax
jne 0x481ae7
mov ecx, dword [0x43ff6cc]
mov eax, dword [0x43ff6c8]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4 - 4], edx
cmp esi, edi
ja 0x481ad0
cmp byte [esi], 0x22
jne 0x481a8f
inc esi
test ebx, ebx
je 0x481a85
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x22
jne 0x481a8f
cmp esi, edi
ja 0x481a8a
mov ecx, dword [ebp - 4]
mov byte [ecx], 0x22
mov ecx, dword [ebp - 4]
inc ecx
inc esi
mov dword [ebp - 4], ecx
jmp 0x481a8a
mov ebx, 1
cmp byte [esi], 0x22
je 0x481a64
test ebx, ebx
jne 0x481abf
cmp dword [0x4bfecc], 1
jle 0x481aac
movsx edx, byte [esi]
push 8
push edx
call fcn.0049fe53
add esp, 8
jmp 0x481abb
movsx eax, byte [esi]
mov ecx, dword [str.________________________________H]
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
jne 0x481ad0
mov eax, dword [ebp - 4]
mov dl, byte [esi]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
inc ecx
inc esi
mov dword [ebp - 4], ecx
jmp 0x481a5b
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
mov ecx, dword [ebp - 4]
inc ecx
cmp esi, edi
mov dword [ebp - 4], ecx
jbe 0x4819b3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4836a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x3f59ef8]
push ebx
xor eax, eax
push esi
test edx, edx
push edi
jbe 0x4836c8
mov ecx, 0x3f56ef8
mov esi, dword [ebp + 8]
mov edi, dword [ecx]
cmp esi, edi
je 0x4836e5
inc eax
add ecx, 8
cmp eax, edx
jb 0x4836b7
mov eax, dword [ebp + 0xc]
push 0x800
push 0x3f5938c
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4836f1
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [eax*8 + 0x3f56efc]
pop edi
pop esi
pop ebx
pop ebp
ret
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
push 0x3f5938c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x483722
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
test esi, esi
jne 0x48374f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
jne 0x483779
call ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov eax, dword [edx + 0x18]
add eax, ecx
mov ecx, dword [0x3f59ef8]
mov dword [ecx*8 + 0x3f56ef8], edx
mov dword [ecx*8 + 0x3f56efc], eax
inc ecx
mov dword [0x3f59ef8], ecx
pop ebp
ret
Function at 0x484530
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi + 0xc]
add eax, edx
cmp byte [eax], 0xcc
jne 0x484558
mov edx, dword [esi + 8]
cmp ecx, edx
jae 0x484558
mov bl, byte [eax + 1]
inc eax
inc ecx
cmp bl, 0xcc
je 0x48454a
mov edx, dword [esi + 8]
pop esi
cmp ecx, edx
pop ebx
jb 0x484565
xor eax, eax
pop ebp
ret
mov dl, byte [eax]
xor ecx, ecx
cmp dl, 0xe9
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x485550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
shl eax, 1
movsx edx, byte [eax + 0x4b0ae4]
cmp ecx, edx
jle 0x485577
movsx eax, byte [eax + 0x4b0ae5]
mov dword [esi + 0xc], eax
cmp ecx, 2
jne 0x485589
cmp dword [esi + 0x1c], 1
jne 0x485589
mov dword [esi + 0x10], 3
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4856e4
movsx ecx, byte [eax*2 + 0x4b0ae4]
cmp ecx, dword [esi + 0x10]
jne 0x4856e4
cmp eax, 0x1c
jne 0x4855cc
mov ecx, dword [esi + 0x18]
mov eax, ecx
and eax, 0x80000003
jns 0x4855bb
dec eax
or eax, 0xfffffffc
inc eax
je 0x4855c6
mov edx, 4
sub edx, eax
mov eax, edx
lea ebx, [ecx + eax + 4]
jmp 0x4855d1
mov ebx, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov edi, ecx
mov dword [ebp - 4], ebx
lea edx, [eax + ebx]
shl edi, 9
cmp edx, edi
jle 0x485624
mov edx, dword [esi]
sub edx, eax
lea eax, [ecx + 1]
mov dword [esi + 4], eax
lea ecx, [ebp + 8]
shl eax, 9
push ecx
push eax
mov dword [ebp + 8], edx
call fcn.00481be0
add esp, 8
test eax, eax
jne 0x4856e9
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 8]
add ecx, eax
mov dword [esi], ecx
mov ecx, dword [esi + 4]
mov edi, ecx
lea edx, [eax + ebx]
shl edi, 9
cmp edx, edi
jg 0x4855e6
mov eax, dword [esi + 0xc]
cmp eax, 0x1c
je 0x48568f
mov ecx, dword [esi]
and eax, 0xff
pop edi
mov edx, dword [ecx]
and edx, 0xffff0000
xor edx, eax
mov dword [ecx], edx
mov eax, dword [esi + 0x20]
and eax, 0xff
and edx, 0xff00ffff
shl eax, 0x10
or eax, edx
mov dword [ecx], eax
mov edx, dword [esi + 0x1c]
shl edx, 0x18
and eax, 0xffffff
or edx, eax
mov dword [ecx], edx
mov eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x18]
mov dword [ecx + 8], edx
mov ecx, dword [esi]
mov eax, dword [esi + 8]
add ecx, 0xc
add eax, 0xc
mov dword [esi], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov cl, byte [esi + 0xc]
mov byte [eax], cl
mov dx, word [esi + 0x18]
mov word [eax + 2], dx
mov byte [eax + 1], 0
mov edi, dword [esi + 0x14]
lea edx, [eax + 4]
mov eax, dword [esi + 0x18]
xor ecx, ecx
test eax, eax
jle 0x4856c6
mov eax, edx
sub edi, edx
mov bl, byte [edi + eax]
inc ecx
mov byte [eax], bl
mov ebx, dword [esi + 0x18]
inc eax
cmp ecx, ebx
jl 0x4856b5
mov ebx, dword [ebp - 4]
lea eax, [edx + ebx - 4]
mov dword [esi + 0xc], 0
mov dword [esi], eax
mov eax, dword [esi + 8]
add eax, ebx
pop edi
mov dword [esi + 8], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xc000003e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 0x12c]
push edi
mov ebx, dword [esi]
and ecx, 2
je 0x487f32
mov edx, dword [esi + 8]
cmp edx, 5
jl 0x487f32
cmp edx, 0x11
jg 0x487f32
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x48800f
lea esi, [ebx + ecx - 1]
mov cl, byte [edi + ebx]
mov dl, cl
xor dl, byte [esi]
xor cl, dl
mov byte [edi + ebx], cl
mov cl, byte [esi]
xor cl, dl
inc edi
mov byte [esi], cl
dec esi
cmp edi, eax
jl 0x487f11
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movsx edx, byte [eax + 0x120]
mov eax, dword [esi + 8]
mov dword [ebp + 0xc], edx
cmp eax, 0x19
jl 0x487f49
cmp eax, 0x1f
jle 0x487f5b
cmp eax, 0x28
jl 0x48800f
cmp eax, 0x30
jg 0x48800f
test ecx, ecx
je 0x487f92
test edx, edx
jne 0x487f92
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x487f92
lea esi, [ebx + ecx - 1]
mov cl, byte [edi + ebx]
mov dl, byte [esi]
xor dl, cl
xor cl, dl
mov byte [edi + ebx], cl
mov cl, byte [esi]
xor cl, dl
inc edi
mov byte [esi], cl
dec esi
cmp edi, eax
jl 0x487f77
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov eax, dword [eax*4 + 0x4b0fdc]
cmp eax, 0xffffffff
jne 0x487fad
pop edi
pop esi
mov eax, 0x4000005f
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*4]
add eax, edx
mov eax, dword [eax*4 + 0x4b10a0]
test eax, eax
je 0x48800f
lea ecx, [ebp - 0x10]
push ecx
push 0
push ebx
call eax
add esp, 0xc
cmp eax, 1
je 0x487fdd
pop edi
pop esi
mov eax, 0x4000005f
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp eax, 4
jne 0x487ff8
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov eax, dword [edx]
pop ebx
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp eax, 8
jne 0x48800f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret