joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442520
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 4], 0
jmp 0x442566
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x4425bc
movzx ecx, word [ebp - 0x44]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx*8 + 0x4b8210]
jne 0x4425ba
cmp dword [ebp + 8], 0
je 0x4425b6
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x4b8214]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0045edd0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e6f0
mov al, 1
jmp 0x4425f6
jmp 0x44255d
cmp dword [ebp + 8], 0
je 0x4425f4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*8 + 0x4b820c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0045edd0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e6f0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x442600
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov dword [ebp - 4], 0xffffffff
cmp dword [0x4b8290], 0
je 0x442758
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.00453370
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4426a1
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x80c]
test ecx, ecx
je 0x4426a1
push str.SysWOW64
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x44268a
mov dword [ebp - 8], 1
jmp 0x442691
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [0x4b8290], 0
cmp dword [ebp - 4], 1
je 0x442758
cmp dword [0x4ba1c4], 0
jne 0x4426c4
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4ba1c4], eax
cmp dword [0x4ba1c4], 0
je 0x442758
cmp dword [0x4ba1c8], 0
jne 0x4426f1
push str.GetSystemWow64DirectoryW
mov edx, dword [0x4ba1c4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ba1c8], eax
cmp dword [0x4ba1c8], 0
je 0x442758
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.00453370
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [0x4ba1c8]
test eax, eax
je 0x442758
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x442741
mov dword [ebp - 0xc], 1
jmp 0x442748
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [0x4b8290], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x444f70
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x444f92
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jbe 0x444f92
mov eax, 1
jmp 0x445062
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov dword [ebp - 0x18], 3
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x444fdd
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call fcn.0045c09c
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x445030
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x6f
jne 0x445028
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call fcn.0045bee5
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
jmp 0x445030
cmp dword [ebp - 8], 0
jne 0x445030
jmp 0x445045
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x18]
jl 0x444fbf
cmp dword [ebp - 8], 0
jne 0x445060
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx + 0xc], ecx
mov eax, 1
jmp 0x445062
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x445450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e9f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
cmp dword [ebp + 8], 0
je 0x44548c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x44548c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445493
xor eax, eax
jmp 0x44556a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0043c6d0
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x4454bf
mov dword [ebp - 0x14], 1
jmp 0x4454c6
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x445551
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x4454ec
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0042ab20
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.00474240
mov byte [ebp - 4], 1
push 1
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0047c980
movzx ecx, al
cmp ecx, 1
jne 0x445521
mov dword [ebp - 0x18], 1
jmp 0x445528
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.00413780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00424ad0
mov eax, dword [ebp - 0x20]
jmp 0x44556a
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00424ad0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x446db0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
pop ebp
ret
Function at 0x4482c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ebbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
lea ecx, [ebp - 0x68]
call fcn.0043afc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
cmp dword [ebp + 0xc], 0
je 0x448306
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x44830d
mov dword [ebp - 0x10], 0x4a0ce8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045eaf6
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00401e50
cmp dword [ebp + 0x10], 0
je 0x448340
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
jmp 0x448347
mov dword [ebp - 0x14], 0x4a0cec
mov eax, dword [ebp - 0x14]
push eax
call fcn.0045eaf6
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x50]
call fcn.00401e50
cmp dword [ebp + 8], 0
jne 0x448383
lea ecx, [ebp - 0x68]
push ecx
push 0x447c80
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x448396
lea edx, [ebp - 0x68]
push edx
push 0x447c80
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp + 0x14], 0
je 0x4483a8
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00447890
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0043b0c0
lea ecx, [ebp - 0x50]
call fcn.00424bc0
lea ecx, [ebp - 0x68]
call fcn.00424bc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x44a310
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ed53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041fe00
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0041fe00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0041fe00
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0044a9b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44b170
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x44c9b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x44c9c6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x44c9e5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x4b84b8]
mov dword [edx + ecx*4 + 0x88], eax
jmp 0x44c9bd
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x44cff0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [ebp + 0x10], 0x40
jne 0x44d00b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x40
jmp 0x44d083
cmp dword [ebp + 0x10], 0x40
jbe 0x44d034
mov dword [ebp - 8], 0x20
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044c800
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc], ecx
jmp 0x44d040
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, 0x40
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x36
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x2a0]
push edx
call fcn.00453370
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
push 0x5c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x2e0]
push eax
call fcn.00453370
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x44d095
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jge 0x44d0cf
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, 0x36
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx + 0x2a0], cl
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, 0x5c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx + 0x2e0], cl
jmp 0x44d08c
mov eax, dword [ebp + 8]
push eax
call fcn.0044c9b0
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044ce30
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
call fcn.0044c9b0
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2e0
push ecx
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call fcn.0044ce30
add esp, 0xc
push 0xa8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x150
push ecx
call fcn.00452df0
add esp, 0xc
push 0xa8
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
mov eax, dword [ebp + 8]
add eax, 0x1f8
push eax
call fcn.00452df0
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x44d190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x44d1b4
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x44d1b4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44d1b8
xor eax, eax
jmp 0x44d208
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x44d1ef
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.SHELL32.dll_SHOpenFolderAndSelectItems]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 8], 0
jne 0x44d1fe
mov dword [ebp - 0xc], 1
jmp 0x44d205
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x44f050
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x4ba1d8
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov esi, dword [ebp - 0x10]
adc esi, 0
mov edi, dword [ebp - 8]
mov ebx, ecx
mov ecx, esi
lock cmpxchg8b qword [edi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jne 0x44f067
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jne 0x44f067
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov edx, dword [ebp - 0x10]
adc edx, 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
cmp dword [0x4b88d8], 0
je 0x44f11a
push 0x4ba1f8
push 0x4ba1e8
push 0x4ba1f0
push 0x4ba1e0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov dword [ebp - 4], 0xff
lea eax, [ebp - 4]
push eax
push 0x4ba200
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [ebp - 4], 0x100
jae 0x44f110
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [edx*2 + 0x4ba200], cx
mov dword [0x4b88d8], 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x4ba200
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [0x4ba1e4]
push eax
mov ecx, dword [0x4ba1e0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edx
push eax
movzx edx, word [ebp - 0x26]
push edx
movzx eax, word [ebp - 0x28]
push eax
movzx ecx, word [ebp - 0x2a]
push ecx
movzx edx, word [ebp - 0x2c]
push edx
movzx eax, word [ebp - 0x2e]
push eax
movzx ecx, word [ebp - 0x32]
push ecx
movzx edx, word [ebp - 0x34]
push edx
push str._04d__02d__02d__02d:_02d:_02d:_04d_016I64X_06d__06d__016I64X__016I64d__s
lea eax, [ebp - 0x4c]
push eax
call fcn.00423090
add esp, 0x48
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041fe70
mov edx, dword [ebp - 0xc]
or edx, 1
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x4c]
call fcn.00424bc0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f870
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 8], 0
je 0x44f886
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x44f88d
xor eax, eax
jmp 0x44f9f2
mov dword [ebp - 0x18], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44f9ef
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x44f964
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44f8db
jmp 0x44f964
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44f943
mov ecx, dword [ebp - 4]
push ecx
call fcn.0044fa00
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44f943
lea edx, [ebp - 8]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0044f7b0
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x186a0
jle 0x44f957
jmp 0x44f964
mov edx, 1
test edx, edx
jne 0x44f8c3
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44f9e9
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44f9e9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00452df0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0xc]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x44f9e2
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x44f9e9
mov dword [ebp - 0x18], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x450160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, 1
test eax, eax
je 0x450240
push 0
push 0
push 0
push 0xa2
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x41
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x41
call dword [sym.imp.USER32.dll_keybd_event]
xor ecx, ecx
je 0x4501f4
mov dword [ebp - 0x10], 0x186a0
mov dword [ebp - 0xc], 0
push 0x41
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 4], ax
movsx edx, word [ebp - 4]
and edx, 1
je 0x4501cc
jmp 0x4501ce
jmp 0x4501f2
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jb 0x4501d8
jmp 0x4501f2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, 1
test edx, edx
jne 0x4501b5
jmp 0x45022a
push 0x41
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 8], ax
movsx eax, word [ebp - 8]
and eax, 1
je 0x45022a
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
push 0
push 0xa2
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x450329
mov dword [ebp - 0x84], 0
push 0x6c
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.00453370
add esp, 0xc
mov edx, 0x1c
imul eax, edx, 0
mov dword [ebp + eax - 0x84], 1
mov ecx, 0x1c
imul edx, ecx, 0
mov eax, 0xa2
mov word [ebp + edx - 0x80], ax
mov ecx, 0x1c
shl ecx, 0
mov dword [ebp + ecx - 0x84], 1
mov edx, 0x1c
shl edx, 0
mov eax, 0x41
mov word [ebp + edx - 0x80], ax
mov ecx, 0x1c
shl ecx, 1
mov dword [ebp + ecx - 0x84], 1
mov edx, 0x1c
shl edx, 1
mov eax, 0x41
mov word [ebp + edx - 0x80], ax
mov ecx, 0x1c
shl ecx, 1
mov dword [ebp + ecx - 0x7c], 2
mov edx, 0x1c
imul eax, edx, 3
mov dword [ebp + eax - 0x84], 1
mov ecx, 0x1c
imul edx, ecx, 3
mov eax, 0xa2
mov word [ebp + edx - 0x80], ax
mov ecx, 0x1c
imul edx, ecx, 3
mov dword [ebp + edx - 0x7c], 2
push 0x1c
lea eax, [ebp - 0x84]
push eax
push 4
call dword [sym.imp.USER32.dll_SendInput]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
je 0x450329
xor eax, eax
jmp 0x45032e
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4507b0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0xa0000000
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4507e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8