joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b53a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x509ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004fcb6d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.004b52e0
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004fca9b
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4b5467
cmp dword [esp + 0x40], 1
jne 0x4b5465
cmp ecx, eax
jge 0x4b5467
mov eax, ecx
cmp eax, 0x12c
jge 0x4b5473
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.004b54c0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004fcbdf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4b97a0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x50a3c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x5cd9a0]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.004f831e
mov edx, dword [0x5cd9a0]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x4b97fa
mov dword [esp + 0x1c], ebx
jmp 0x4b9801
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.004fa47f
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.004f5fd1
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x4b9852
mov dword [esp + 0x14], ebx
jmp 0x4b9859
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x4b9874
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4b986e
cmp eax, 2
jne 0x4b9874
mov dword [esp + 0x18], edi
jmp 0x4b9878
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4b9886
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004f7953
mov edi, eax
cmp edi, ebx
jne 0x4b9896
xor eax, eax
jmp 0x4b9899
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4b98c1
mov ecx, esi
call fcn.004fa47f
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x4b98dd
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b98fc
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x4b98fc
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.004f5ee4
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.004f5ee4
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4bbda0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4bbe06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4bbe06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4bbde7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x4bc950
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004bcaa0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4bc970
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4bc951
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004bcaa0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4bc970
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4bc9a0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4bc9f7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4bca0d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.004bca30
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x4bca30
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x4bcac0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4bcb09
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x4bcf80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50a8c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004bcb30
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004bcbb0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004bcbb0
lea ecx, [esi + 0xc]
call fcn.004f5e6f
lea ecx, [esi + 0x10]
call fcn.004f5e6f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004bf3e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004bf3e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004bf3e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004f5ee4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004f5ee4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4bdc28
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50aae8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4bdc38
call fcn.004be150
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4bdd1b
cmp byte [edi], 0
je 0x4bdd1b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x4bdc5d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004bc950
test eax, eax
jne 0x4bdc7d
push 0x5bfd48
lea ecx, [esi + 0x38]
call fcn.004f6021
jmp 0x4bdd1b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004bc9a0
test eax, eax
jne 0x4bdcac
mov ecx, esi
call fcn.004bcaa0
push edi
add esi, 0x38
push 0x5bfd24
push esi
call fcn.004f3398
add esp, 0xc
jmp 0x4bdd1b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.004be9d0
test eax, eax
je 0x4bdd14
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004bddf0
test eax, eax
jne 0x4bdd30
push edi
lea eax, [esi + 0x38]
push 0x5bfd00
push eax
call fcn.004f3398
add esp, 0xc
mov ecx, esi
call fcn.004be150
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4bddd8
mov ecx, dword [0x5cd9a0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.004f3398
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.004bca50
test eax, eax
jne 0x4bdd9a
push 0x5bfce4
lea ecx, [esi + 0x38]
call fcn.004f6021
jmp 0x4bddaa
push 0xfa
mov ecx, esi
call fcn.004be9d0
test eax, eax
jne 0x4bddc7
mov ecx, esi
call fcn.004be150
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004f5ee4
jmp 0x4bdd1b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004f5ee4
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4ced40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x619a54]
xor edx, edx
cmp eax, edx
jne 0x4ced66
xor eax, eax
mov byte [eax + 0x619954], al
inc eax
cmp eax, 0x100
jl 0x4ced4e
mov dword [0x619a54], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x619954
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4cedf7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4cedca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4ced98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4cee70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4ceec3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4ceeaa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d5880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50af5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004d61a0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x59dccc
call fcn.004f5c25
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4d5913
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004f5c25
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4d590c
push 0
mov ecx, eax
call fcn.004cc980
mov dword [esi + 0xc], eax
jmp 0x4d5915
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4d5915
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4f831e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4f8356
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.004f633f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004f6317
jmp 0x4f8362
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f9b93
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 0x4f9bd5
call fcn.00500281
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f9bd5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f9bcc
xor eax, eax
jmp 0x4f9bdd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f9be3
pop edi
pop esi
pop ebx
ret 4

Function at 0x5007b1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5007df
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5007fd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00500717
jmp 0x5007fd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5007fd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00500717
test edi, edi
mov eax, edi
jne 0x5007e7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5030b1
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 0x5030d9
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x5030ea
push 2
call edi
test ax, ax
jge 0x5030ea
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.004f7953
cmp dword [esi + 0x30], ebx
jne 0x5031c4
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004f7953
cmp eax, dword [esp + 0x34]
jne 0x5031c4
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x503160
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x5031a5
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x5031c4
cmp eax, 0x205
je 0x5031c4
cmp eax, 0x201
je 0x5031c4
cmp eax, 0x204
je 0x5031c4
cmp eax, ebx
jne 0x50318b
cmp dword [esp + 0x1c], 0x1b
je 0x5031c4
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 [0x62b554]
jbe 0x5031ba
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x50311d
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 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401c66
pop dword [ebp - 0xc]
mov eax, 0x3c3426dd
sub eax, 0x3bf40a77
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x4d61d083
add dword [ebp - 0x1c], 0xf074c8
mov dword [ebp - 0x18], 0x613656f0
add dword [ebp - 0x18], 0xd0fcf555
mov dword [ebp - 0x14], 0x3e53fdf0
sub dword [ebp - 0x14], 0xf207b9c2
mov dword [ebp - 0x10], 0xa6fcaa44
sub dword [ebp - 0x10], 0xa6fcaa44
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xa53070b7
add eax, 0x5b0fbf9d
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xfc342e04
add dword [ebp - 0x1c], 0x783e3b52
mov dword [ebp - 0x18], 0xec1edc22
sub dword [ebp - 0x18], 0xaab27aad
mov dword [ebp - 0x14], 0x93bdcfe0
sub dword [ebp - 0x14], 0x304e6374
mov dword [ebp - 0x10], 0xae887f3
sub dword [ebp - 0x10], 0xae887f3
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xa14bdc95
add eax, 0x5ef45397
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x362f2
push 0
call eax
mov ecx, 0xdc906a74
add ecx, 0x236fdc5c
mov ebx, eax
mov esi, 0x428a02c9
sub esi, 0x424992c9
add esi, dword [ebp - 0xc]
mov edx, 0xa240a7aa
sub dword [ebp - 8], 0x47c45437
mov edi, dword [esi]
xor dword [ebp - 4], 0x9ca3f1b5
xor edi, edx
mov dword [ebp - 8], 0xcefde69c
mov dword [ebx], edi
add dword [ebp - 4], 0x1197628a
add ebx, 4
add esi, 0xeba7d6db
add esi, 0x14582929
loop 0x401d82
add eax, 0x10e13
xor ebx, ebx
add ebx, eax
add eax, 0xb9983bf7
add eax, 0x4667c40e
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x10001500
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x10001524
mov eax, ebx
call sym._strdupAW
mov ebx, eax
test eax, eax
je 0x100015e0
test esi, esi
je 0x10001539
mov eax, esi
call sym._strdupAW
mov esi, eax
test eax, eax
je 0x100015f0
test byte [0x10003018], 1
jne 0x10001590
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov edi, eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], str.__s___s___Ix__n
mov dword [esp + 8], str.InstallPerfDllW
mov dword [esp + 4], 0x10003018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10001542
mov eax, 0xe
jmp 0x10001585
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 0xe
sub esp, 0xc
jmp 0x10001585

Function at 0x10001690
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100016ab
mov eax, ebx
call sym._strdupAW
mov ebx, eax
test eax, eax
je 0x10001720
test byte [0x10003018], 1
jne 0x100016e8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 8
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], str.__s___d_:_stub_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.LoadPerfCounterTextStringsW
mov dword [esp + 4], 0x10003018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x100016b4
mov eax, 0xe
jmp 0x100016da
Function at 0x10001790
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100017ab
mov eax, ebx
call sym._strdupAW
mov ebx, eax
test eax, eax
je 0x10001820
test byte [0x10003018], 1
jne 0x100017e8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 8
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], str.__s___d_:_stub_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.UnloadPerfCounterTextStringsW
mov dword [esp + 4], 0x10003018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x100017b4
mov eax, 0xe
jmp 0x100017da
Function at 0x10002280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100022d8
cmp byte [esi + ebx - 1], 0xa
je 0x100022ac
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10003118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x100023e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x1c
test eax, eax
je 0x10002488
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp + 0x14], 0
mov dword [ebp - 0x10], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov edi, eax
sub esp, 0x18
lea ecx, [edi + edi]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x10002488
mov dword [esp + 0x14], edi
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x18
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret