joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c6330
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f648
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004cade0
mov esi, dword [ebp - 0x24]
test al, al
je 0x4c63e1
cmp esi, dword [ebp - 0x20]
je 0x4c63dd
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x1388
call fcn.004c5d00
add esp, 4
test al, al
jne 0x4c63b6
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
lea ecx, [ebp - 0x24]
call fcn.004cb310
push 0x1388
call fcn.004cafc0
add esp, 0x14
mov byte [ebp - 0xd], bl
cmp al, bl
je 0x4c63ba
mov byte [ebp - 0xd], 1
push str.Shell_TrayWnd
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
push eax
call esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call esi
mov esi, dword [ebp - 0x24]
jmp 0x4c63e1
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x4c6406
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
push edx
mov eax, esi
call fcn.004cc1b0
add esp, 4
push esi
call fcn.0052b74a
add esp, 4
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c7d90
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x57ca10
push 4
push 0
push 0x57ca30
mov dword [esi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, esi
pop ebp
ret
Function at 0x4c8b20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5745ad
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
xor edi, edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebp - 0xec], ebx
mov esi, edx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebp - 4], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
mov byte [ebp - 4], 2
mov dword [ebx + 0xb8], str.navigator.gmx.net
mov dword [ebx + 0xbc], str.unitedinternet_toolbar
mov dword [ebx + 0xc0], eax
cmp eax, edi
je 0x4c8c5e
cmp esi, edi
je 0x4c8bc0
mov ecx, esi
call fcn.004c9db0
push ebx
mov ecx, eax
mov edx, esi
mov dword [ebx + 4], eax
call fcn.004c91a0
mov dword [ebx], esi
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jne 0x4c8c3e
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4c8bd8
mov edi, eax
call fcn.004c90f0
xor edi, edi
push 0x59b118
xor ecx, ecx
xor edx, edx
lea esi, [ebp - 0xd8]
call fcn.004c6440
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd4]
cmp esi, ecx
je 0x4c8c23
mov eax, dword [esi]
cmp eax, dword [ebx + 4]
je 0x4c8c16
mov edi, eax
call fcn.004c90f0
mov ecx, dword [ebp - 0xd4]
xor edi, edi
add esi, 4
cmp esi, ecx
jne 0x4c8c00
mov esi, dword [ebp - 0xd8]
cmp dword [ebx + 4], edi
jne 0x4c8c31
cmp esi, ecx
je 0x4c8c31
mov ecx, dword [esi]
mov dword [ebx + 4], ecx
cmp esi, edi
je 0x4c8c3e
push esi
call fcn.0052b74a
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
push 0x1f
push str.iac_manager___os_util.cpp1346_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.00402e40
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0x10
jb 0x4c8c90
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xdc], edx
jmp 0x4c8c99
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.0052b87d
push 0x5a94e8
lea edx, [ebp - 0xe8]
push edx
mov dword [ebp - 0xe8], vtable.pix::error.0
call fcn.00532abb
int3
Function at 0x4c9850
Capabilities:
Create process on windows

Disassembly:
push 3
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg al
ret
Function at 0x4caa00
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
mov dword [esi], 0xffffffff
call fcn.00530110
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4caab6
mov edx, dword [ebp - 4]
push 0x15f90
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4caa95
cmp eax, 0x102
jne 0x4caaac
mov eax, dword [ebp - 4]
push 0
push eax
mov dword [esi], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
lea ecx, [ebp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4caaac
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x4cade0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f4f6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp eax, ecx
je 0x4cae3f
mov edx, dword [ebp - 0x248]
push edx
push ecx
call fcn.004cc130
mov ebx, dword [edi + 4]
mov esi, eax
mov eax, dword [ebp - 0x248]
push eax
mov eax, esi
call fcn.004cc1b0
add esp, 0xc
mov dword [edi + 4], esi
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
cmp eax, 0xffffffff
je 0x4caebb
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push eax
lea edx, [ebp - 0x24c]
push edx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
call fcn.004cbf50
push 0x228
lea eax, [ebp - 0x23c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00530110
mov edx, dword [ebp - 0x24c]
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
push edx
mov dword [ebp - 0x240], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4caec2
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.004cb470
xor al, al
jmp 0x4caf9d
mov byte [ebp - 0x241], 1
lea eax, [ebp - 0x21c]
push str.iexplore.exe
push eax
call fcn.0052d8ad
add esp, 8
test eax, eax
jne 0x4caf69
mov ecx, dword [ebp - 0x238]
push ecx
push ebx
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x4caf63
mov edx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
push eax
lea eax, [ebp - 0x254]
push eax
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
call fcn.004cbf50
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.004cb3d0
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x250]
cmp esi, ebx
je 0x4caf69
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4caf69
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4caf69
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
jmp 0x4caf69
mov byte [ebp - 0x241], bl
mov edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x240]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4caec9
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.004cb470
mov al, byte [ebp - 0x241]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
Function at 0x4cafc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f4b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
je 0x4cb00f
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ecx]
mov eax, dword [esi]
push 0
push eax
call edi
add esi, 8
cmp esi, dword [ebp + 0x10]
jne 0x4cb000
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004c5d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add esp, 4
mov byte [ebp - 0xd], al
test ecx, ecx
je 0x4cb04f
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
push edx
mov eax, ecx
call fcn.004cc1b0
mov eax, dword [ebp + 0xc]
add esp, 4
push eax
call fcn.0052b74a
mov al, byte [ebp - 0xd]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x570c50
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ebx
jb 0x4cb0ae
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov byte [esp + 0x13], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x14]
push edx
or esi, 1
push esi
push ebx
push eax
mov dword [esp + 0x58], ebx
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4cb1b8
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push ebx
lea eax, [esp + 0x24]
push eax
and esi, 0x300
push ebx
mov dword [esp + 0x34], esi
mov esi, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4cb1ad
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x4cb12e
cmp eax, 2
jne 0x4cb1ad
mov eax, dword [esp + 0x18]
shr eax, 1
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], 1
cmp eax, 1
jbe 0x4cb1ad
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 1
call fcn.00408f30
push esi
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x20]
call fcn.00412a20
test eax, eax
jne 0x4cb19c
mov eax, dword [esp + 0x18]
cmp eax, 1
jbe 0x4cb19c
push eax
lea ecx, [esp + 0x30]
call fcn.00408f30
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp + 8]
push esi
call fcn.004092d0
cmp esi, ebx
je 0x4cb1a9
push esi
call fcn.0052b74a
add esp, 4
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x4cb1b8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cb1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 0x201
xor esi, esi
push esi
push str.SOFTWARE11_Mail__Media_GmbHToolbar_IE8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi], 0
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cb237
mov esi, dword [ebp - 4]
test eax, eax
jne 0x4cb237
lea ecx, [ebp - 8]
push ecx
push edi
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4cb237
mov eax, dword [ebp - 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
test eax, eax
sete bl
test esi, esi
je 0x4cb245
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ccba0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov ebx, eax
cmp ebx, edi
jne 0x4ccc25
xor eax, eax
cmp ecx, edi
je 0x4ccc0d
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov ebx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
cmp eax, edi
je 0x4ccc49
cmp ecx, edi
je 0x4ccc30
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x38], pe_nt_image_headers32
call esi
test eax, eax
jne 0x4cccab
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x10]
call fcn.004ccba0
mov ebx, eax
cmp ebx, edi
jne 0x4cccf9
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x38], pe_nt_image_headers32
call esi
test eax, eax
je 0x4ccc71
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4cccbe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edi
call fcn.004ccaf0
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4ccce0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4ccd08
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
Function at 0x4cd8f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
cmp ecx, dword [ebp + 0xc]
je 0x4cd996
mov dl, byte [ecx]
mov esi, dword [ebp + 0x10]
movzx ecx, dl
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], cl
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
and dl, 3
inc ecx
inc esi
shl dl, 4
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], ecx
movzx edx, dl
cmp ecx, dword [ebp + 0xc]
je 0x4cd99f
mov cl, byte [ecx]
movzx ebx, cl
shr ebx, 4
or edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], dl
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
and cl, 0xf
inc edx
inc esi
add cl, cl
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], edx
cmp edx, dword [ebp + 0xc]
je 0x4cd9c0
movzx edx, byte [edx]
add cl, cl
movzx ecx, cl
mov ebx, edx
shr ebx, 6
or ecx, ebx
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], cl
mov ecx, dword [ebp + 0x10]
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp + 0x10], ecx
mov byte [ecx], dl
mov ecx, dword [ebp + 8]
inc dword [ebp + 0x10]
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [ebp + 0xc]
jne 0x4cd901
mov edx, dword [ebp + 0x10]
pop esi
mov dword [eax], edx
pop ebx
pop ebp
ret
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, esi
inc esi
mov dword [ebp + 0x10], esi
mov byte [ecx], dl
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0x3d
mov byte [ecx + 1], 0x3d
add ecx, 2
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret
mov edx, esi
inc esi
add cl, cl
movzx ecx, cl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp + 0x10], esi
mov byte [edx], cl
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 1]
pop esi
mov byte [ecx], 0x3d
mov dword [eax], edx
pop ebx
pop ebp
ret
Function at 0x4cecb0
Capabilities:
Create process on windows

Disassembly:
push 3
push 0
push eax
push 0x59c04c
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg al
ret
Function at 0x4cf620
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
push edi
mov dword [ebx], 1
cmp edx, 0x100
je 0x4cf68c
cmp edx, 0x101
je 0x4cf68c
cmp edx, 0x104
je 0x4cf656
cmp edx, 0x105
jne 0x4cf79f
mov eax, dword [ebp + 0x14]
cmp eax, 0x12
je 0x4cf79f
cmp eax, 0x24
je 0x4cf799
cmp eax, 0x25
je 0x4cf799
cmp eax, 0x27
jne 0x4cf79f
pop edi
pop esi
mov dword [ebx], 0
xor eax, eax
pop ebx
pop ebp
ret 0x20
mov ecx, dword [ebp + 0x14]
lea eax, [ecx - 0x70]
cmp eax, 0x17
jbe 0x4cf799
cmp ecx, 0xbb
je 0x4cf787
cmp ecx, 0xbd
je 0x4cf787
cmp ecx, 0x6b
je 0x4cf787
cmp ecx, 0x6d
je 0x4cf787
cmp ecx, 0x30
je 0x4cf787
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x4cf79f
cmp edx, 0x100
jne 0x4cf79f
cmp ecx, 9
je 0x4cf743
cmp ecx, 0xd
je 0x4cf721
cmp ecx, 0x1b
jne 0x4cf79f
mov esi, dword [esi + 0x10]
test esi, esi
je 0x4cf799
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov dword [ebx], 0
xor eax, eax
pop ebx
pop ebp
ret 0x20
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4cf799
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov dword [ebx], 0
xor eax, eax
pop ebx
pop ebp
ret 0x20
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x4cf79f
cmp dword [esi + 8], 0
je 0x4cf799
push 0
push 0x10
call edi
mov edx, dword [esi + 8]
shr eax, 0xf
and eax, 1
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov dword [ebx], 0
xor eax, eax
pop ebx
pop ebp
ret 0x20
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4cf79f
mov dword [ebx], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x20

Function at 0x4cf880
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5772e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
push eax
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov eax, dword [esi]
cmp edi, eax
je 0x4cf8d2
test eax, eax
je 0x4cf8d0
push eax
mov eax, dword [esi + 4]
call eax
mov dword [esi], edi
cmp dword [esi], 0
jne 0x4cf91f
push 0x20
push 0x59c25c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.00402e40
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x30]
lea esi, [ebp - 0x40]
call fcn.004d22e0
push 0x5a959c
mov ecx, esi
push ecx
call fcn.00532abb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
Function at 0x4cf970
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x576d78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
movzx eax, word [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
push 0
push 3
push 0
push 0
push eax
mov word [esi + 8], ax
mov ecx, dword [ecx]
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov eax, dword [esi]
cmp edi, eax
je 0x4cf9da
test eax, eax
je 0x4cf9d8
push eax
mov eax, dword [esi + 4]
call eax
mov dword [esi], edi
cmp dword [esi], 0
jne 0x4cfa2e
push 0x23
push str.InternetConnectW___win_inet.cpp82_
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.00402e40
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [esp + 0x1c]
lea esi, [esp + 0xc]
call fcn.004d22e0
push 0x5a959c
mov ecx, esi
push ecx
call fcn.00532abb
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 8
Function at 0x4d1160
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572418
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
mov dword [ebp - 0x40], esi
mov dword [esi + 4], ebx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
call fcn.004d14e0
cmp dword [esi], ebx
jne 0x4d120a
push 0x1d
push str.CreateMutexW___mutex.cpp105_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402e40
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0x10
jb 0x4d11e3
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
jmp 0x4d11e9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0052b87d
push 0x5a95d8
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], vtable.pix::ipc_error.0
call fcn.00532abb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4d126c
push 0x1d
push str.CreateMutexW___mutex.cpp109_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402e40
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x4d1245
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
jmp 0x4d124b
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0052b87d
push 0x5a95d8
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], vtable.pix::ipc_error.0
call fcn.00532abb
mov ecx, dword [esi]
push 0x1f0001
call fcn.004d6440
mov edi, dword [esi]
add esp, 4
call fcn.004d67f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4