joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x274
mov eax, dword [0x598c90]
xor eax, esp
mov dword [esp + 0x270], eax
mov eax, dword [esp + 0x280]
push ebx
mov ebx, dword [esp + 0x280]
push ebp
mov ebp, dword [esp + 0x28c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x290]
push esi
mov esi, dword [esp + 0x284]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
cmp eax, 0xffffffff
jne 0x4bb0e3
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.0041d8e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x4bb0fa
xor al, al
jmp 0x4bb1b8
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4bb0fa
xor al, al
jmp 0x4bb1b8
lea eax, [esp + 0x54]
lea esi, [esp + 0xc]
call fcn.0041aed0
mov eax, esi
mov esi, ebx
call fcn.0041ae20
lea ecx, [esp + 0xc]
call fcn.0041add0
mov ebx, dword [esp + 0x28]
test edi, edi
je 0x4bb12a
mov eax, ebx
shr eax, 4
and al, 1
mov byte [edi], al
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bb13b
mov ecx, ebx
shr ecx, 1
and cl, 1
mov byte [eax], cl
test ebp, ebp
je 0x4bb15f
mov edx, dword [esp + 0x44]
push 1
push 0
push 0
push edx
call fcn.00522680
mov ecx, dword [esp + 0x48]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [ebp], eax
mov dword [ebp + 4], edx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4bb184
lea eax, [esp + 0x3c]
call fcn.004ba460
push edx
push eax
lea eax, [esp + 0x20]
call fcn.0040fa60
mov ecx, eax
mov eax, esi
call fcn.0040fa50
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4bb1a9
lea eax, [esp + 0x2c]
call fcn.004ba460
push edx
push eax
lea eax, [esp + 0x28]
call fcn.0040fa60
mov ecx, eax
mov eax, esi
call fcn.0040fa50
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4bb1b6
and bl, 1
mov byte [eax], bl
mov al, 1
mov ecx, dword [esp + 0x27c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051e437
add esp, 0x274
ret 0x14

Function at 0x4bb310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f110
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x59f5c0
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call fcn.0041d8e0
mov esi, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041d8e0
push 0xa
push edi
push esi
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4bb370
mov ecx, 0x20
cmp ecx, eax
sbb eax, eax
neg eax
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 0x4bb390
Capabilities:
Check if process is running under wine

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareWine
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bb3be
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ecx
ret
xor al, al
pop ecx
ret
Function at 0x4bb3d0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x53f0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea esi, [esp + 0x30]
call fcn.0041aed0
mov eax, 0x566598
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], edi
call fcn.0041ae90
mov esi, eax
mov eax, 0x566d8c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0041ae90
push esi
push eax
lea eax, [esp + 0x38]
lea edi, [esp + 0x24]
mov byte [esp + 0x30], 2
call fcn.004db840
add esp, 8
lea esi, [esp + 0x10]
call fcn.0041aef0
push ebx
push eax
mov byte [esp + 0x30], 3
call fcn.0041cf60
mov ecx, esi
call fcn.0041add0
lea ecx, [esp + 0x14]
call fcn.0041add0
lea ecx, [esp + 0x18]
call fcn.0041add0
lea ecx, [esp + 0x30]
call fcn.0041add0
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
Function at 0x4bbac0
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53f096
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x598c90]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
xor edi, edi
test byte [0x59fce0], 1
mov esi, ecx
mov dword [esp + 0x20], edi
jne 0x4bbb2b
or dword [0x59fce0], 1
push 0x5517b0
mov dword [0x59fb80], edi
call fcn.0051f103
add esp, 4
mov eax, 0x59fb80
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea edx, [esp + 0x20]
push edx
push 0x4bba70
mov dword [esp + 0xe0], edi
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.0041ae00
mov byte [esp + 0xd8], 1
mov dword [esp + 0x30], 0xc403
call fcn.0041b3c0
lea eax, [eax*4 + 4]
mov dword [esp + 0x34], eax
lea esi, [esp + 0x3c]
lea eax, [esp + 0x18]
call fcn.0041d8d0
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
jl 0x4bbc18
jmp 0x4bbba9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov edi, dword [edx + eax*4]
push 0x40
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor ecx, ecx
lea eax, [esp + 0x44]
lea esi, [esp + 0x1c]
mov word [esp + 0xc2], cx
call fcn.0041aed0
mov ecx, 0x5661f8
mov edx, eax
call fcn.0041b460
mov ecx, esi
mov bl, al
call fcn.0041add0
test bl, bl
je 0x4bbc0f
mov ecx, dword [0x59f564]
lea edx, [esp + 0x40]
push edx
push 0x1f40
push 3
lea eax, [esp + 0x3c]
push eax
push ecx
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub dword [esp + 0x14], 1
jns 0x4bbba5
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.0041add0
mov edx, dword [esp + 0x20]
push edx
call fcn.0051ee35
add esp, 4
test byte [0x59fce0], 1
jne 0x4bbc51
or dword [0x59fce0], 1
push 0x5517b0
mov dword [0x59fb80], edi
call fcn.0051f103
add esp, 4
mov eax, 0x59fb80
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0051e437
mov esp, ebp
pop ebp
ret

Function at 0x4be220
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x10
xor edi, edi
call esi
shr eax, 0xf
test al, 1
je 0x4be23b
mov edi, 1
push 0x11
call esi
shr eax, 0xf
test al, 1
je 0x4be249
or edi, 2
push 0x12
call esi
shr eax, 0xf
test al, 1
je 0x4be257
or edi, 4
push 0xa5
call esi
shr eax, 0xf
test al, 1
je 0x4be268
and edi, 0xfffffff9
mov ecx, dword [0x59f8e0]
and ecx, 0x70
lea eax, [esp + 8]
call fcn.00453820
mov ecx, dword [esp + 8]
or ecx, edi
lea eax, [esp + 8]
call fcn.00453820
mov ecx, eax
mov eax, 0x59f8e0
call fcn.00476250
pop edi
pop esi
pop ecx
ret
Function at 0x4be2a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov al, byte [esp + 4]
xor edx, edx
test al, 1
je 0x4be2af
mov edx, 0x10
test al, 2
je 0x4be2b6
or edx, 0x20
test al, 0x10
je 0x4be2bd
or edx, 0x40
mov ecx, dword [0x59f8e0]
and ecx, 0xffffff8f
lea eax, [esp + 4]
call fcn.00453820
mov ecx, dword [esp + 4]
or ecx, edx
lea eax, [esp + 4]
call fcn.00453820
mov ecx, eax
mov eax, 0x59f8e0
call fcn.00476250
jmp fcn.004be220

Function at 0x4bf050
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push ebx
push edi
mov edi, eax
call fcn.004be220
lea eax, [edi - 0x10]
xor bl, bl
cmp eax, 0x95
ja case.0x4bf06f.19
movzx eax, byte [eax + 0x4bf12c]
jmp dword [eax*4 + 0x4bf11c]
mov ecx, dword [0x59f920]
cmp ecx, dword [0x59f8e0]
je 0x4bf108
mov ecx, 0x59f8e0
mov eax, 0x59f920
call fcn.00476250
push esi
call fcn.0046fb90
jmp 0x4bf108
push 1
push esi
call fcn.0046f9c0
push 0
or edi, 0x10000
mov bl, al
push edi
jmp 0x4bf0f8
push 1
push esi
call fcn.0046f9c0
mov bl, al
jmp 0x4bf108
push 1
push esi
call fcn.0046f9c0
mov edx, dword [esi + 0x4c]
push 0
push 0x103
push 0x102
mov bl, al
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4bf108
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, ax
push 0
push ecx
push esi
call fcn.0046f740
test al, al
jne 0x4bf106
test bl, bl
je 0x4bf108
mov bl, 1
call fcn.00433e90
test eax, eax
mov al, 1
jne 0x4bf115
mov al, bl
pop edi
pop ebx
add esp, 0x1c
ret

Function at 0x4bf1d0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, eax
mov edi, ecx
call fcn.004be220
sar esi, 0x10
lea eax, [edi - 0x30]
and esi, 0xff
mov ebx, edi
cmp eax, 9
ja 0x4bf21f
lea eax, [esi - 0x47]
cmp eax, 0xb
ja case.0x4bf1ff.74
movzx ecx, byte [eax + 0x4bf264]
jmp dword [ecx*4 + 0x4bf25c]
mov edx, dword [esp + 0x14]
push ebx
add edi, 0x10030
push edi
push edx
call fcn.0046f740
pop edi
pop esi
pop ebx
pop ecx
ret 4
push 1
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
call esi
push 2
push eax
call esi
movzx eax, ax
test eax, eax
je 0x4bf238
mov edi, eax
cmp ebx, 0x20
jae case.0x4bf1ff.74
test byte [0x59f8e0], 6
je case.0x4bf1ff.74
xor ebx, ebx
mov edx, dword [esp + 0x14]
push ebx
push edi
push edx
call fcn.0046f740
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x4c0810
Capabilities:
Log keystrokes via input method manager

Disassembly:
push 0xffffffffffffffff
push 0x53de88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov esi, ecx
mov eax, dword [esp + 0x30]
xor edi, edi
push edi
push edi
push ebp
push eax
mov dword [esp + 0x44], edi
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebx, eax
cmp ebx, edi
jle 0x4c08b4
call fcn.004d8970
mov ecx, 1
lock xadd dword [eax], ecx
push edi
mov dword [esp + 0x2c], edi
call fcn.0051ee35
mov edx, ebx
add esp, 4
shr edx, 1
inc edx
push 2
push edx
call fcn.0051feaa
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x30]
push ebx
push edi
push ebp
push eax
mov dword [esp + 0x28], edi
call sub.IMM32.dll_ImmGetCompositionStringW
mov eax, edi
call fcn.0041aed0
push edi
call fcn.0051ee35
add esp, 4
call fcn.004d8970
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov eax, esi
jmp 0x4c08c0
mov ecx, 0x59f5c0
mov eax, esi
call fcn.0041ae00
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8

Function at 0x4c08e0
Capabilities:
Log keystrokes via input method manager

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
test byte [esp + 0x2c], 0x10
je 0x4c096c
mov eax, dword [esp + 0x28]
push ebx
push ebx
push 0x10
push eax
call sub.IMM32.dll_ImmGetCompositionStringW
mov esi, eax
test esi, esi
jle 0x4c096c
push esi
call fcn.0051ef12
add esp, 4
mov ebp, eax
call fcn.004d8060
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x28]
push esi
push ebp
push 0x10
push edx
call sub.IMM32.dll_ImmGetCompositionStringW
test esi, esi
jle 0x4c0941
mov al, byte [edi + ebp]
cmp al, 1
je 0x4c0941
cmp al, 3
je 0x4c0941
inc edi
cmp edi, esi
jl 0x4c0931
cmp edi, esi
mov ebx, edi
jge 0x4c0957
mov al, byte [ebx + ebp]
cmp al, 1
je 0x4c0952
cmp al, 3
jne 0x4c0957
inc ebx
cmp ebx, esi
jl 0x4c0947
push ebp
call fcn.0051ee35
add esp, 4
call fcn.004d8060
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp edi, ebx
mov edx, dword [esp + 0x20]
mov esi, dword [edx]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
jl 0x4c0982
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.004cf370
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4c09f0
Capabilities:
Log keystrokes via input method manager

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor esi, esi
push edi
mov dword [ebp], esi
call fcn.004d9490
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x30]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
cmp eax, esi
je 0x4c0acf
test byte [esp + 0x34], 0x20
je 0x4c0acf
push esi
push esi
push 0x20
push eax
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
cmp edi, esi
jle 0x4c0acf
mov esi, edi
shr esi, 2
lea edx, [esi*4]
push edx
call fcn.0051ef12
add esp, 4
mov ebx, eax
call fcn.004d80e0
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x30]
push edi
push ebx
push 0x20
push edx
call sub.IMM32.dll_ImmGetCompositionStringW
test eax, eax
jle 0x4c0aba
dec esi
xor edi, edi
mov dword [esp + 0x30], esi
test esi, esi
jle 0x4c0aba
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
mov ecx, dword [ebx + edi*4 + 4]
mov eax, dword [ebx + edi*4]
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jl 0x4c0a9e
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.004cf370
push eax
mov eax, ebp
call fcn.004cf5d0
inc edi
cmp edi, dword [esp + 0x30]
jl 0x4c0a81
push ebx
call fcn.0051ee35
add esp, 4
call fcn.004d80e0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret 0x10

Function at 0x4c0d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
call fcn.004be220
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
xor esi, esi
call edi
shr eax, 0xf
test al, 1
je 0x4c0d34
mov esi, 0x10
push 2
call edi
shr eax, 0xf
test al, 1
je 0x4c0d42
or esi, 0x20
push 4
call edi
shr eax, 0xf
test al, 1
je 0x4c0d50
or esi, 0x40
mov ecx, dword [0x59f8e0]
and ecx, 0xffffff8f
lea eax, [esp + 0x10]
call fcn.00453820
mov ecx, dword [esp + 0x10]
or ecx, esi
lea eax, [esp + 0x10]
call fcn.00453820
mov ecx, eax
mov eax, 0x59f8e0
call fcn.00476250
mov ecx, eax
mov eax, ebx
call fcn.00476250
pop edi
pop esi
pop ebx
ret
Function at 0x4c0d90
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [0x598c90]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
movzx ecx, ax
test eax, 0x10000
jne 0x4c0dbe
cmp ax, 0x61
jl 0x4c0dbe
cmp ax, 0x7a
jg 0x4c0dbe
add eax, 0xffffffe0
movzx ecx, ax
mov eax, 0x2c
mov word [esp], ax
mov eax, 0x2b
mov word [esp + 4], ax
mov eax, 0x2d
mov word [esp + 8], ax
mov edx, 0xbc
mov word [esp + 2], dx
mov eax, 0x2e
mov word [esp + 0xc], ax
mov edx, 0xbb
mov word [esp + 6], dx
mov eax, 0x3b
mov word [esp + 0x10], ax
mov edx, 0xbd
mov word [esp + 0xa], dx
mov eax, 0x3a
mov word [esp + 0x14], ax
mov edx, 0xbe
mov word [esp + 0xe], dx
mov edx, 0xba
mov eax, 0x2f
mov word [esp + 0x18], ax
mov word [esp + 0x12], dx
mov word [esp + 0x16], dx
mov edx, 0xbf
mov eax, 0x3f
mov word [esp + 0x1c], ax
mov word [esp + 0x1a], dx
mov word [esp + 0x1e], dx
mov eax, 0x5b
mov edx, 0xdb
mov word [esp + 0x20], ax
mov eax, 0x5d
mov word [esp + 0x22], dx
mov edx, 0xdd
mov word [esp + 0x24], ax
mov word [esp + 0x26], dx
xor eax, eax
lea ecx, [ecx]
cmp cx, word [esp + eax*2]
jne 0x4c0e8b
movzx ecx, word [esp + eax*2 + 2]
add eax, 2
cmp eax, 0x14
jl 0x4c0e80
movsx eax, cx
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [esp + 0x28]
xor ecx, esp
shr eax, 0xf
and eax, 1
call fcn.0051e437
add esp, 0x2c
ret
Function at 0x4c2530
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c25a0
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4c2597
push ecx
mov ecx, dword [ebx]
mov eax, esp
mov dword [eax], ecx
call fcn.004deb20
lea edi, [eax + 4]
add esp, 4
test edi, edi
jle 0x4c2597
lea edx, [edi + 2]
push edx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4c2597
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ecx, ebx
call fcn.0041d940
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
ret

Function at 0x4c25b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x53de29
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x28]
mov ecx, ebx
mov dword [esp + 0x10], 0
call fcn.0041adc0
mov dword [esp + 0x20], 0
push 0
mov dword [esp + 0x14], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c2653
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4c264d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4c264d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, eax
mov eax, esi
shr ecx, 1
lea esi, [esp + 0x14]
call fcn.0041af30
mov esi, ebx
call fcn.0041ae20
lea ecx, [esp + 0x14]
call fcn.0041add0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4c4620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53c768
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xc4]
mov eax, 0x59f5c0
call fcn.0041ae20
lea eax, [edi + 0xc]
call fcn.00431840
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
call edx
mov al, byte [edi + 0x1d22]
test al, al
je 0x4c46ed
xor ebx, ebx
cmp byte [edi + 0x1d20], bl
je 0x4c46ed
lea esi, [edi + 0x16c]
mov eax, esi
mov dword [esp + 0x10], esi
call fcn.004b9f00
mov dword [esp + 0x1c], ebx
mov byte [edi + 0x1d20], bl
mov byte [edi + 0x1d21], bl
mov byte [edi + 0x1d26], bl
mov byte [edi + 0x1d27], bl
mov ecx, dword [edi + 0x98]
test ecx, ecx
je 0x4c46dc
lea eax, [ebx + 0x14]
call fcn.004ba0d0
mov ecx, dword [edi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
lea eax, [ebx + 0xa]
call fcn.004ba0d0
mov ecx, dword [edi + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov eax, 0xa
call fcn.004ba0d0
mov eax, esi
call fcn.004b9f10
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4c6850
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x542d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x598c90]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 8]
mov byte [ebx + 0x30], 1
call fcn.0041db70
lea esi, [ebx + 0x1c]
call fcn.004d35d0
lea eax, [esp + 0x10]
push eax
push str.software_asio
xor edi, edi
push 0x80000002
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4c6946
mov edx, dword [esp + 0x10]
push pe_nt_image_headers32
lea ecx, [esp + 0x20]
push ecx
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4c693b
jmp 0x4c68e7
xor edi, edi
inc dword [esp + 0x14]
lea eax, [esp + 0x1c]
lea esi, [esp + 0x18]
call fcn.0041aed0
mov dword [esp + 0x230], edi
mov ecx, dword [esp + 0x10]
push ebx
mov edi, esi
call fcn.004c6cf0
mov ecx, esi
mov dword [esp + 0x230], 0xffffffff
call fcn.0041add0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push pe_nt_image_headers32
lea eax, [esp + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4c68e5
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0051e437
mov esp, ebp
pop ebp
ret
Function at 0x4c6b20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x541958
mov eax, dword fs:[0]
push eax
sub esp, 0xc2c
mov eax, dword [0x598c90]
xor eax, esp
mov dword [esp + 0xc24], eax
push ebp
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0xc3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc4c]
lea eax, [esp + 0x14]
push eax
push str.clsid
push 0x80000000
mov dword [esp + 0x20], 0
mov byte [esp + 0x1f], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4c6cbb
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x200
lea ecx, [esp + 0x38]
push ecx
xor esi, esi
push esi
push edx
call edi
test eax, eax
jne 0x4c6cb0
lea ecx, [ecx]
lea ecx, [esp + 0x34]
mov edx, ebp
inc esi
call fcn.0041b490
mov ecx, dword [esp + 0x14]
test al, al
lea eax, [esp + 0x34]
jne 0x4c6bdb
push 0x200
push eax
push esi
push ecx
call edi
test eax, eax
je 0x4c6bb0
jmp 0x4c6cb0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
push eax
push ecx
call esi
test eax, eax
jne 0x4c6cb0
lea edx, [esp + 0x1c]
push edx
push 0x20019
push eax
mov eax, dword [esp + 0x24]
push str.InprocServer32
push eax
call esi
test eax, eax
jne 0x4c6ca5
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x438]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c6c9a
lea eax, [esp + 0x434]
lea esi, [esp + 0x20]
call fcn.0041aed0
mov edx, esi
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0xc48], 0
call fcn.004178a0
mov esi, eax
mov byte [esp + 0xc44], 1
call fcn.004ba690
mov byte [esp + 0x13], al
lea eax, [esp + 0x2c]
push eax
call fcn.00403230
lea ecx, [esp + 0x20]
call fcn.0041add0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xc3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc24]
xor ecx, esp
call fcn.0051e437
add esp, 0xc38
ret