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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
push edi
push 0x3f
mov eax, dword [eax]
add edx, 8
mov dword [ebp - 4], eax
mov dword [ebp - 8], 8
pop ecx
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
shr edi, 4
shl eax, 0x1c
or eax, edi
xor eax, dword [edx - 8]
mov edi, eax
mov ebx, eax
shr edi, 0x18
and edi, ecx
shr ebx, 0x10
mov edi, dword [edi*4 + 0x4e24dc]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4e26dc]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor edi, dword [ebx*4 + 0x4e28dc]
xor edi, dword [eax*4 + 0x4e2adc]
mov eax, dword [edx - 4]
xor eax, dword [ebp - 4]
xor esi, edi
mov edi, eax
mov ebx, eax
shr edi, 0x18
and edi, ecx
shr ebx, 0x10
mov edi, dword [edi*4 + 0x4e25dc]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4e27dc]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor edi, dword [ebx*4 + 0x4e29dc]
xor edi, dword [eax*4 + 0x4e2bdc]
xor esi, edi
mov eax, esi
mov edi, esi
shl eax, 0x1c
shr edi, 4
or eax, edi
xor eax, dword [edx]
add edx, 0x10
mov edi, eax
mov ebx, eax
shr edi, 0x18
and edi, ecx
shr ebx, 0x10
mov edi, dword [edi*4 + 0x4e24dc]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4e26dc]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor edi, dword [ebx*4 + 0x4e28dc]
xor edi, dword [eax*4 + 0x4e2adc]
mov eax, dword [edx - 0xc]
xor eax, esi
xor dword [ebp - 4], edi
mov edi, eax
shr edi, 0x18
mov ebx, eax
and edi, ecx
shr ebx, 0x10
mov edi, dword [edi*4 + 0x4e25dc]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4e27dc]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor edi, dword [ebx*4 + 0x4e29dc]
xor edi, dword [eax*4 + 0x4e2bdc]
xor dword [ebp - 4], edi
dec dword [ebp - 8]
jne 0x4825a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov dword [eax], ecx
leave
ret 8
Function at 0x4826c0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push dword [esi]
call fcn.0047ca9b
push dword [esi + 4]
mov dword [ebp + 8], eax
call fcn.0047ca9b
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0048283c
mov eax, dword [edi + 8]
add esp, 0x10
push 8
lea edx, [eax + 8]
pop esi
push 0x3f
pop ecx
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
shr edi, 4
shl eax, 0x1c
or eax, edi
xor eax, dword [edx - 8]
mov edi, eax
mov ebx, eax
shr edi, 0x18
and edi, ecx
shr ebx, 0x10
mov edi, dword [edi*4 + 0x4e24dc]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4e26dc]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor edi, dword [ebx*4 + 0x4e28dc]
xor edi, dword [eax*4 + 0x4e2adc]
xor dword [ebp + 8], edi
mov eax, dword [edx - 4]
xor eax, dword [ebp - 4]
mov edi, eax
mov ebx, eax
shr edi, 0x18
and edi, ecx
shr ebx, 0x10
mov edi, dword [edi*4 + 0x4e25dc]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4e27dc]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor edi, dword [ebx*4 + 0x4e29dc]
xor edi, dword [eax*4 + 0x4e2bdc]
xor dword [ebp + 8], edi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
shl eax, 0x1c
shr edi, 4
or eax, edi
xor eax, dword [edx]
add edx, 0x10
mov edi, eax
mov ebx, eax
shr edi, 0x18
and edi, ecx
shr ebx, 0x10
mov edi, dword [edi*4 + 0x4e24dc]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4e26dc]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor edi, dword [ebx*4 + 0x4e28dc]
xor edi, dword [eax*4 + 0x4e2adc]
xor dword [ebp - 4], edi
mov eax, dword [edx - 0xc]
xor eax, dword [ebp + 8]
mov edi, eax
mov ebx, eax
shr edi, 0x18
and edi, ecx
shr ebx, 0x10
mov edi, dword [edi*4 + 0x4e25dc]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4e27dc]
mov ebx, eax
shr ebx, 8
and ebx, ecx
and eax, ecx
xor edi, dword [ebx*4 + 0x4e29dc]
xor edi, dword [eax*4 + 0x4e2bdc]
xor dword [ebp - 4], edi
dec esi
jne 0x4826fd
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004828e8
push dword [ebp - 4]
mov edi, dword [ebp + 8]
call fcn.0047ca9b
mov esi, dword [ebp + 0xc]
push edi
mov dword [esi], eax
call fcn.0047ca9b
add esp, 0x10
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x482b74
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, eax
push esi
mov esi, dword [esp + 0x10]
or edx, ecx
or edx, esi
test dl, 3
jne 0x482ba0
shr esi, 2
je 0x482baf
sub ecx, eax
mov edx, dword [ecx + eax]
xor dword [eax], edx
add eax, 4
dec esi
jne 0x482b93
pop esi
ret
test esi, esi
jbe 0x482baf
sub ecx, eax
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x482ba6
pop esi
ret
Function at 0x4840c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x100]
mov byte [ebp - 8], cl
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 0x101]
mov byte [ebp - 0xc], al
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
jmp 0x4840fb
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jae 0x4841fc
mov ecx, dword [ebp - 8]
and ecx, 0xff
add ecx, 1
and ecx, 0x800000ff
jns 0x484123
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 8], cl
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax + edx]
mov edx, dword [ebp - 0xc]
and edx, 0xff
add ecx, edx
and ecx, 0x800000ff
jns 0x484152
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0xc], cl
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + eax]
mov byte [ebp - 4], dl
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov cl, byte [esi + ecx]
mov byte [eax + edx], cl
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax + edx]
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov bl, byte [eax + edx]
add ecx, ebx
and ecx, 0x800000ff
jns 0x4841d5
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0x18], cl
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dl, byte [edx]
xor dl, byte [eax + ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x4840f2
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 8]
mov byte [ecx + 0x100], dl
mov eax, dword [ebp - 0x1c]
mov cl, byte [ebp - 0xc]
mov byte [eax + 0x101], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x49043a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x49045a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00493aa1
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x49047d
test byte [esp + 8], 2
je 0x49047d
call fcn.00493b14
mov dword [eax], 0xd
call fcn.00493b1d
mov dword [eax], 5
jmp 0x490456
xor eax, eax
ret
Function at 0x4987eb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x50a5b0
cmp edx, dword [eax]
je 0x49880d
add eax, 8
inc ecx
cmp eax, 0x50a640
jl 0x4987fe
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x50a5b0]
jne 0x49893b
mov eax, dword [0x50df3c]
cmp eax, 1
je 0x498915
test eax, eax
jne 0x49883e
cmp dword [0x507d64], 1
je 0x498915
cmp edx, 0xfc
je 0x49893b
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x498875
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0048f100
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00490310
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4988b8
lea eax, [ebp - 0x1a4]
push eax
call fcn.00490310
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4e9e68
push edi
call fcn.00497ef0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0048f100
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0048f110
lea eax, [ebp - 0xa0]
push 0x4e9e48
push eax
call fcn.0048f110
push dword [esi + 0x50a5b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0048f110
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0049b335
add esp, 0x2c
pop edi
jmp 0x49893b
lea eax, [ebp + 8]
lea esi, [esi + 0x50a5b4]
push 0
push eax
push dword [esi]
call fcn.00490310
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x4a4452
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a448a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a73f2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a73ca
jmp 0x4a4496
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a449a
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x50d9c0
mov ecx, edi
call fcn.004a70d4
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x4a44ed
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4a4500
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004a73f2
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004a73ca
jmp 0x4a4500
mov ecx, esi
call fcn.004a68c2
test eax, eax
je 0x4a4500
push edi
mov ecx, eax
call fcn.004a4452
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8
Function at 0x4a60ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a60ef
call fcn.004bbac6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a60ef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a60e6
xor eax, eax
jmp 0x4a60f7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a60fd
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a77d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4a77f7
cmp dword [edi + 0x3c], 0
jne 0x4a77f7
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004bbac6
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004a7824
pop edi
pop esi
pop ebx
ret 8

Function at 0x4a7872
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004bbac6
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a78a3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004a78b6
pop edi
pop esi
pop ebx
ret 8

Function at 0x4b987c
Capabilities:
Create http request

Disassembly:
mov eax, 0x4d66ac
call fcn.004909c4
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4b98b4
call fcn.004bbac6
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4b98d9
push eax
push dword [esi + 4]
call fcn.004ba7a1
jmp 0x4b98e5
push esi
push eax
mov ecx, 0x50d9f8
call fcn.004b98f6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x4b9aa1
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4d66fb
call fcn.004909c4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004aa756
mov eax, dword [0x506840]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x50d9f8
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004b98f6
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004a70d4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00486bd5
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004a7084
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004a6f4b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4bb2f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.004bbac6
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4bb330
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4bb330
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4bb334
xor eax, eax
jmp 0x4bb3b2
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004a7fba
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4bb36c
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4bb356
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004bb4a3
push ebx
mov edi, eax
call fcn.004a7fe3
test edi, edi
pop ecx
je 0x4bb3ae
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004bb26c
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004bb3b7
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4c6c5f
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4c6c87
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4c6c98
push 2
call edi
test ax, ax
jge 0x4c6c98
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004a3aa3
cmp dword [esi + 0x30], ebx
jne 0x4c6d72
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004a3aa3
cmp eax, dword [esp + 0x34]
jne 0x4c6d72
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4c6d0e
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4c6d53
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4c6d72
cmp eax, 0x205
je 0x4c6d72
cmp eax, 0x201
je 0x4c6d72
cmp eax, 0x204
je 0x4c6d72
cmp eax, ebx
jne 0x4c6d39
cmp dword [esp + 0x1c], 0x1b
je 0x4c6d72
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x50db84]
jbe 0x4c6d68
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4c6ccb
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4cc92d
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x10
lea eax, [ebp - 0x14]
push 0
mov esi, ecx
push eax
call fcn.00490070
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call sub.WSOCK32.dll_getsockname
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
je 0x4cc98c
push dword [ebp - 0x12]
call sub.WSOCK32.dll_ntohs
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x10]
movzx eax, ax
mov dword [ecx], eax
call sub.WSOCK32.dll_inet_ntoa
mov ecx, dword [ebp + 8]
push eax
call fcn.004a70d4
mov eax, esi
pop esi
leave
ret 8

Function at 0x4ccb10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x4ccb27
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

Function at 0xf63feb
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret
Function at 0x4010c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
push edi
push esi
push ebx
call sub.kernel32.dll_GetCommandLineW
mov edx, eax
push 0x41bd78
push edx
call sub.shell32.dll_CommandLineToArgvW
mov esi, eax
mov dword [0x41bd74], esi
mov ebx, dword [0x41bd78]
jmp 0x40111d
push 0
push 0
push 0x258
lea eax, [ebp - 0x258]
push eax
push 0xffffffffffffffff
push dword [esi]
push 0
push 0
call sub.kernel32.dll_WideCharToMultiByte
lea eax, [ebp - 0x258]
push eax
push dword [esi]
call sub.kernel32.dll_lstrcpyA
add esi, 4
dec ebx
or ebx, ebx
jne 0x4010ee
pop ebx
pop esi
pop edi
leave
ret

Function at 0x401170
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbcc
push edi
push esi
push ebx
call fcn.00401720
xor edi, edi
mov dword [ebp - 0x404], edi
push 0x200
lea eax, [ebp - 0x200]
push eax
push edi
call sub.kernel32.dll_GetModuleFileNameA
cmp eax, edi
je 0x401214
lea eax, [ebp - 0x200]
push eax
push str.__s___service
lea eax, [ebp - 0x400]
push eax
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0xf003f
push edi
push edi
call dword [0x41499f]
mov esi, eax
cmp eax, edi
je 0x401214
mov edx, 0x1a7
push edi
push edi
lea eax, [ebp - 0x404]
push eax
push edi
push edi
lea eax, [ebp - 0x400]
push eax
push 0
push 2
push 0x110
push edx
push str.Network_helper_Service
push str.MSDisk
push esi
call dword [0x41499b]
mov ebx, eax
cmp eax, edi
je 0x40120d
inc edi
push ebx
call dword [0x4149af]
push esi
call dword [0x4149af]
cmp edi, 1
jne 0x401317
xor edi, edi
push 0xf003f
push edi
push edi
call dword [0x41499f]
mov ebx, eax
cmp eax, edi
je 0x401317
push 0xf01ff
push str.MSDisk
push ebx
call dword [0x4149a3]
mov esi, eax
cmp eax, edi
je 0x401310
mov dword [ebp - 0x408], str.Network_service_for_disk_management_requests
lea eax, [ebp - 0x408]
push eax
push 1
push esi
call dword [0x4149a7]
or eax, eax
jne 0x401274
call sub.kernel32.dll_GetLastError
push str.SeDebugPrivilege
call fcn.00401790
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x430], 0x600
mov dword [ebp - 0x42c], 3
mov dword [ebp - 0x428], 0x120
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0x120
mov dword [ebp - 0x41c], 0x1000
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x200]
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], 3
lea eax, [ebp - 0x434]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x41c]
push eax
push 2
push esi
call dword [0x4149a7]
or eax, eax
jne 0x401309
call sub.kernel32.dll_GetLastError
push esi
call dword [0x4149af]
push ebx
call dword [0x4149af]
mov eax, edi
pop ebx
pop esi
pop edi
leave
ret