joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x46b1dc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x46b1dc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x46b1c6
push eax
call ebp
test ax, ax
jl 0x46b1d4
inc esi
add edi, 4
cmp esi, 6
jb 0x46b1b8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0046ae90
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x46da00
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x46da60
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x46da60
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x46da60
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x46da60
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x46da70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x470e1d
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x40c
test ah, 8
push esi
mov esi, ecx
je 0x470f39
push ebp
call fcn.00470bb0
push eax
call sub.IMM32.dll_ImmGetContext
mov ebp, eax
test ebp, ebp
je 0x470f2c
push ebx
push edi
lea eax, [esp + 0x34]
push 0x18e
push eax
push 0x800
push ebp
call sub.IMM32.dll_ImmGetCompositionStringW
cdq
sub eax, edx
mov ecx, esi
mov edi, eax
sar edi, 1
call fcn.00484e90
test al, al
je 0x470ea5
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.0048b810
mov ebx, eax
lea edx, [esp + 0x1cc]
push ebx
push edx
lea eax, [esp + 0x44]
push edi
push eax
call fcn.0048b860
mov edx, dword [esi]
add esp, 0x18
lea eax, [esp + 0x1c4]
mov ecx, esi
push 0
push ebx
push eax
mov byte [esp + ebx + 0x1d0], 0
call dword [edx + 0x40]
jmp 0x470ee6
push 0
push 0
lea ecx, [esp + 0x1cc]
push 0x18f
push ecx
lea edx, [esp + 0x44]
push edi
push edx
push 0
call fcn.00470f60
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x470ee6
mov al, byte [esp + edi + 0x1c4]
mov ecx, esi
push eax
call fcn.0047f5f0
inc edi
cmp edi, ebx
jl 0x470ed2
mov ecx, dword [esi + 0x3280]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00478ea0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 2
push edx
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call sub.IMM32.dll_ImmSetCompositionWindow
push ebp
mov ecx, esi
call fcn.00470bb0
push eax
call sub.IMM32.dll_ImmReleaseContext
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
add esp, 0x40c
ret 8
push eax
mov eax, dword [esp + 0x418]
push eax
push 0x10f
mov ecx, esi
call fcn.00470bb0
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
add esp, 0x40c
ret 8

Function at 0x470f60
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
lea ecx, [esp]
push 0xa
push ecx
and eax, 0xffff
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x470f8b
add esp, 0xc
ret
lea edx, [esp]
push edx
call fcn.004e8af4
add esp, 4
add esp, 0xc
ret
Function at 0x47538d
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
push 0
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edi
push ebx
push edx
push eax
push ecx
push 0x5a8128
push 0
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push 0xb
call fcn.0050ebde
push eax
push 0
mov ecx, esi
call fcn.0050e4f9
test eax, eax
jne 0x4753e3
pop edi
pop esi
pop ebx
ret 0x1c
call fcn.00515e57
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x1c]
push 0
push eax
push 0
push edx
push edi
push ebx
push 0
push 0
push 0x42300000
push str.Source
push 0x57addc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x888
push eax
mov dword [esi + 0x98], eax
call edi
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x98]
push 0
push 0
push 0x889
push eax
call edi
mov ecx, dword [esi + 0x98]
push 5
push ecx
mov dword [esi + 0xa0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
ret 0x1c
Function at 0x482fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51c908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esi + 0x336c]
mov eax, dword [esi + 0xc34]
push ebx
mov dword [esp + 0x34], ebx
mov edx, dword [ecx + 0x4a4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
call fcn.0050c32e
mov edi, dword [esp + 0x3c]
push edi
call fcn.0050c305
add esp, 8
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x48304d
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x18], edi
jle 0x483051
push ebp
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov cl, byte [eax + ebp]
mov byte [eax + edx], cl
inc eax
cmp eax, edi
jl 0x48303b
pop ebp
jmp 0x483051
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
mov byte [esp + 0x20], bl
call dword [edx + 0x78]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
push ecx
call fcn.0050c32e
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8

Function at 0x488520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51ca08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004888d0
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor eax, eax
push ebx
mov dword [esp + 0x20], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x30]
push ebp
push eax
lea edi, [esi + 0x10]
push ecx
push edx
push edi
mov dword [esi], 0x557b28
call fcn.004885c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ebx
push ebp
push eax
push ecx
push edx
call fcn.00488620
add esp, 0x2c
mov dword [esi + 0x4c], eax
push edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 0xc], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x489a30
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 4]
test al, al
je 0x489a47
mov eax, dword [ecx + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
Function at 0x489ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51ca73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push 0x90
call fcn.0050c305
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x489f76
mov ecx, esi
call fcn.00489dd0
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], ebx
call fcn.004d3ed0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], 5
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 8
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi], 0x557cac
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x489fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51ca93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x557cac
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 1
je 0x48a00f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x28]
push eax
call fcn.0050c32e
mov eax, dword [esi + 0x34]
mov dword [esi + 0x28], ebx
push eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0050c32e
add esp, 8
lea ecx, [esi + 0x14]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x14], bl
call fcn.004d3ef0
mov ecx, esi
call fcn.00489e10
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x48cdb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.0048ca70
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x48cfc5
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.00490680
test al, al
jne 0x48cfbf
mov ecx, edi
call fcn.004906b0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.00490bd0
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x48cf9f
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x48ce27
xor esi, esi
mov ecx, ebx
call fcn.0048e590
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.00490ca0
mov ebp, eax
cmp dword [ebp], 1
jne 0x48ce82
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x420
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x48cec0
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x820
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0048ec00
lea ecx, [ebx + 8]
call fcn.00490be0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push esi
call fcn.0048ca50
mov eax, dword [ebp]
mov dword [esp + 0x1c], esi
cmp eax, 1
jne 0x48cf01
mov eax, dword [ebp + 0xc]
mov edi, 0x21
add eax, esi
mov dword [esp + 0x1c], eax
jmp 0x48cf06
mov edi, 0x22
cmp dword [esp + 0x18], 1
jle 0x48cf13
or edi, 0x80
mov ecx, ebx
call fcn.0048e590
sub eax, dword [esp + 0x20]
je 0x48cf25
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
dec ecx
cmp edx, ecx
jne 0x48cf46
mov cl, byte [esp + 0x12]
or edi, 0x100
test cl, cl
je 0x48cf46
or edi, 0x1000
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
sub esp, 0x20
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0048ec00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x48ce25
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.004906b0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x48cfbf
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0048ebc0
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x48cfd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.0048ca70
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x48d1f8
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.00490680
test al, al
jne 0x48d1f2
mov ecx, edi
call fcn.004906b0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.00490c90
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x48d1d2
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x48d047
xor esi, esi
mov ecx, ebx
call fcn.0048e590
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.00490ca0
mov ebp, eax
cmp dword [ebp], esi
jne 0x48d0a1
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x440
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x48d0df
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x840
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0048ec00
lea ecx, [ebx + 8]
call fcn.00490cb0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0048ca50
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x48d125
mov ecx, dword [ebp + 0xc]
mov esi, 0x41
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x48d12a
mov esi, 0x42
mov edi, dword [esp + 0x18]
cmp edi, 1
jle 0x48d139
or esi, 0x80
mov ecx, ebx
call fcn.0048e590
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
je 0x48d14f
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jne 0x48d16e
mov al, byte [esp + 0x12]
or esi, 0x100
test al, al
je 0x48d16e
or esi, 0x1000
mov eax, dword [ebp + 4]
sub esp, 0x20
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], ecx
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0048ec00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x48d045
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.004906b0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x48d1f2
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0048ebc0
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x490ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51cc81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
call fcn.004888d0
xor ebx, ebx
mov eax, 0x557d40
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
xor eax, eax
mov dword [esi + 0x40], ebx
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
push 0x80
xor edi, edi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], ecx
push ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x5c], 0xffffff
mov dword [esi + 0x64], 0x808080
call fcn.00491530
mov eax, dword [eax]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x6c], eax
call fcn.00491530
mov ecx, dword [eax]
push 0xc0
push 0xc0
mov dword [esi + 0x74], ecx
push 0xc0
lea ecx, [esp + 0x1c]
call fcn.00491530
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x7c], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4cf8f0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x51ce00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
mov edx, ecx
dec ecx
test edx, edx
mov dword [esp + 0x14], ebx
mov eax, esi
je 0x4cf93e
inc ecx
movsx edx, byte [eax]
shl ebp, 4
xor ebp, edx
inc eax
dec ecx
jne 0x4cf932
mov eax, ebp
xor edx, edx
mov ecx, 0x1f
div ecx
mov eax, dword [esp + 0x10]
mov edi, dword [eax + edx*4]
cmp edi, ebx
je 0x4cf993
cmp ebp, dword [edi]
jne 0x4cf98c
mov eax, dword [edi + 4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4cf97f
cmp cl, bl
je 0x4cf97b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4cf97f
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4cf95b
xor eax, eax
jmp 0x4cf984
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4cf9ae
mov esi, dword [esp + 0x2c]
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x4cf954
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
cmp ecx, ebx
je 0x4cf9e4
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.004cf8f0
jmp 0x4cfa27
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], ebx
mov dword [esi + 0xc], 0x40
call fcn.004cf750
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x4cfa1f
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4cfa21
mov esi, dword [esp + 0x28]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push 0x5a8c70
mov dword [esp + 0x28], 1
mov dword [esi + 0xc], 0x40
call fcn.004cf750
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x4cfa1f
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4cfa21
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4cfa40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51ce37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x18]
xor ebx, ebx
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.004cf8f0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x64
push edx
push esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.004cfb00
mov esi, dword [esp + 0x48]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x48], 2
mov dword [esi + 0xc], 0x40
call fcn.004cf750
mov edx, dword [esp + 0x38]
mov dword [esi], eax
neg eax
sbb eax, eax
mov dword [esp + 0x24], 1
and eax, edx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x48], bl
push edx
mov dword [esp + 0x3c], ebx
call fcn.0050c32e
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x4d6980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51d0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], al
call fcn.004d62e0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x4d69c5
xor eax, eax
jmp 0x4d69ca
mov eax, dword [eax + 8]
add eax, ecx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004d7310
mov esi, dword [esp + 0x48]
mov dl, byte [esp + 0x28]
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x558830]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004d6060
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4d6a48
mov al, byte [ecx - 1]
cmp al, bl
je 0x4d6a3e
cmp al, 0xff
je 0x4d6a3e
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.0050c32e
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x4dd3d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51d338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004dd7c0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5b4cec
call fcn.004eabf4
mov ecx, dword [0x558830]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004d6060
mov esi, 0x5588bc
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4dd477
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4dd46e
cmp al, 0xff
je 0x4dd46e
dec al
mov byte [ecx], al
jmp 0x4dd477
push ecx
call fcn.0050c32e
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00507d30
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4dd4bd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4dd4b4
cmp al, 0xff
je 0x4dd4b4
dec al
mov byte [ecx], al
jmp 0x4dd4bd
push ecx
call fcn.0050c32e
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004eac7b
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret