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

Disassembly:
mov eax, 4
call fcn.00480e50
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
inc ebp
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 1
je 0x5719d8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
lea eax, [ecx + ebp]
cmp eax, edx
jbe 0x5719cb
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub edx, ecx
mov dword [esi + 4], edx
jmp 0x5719dd
cmp ebp, dword [esi + 4]
ja 0x5719c4
test dword [edi + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push ebx
movzx ebx, byte [ecx + eax - 1]
je 0x571a30
cmp dword [edi + 0x88], 0
jne 0x571a30
mov eax, dword [edi + 0x58]
push 8
add eax, 8
push 0x5d128c
push eax
call fcn.004da090
add esp, 0xc
test eax, eax
jne 0x571a23
test bl, 1
jne 0x571a23
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov eax, dword [edi + 0x58]
test byte [eax], 8
je 0x571a30
test ebx, ebx
je 0x571a30
dec ebx
mov eax, dword [edi + 0x80]
push dword [eax]
call fcn.004e0f50
add esp, 4
test eax, 0x200000
je 0x571a5a
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 4], eax
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov edi, dword [esi + 4]
lea ecx, [ebx + ebp]
mov edx, edi
mov dword [esp + 0x10], edi
sub edx, ecx
mov eax, edi
xor edx, ecx
xor eax, ecx
or edx, eax
mov ebp, 0xff
xor edx, edi
lea eax, [edi - 1]
shr edx, 0x1f
dec edx
cmp eax, ebp
mov dword [esp + 0x24], edx
cmovb ebp, eax
xor edx, edx
test ebp, ebp
je 0x571adf
mov ecx, ebx
dec edi
shr ecx, 0x1f
add edi, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
nop word [eax + eax]
mov ecx, ebx
lea edi, [edi - 1]
sub ecx, edx
mov eax, edx
shr ecx, 0x1f
inc edx
shr eax, 0x1f
xor cl, al
xor al, byte [esp + 0x18]
or cl, al
movzx eax, byte [edi + 1]
xor cl, byte [esp + 0x18]
xor eax, ebx
dec cl
movzx ecx, cl
and ecx, eax
mov eax, dword [esp + 0x24]
not ecx
and eax, ecx
mov dword [esp + 0x24], eax
cmp edx, ebp
jb 0x571aa0
mov edi, dword [esp + 0x10]
jmp 0x571ae3
mov eax, dword [esp + 0x24]
not eax
movzx eax, al
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [ebx + 1]
neg ecx
and eax, ecx
sub edi, eax
shl eax, 8
or dword [esi], eax
mov eax, ecx
pop ebx
mov dword [esi + 4], edi
and eax, 1
pop edi
not ecx
pop esi
or eax, ecx
pop ebp
pop ecx
ret
Function at 0x571f00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.00480e50
push esi
push edi
lea eax, [esp + 0xc]
xor edi, edi
push eax
lea eax, [esp + 0xc]
xor esi, esi
push eax
push edi
call fcn.0055a0b0
add esp, 0xc
test eax, eax
je 0x57211b
nop dword [eax + eax]
mov ecx, dword [esp + 8]
lea eax, [esi + 1]
shl ecx, 0xa
inc edi
and ecx, dword [esp + 0x20]
cmove eax, esi
mov esi, eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push edi
call fcn.0055a0b0
add esp, 0xc
test eax, eax
jne 0x571f30
test esi, esi
je 0x57211b
mov eax, dword [esp + 0x50]
cdq
idiv esi
mov edi, dword [esp + 0x5c]
cmp esi, 1
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
mov esi, 0
cmovne esi, dword [esp + 0x58]
push edi
push 0
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
call fcn.0045eed0
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x20]
push eax
push 0
call fcn.0055a0b0
add esp, 0x18
test eax, eax
je 0x5720e6
mov ebx, dword [esp + 0x60]
nop word [eax + eax]
mov eax, dword [esp + 0x10]
shl eax, 0xa
test dword [esp + 0x28], eax
je 0x5720c2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5720f3
push edi
push ebx
push dword [esp + 0x58]
and esi, 1
push dword [esp + 0x58]
add esi, dword [esp + 0x2c]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x58]
push esi
mov esi, dword [esp + 0x88]
push esi
push ecx
call fcn.00572140
add esp, 0x3c
test eax, eax
je 0x572111
add esi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x54], esi
test edi, edi
jle 0x5720be
cmp edi, 0x20
jb 0x57209b
lea eax, [ebx - 1]
lea edx, [ebp - 1]
add eax, edi
add edx, edi
cmp ebp, eax
ja 0x572051
cmp edx, ebx
jae 0x57209b
mov eax, edi
and eax, 0x8000001f
jns 0x57205f
dec eax
or eax, 0xffffffe0
inc eax
mov edx, edi
mov esi, ebx
sub edx, eax
mov eax, ebp
sub esi, ebp
nop dword [eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ecx + 0x10]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x572070
cmp ecx, edi
jge 0x5720be
mov esi, ebx
lea eax, [ecx + ebp]
mov edx, edi
sub esi, ebp
sub edx, ecx
nop word [eax + eax]
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x5720b0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
mov dword [esp + 0x2c], eax
call fcn.0055a0b0
add esp, 0xc
test eax, eax
jne 0x571fc0
pop ebp
mov eax, 1
pop ebx
pop edi
pop esi
add esp, 0x14
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.004d27b0
add esp, 0x14
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
push 0x109
push str.._ssl_t1_enc.c
push 0x44
push 0x11c
push 0x14
call fcn.004d27b0
add esp, 0x14
xor eax, eax
pop edi
pop esi
add esp, 0x14
ret
Function at 0x581dd0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edi, dword [esp + 0xc]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.004c5780
add esp, 8
test esi, esi
jg 0x581e27
je 0x581e09
cmp esi, 0xffffffff
jne 0x581e27
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00582060
add esp, 4
test eax, eax
je 0x581e27
push 0xa
push edi
call fcn.004c5e70
add esp, 8
pop edi
mov eax, esi
pop esi
ret

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

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x20]
cmp dword [eax], 6
je 0x5821db
push eax
push esi
call fcn.00582870
add esp, 8
test eax, eax
jle 0x582223
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push esi
mov edi, eax
call fcn.004c5780
add esp, 8
test edi, edi
jg 0x582220
push edi
call fcn.00582120
add esp, 4
test eax, eax
je 0x582220
push 0xa
push esi
call fcn.004c5e70
add esp, 8
mov eax, edi
pop edi
pop esi
ret
Function at 0x584130
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, 1
push edi
push ebx
push esi
call fcn.005845f0
mov edi, eax
add esp, 8
test edi, edi
jns 0x58416e
push 0x88
push str..crypto_bio_b_sock.c
push 0x6c
push 0x6a
push 0x20
call fcn.004d27b0
add esp, 0x14
jmp 0x58422f
call fcn.00584520
cmp eax, 1
jne 0x58423f
test edi, edi
jle 0x584187
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
push 0xa1
push str..crypto_bio_b_sock.c
push 0x16
push 9
call fcn.004da020
add esp, 0x10
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
jne 0x5841c4
push 0xa7
push str..crypto_bio_b_sock.c
push 0x66
push 0x6a
push 0x20
call fcn.004d27b0
add esp, 0x14
jmp 0x584215
cmp word [ecx + 8], 2
je 0x5841e5
push 0xae
push str..crypto_bio_b_sock.c
push 0x6b
push 0x6a
push 0x20
call fcn.004d27b0
add esp, 0x14
jmp 0x584215
mov eax, dword [ecx + 0xc]
xor ebp, ebp
mov eax, dword [eax]
movzx eax, byte [eax]
mov byte [ebx], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 1]
mov byte [ebx + 1], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 2]
mov byte [ebx + 2], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 3]
mov byte [ebx + 3], al
push 0xb7
push str..crypto_bio_b_sock.c
push 0x16
push 0xa
call fcn.004da020
add esp, 0x10
test ebp, ebp
je 0x584246
push esi
push str.host
push 2
call fcn.004d1d20
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x5845a0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x5845e0
push 0x248
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.004d27b0
add esp, 0x14
xor eax, eax
test esi, esi
pop esi
sete al
ret
Function at 0x10002450
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
test edx, edx
je 0x10002471
cmp word [edx], 0x5a4d
jne 0x10002471
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10002471
mov eax, dword [ecx + 0x50]
ret 4
Function at 0x100031a5
Capabilities:
Delete file

Disassembly:
mov eax, 0x10006ab0
call fcn.10006860
sub esp, 0x164
push ebx
push esi
push edi
push 1
pop edi
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call sub.gdiplus.dll_GdiplusStartup
push dword [ebp + 8]
lea eax, [ebp - 0x170]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x170]
pop ecx
push 0x1000a900
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea ecx, [ebp - 0x170]
sub ecx, 3
add eax, ecx
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop ecx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
push ebx
push ebx
lea eax, [ebp - 0x170]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x170]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 0x10007238
mov dword [ebp - 0x24], ebx
push eax
push dword [ebp - 0x14]
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], ebx
push eax
push str.image_jpeg
call fcn.10003318
mov dword [ebp - 0x5c], edi
mov esi, 0x10007248
lea edi, [ebp - 0x58]
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
lea eax, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
push 1
mov dword [ebp - 0x40], eax
pop esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x44], 4
push dword [ebp - 0x18]
mov dword [ebp - 0x48], esi
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipSaveImageToFile
cmp eax, ebx
je 0x100032d5
mov dword [ebp - 0x20], eax
push dword [ebp - 0x14]
call fcn.1000681e
push dword [ebp - 0x18]
call fcn.1000681e
pop ecx
mov dword [ebp - 0x28], 0x10007238
pop ecx
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 0x2c]
call sub.gdiplus.dll_GdiplusShutdown
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10003a34
Capabilities:
Create thread

Disassembly:
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push esi
push esi
push 0x10003925
push esi
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push esi
push esi
push esi
push 0x100039dc
push esi
push esi
call edi
push eax
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
ret
Function at 0x10003bd1
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10003c0e
cmp byte [ebp - 0x190], 2
jne 0x10003c08
mov al, byte [ebp - 0x18f]
cmp al, 2
jne 0x10003c08
push 1
pop eax
leave
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
leave
ret

Function at 0x10003cc8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10003d0f
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
test ecx, ecx
je 0x10003d0f
movsx eax, word [eax + 0xa]
push eax
lea eax, [ebp - 0xc]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
leave
ret
xor eax, eax
leave
ret

Function at 0x10003d13
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10003d31
xor eax, eax
jmp 0x10003d70
push dword [ebp + 8]
mov word [ebp - 0x10], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10003d6e
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x10003d70
mov eax, esi
pop esi
leave
ret
Function at 0x10003fa9
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x10091d98], esi
jne 0x10003fde
push edi
push esi
push esi
push esi
push 0x10004313
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esp + 0xc], esi
mov edi, eax
je 0x10003fd6
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret 4
Function at 0x1000476c
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x10004705
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x10004d1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
jle 0x10004d6e
push esi
inc cl
movzx ecx, cl
mov edx, dword [eax + ecx*4 + 8]
mov dword [ebp + 8], ecx
lea esi, [eax + ecx*4 + 8]
mov cl, dl
add cl, bl
movzx ebx, cl
mov ecx, dword [eax + ebx*4 + 8]
mov dword [esi], ecx
mov esi, dword [ebp + 0xc]
add cl, dl
mov dword [eax + ebx*4 + 8], edx
movzx ecx, cl
add esi, edi
mov cl, byte [eax + ecx*4 + 8]
xor byte [esi], cl
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x10004d33
pop esi
mov dword [eax + 4], ebx
pop edi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
Function at 0x100054a2
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
mov esi, 0x104
push edi
push esi
push 0x10091fa4
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
push 0x10091ea0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x10091d9c
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, 0x100920a8
push esi
push ebx
push 0
call edi
mov eax, dword [0x100923b4]
mov ebp, dword [sym.imp.MSVCRT.dll__strlwr]
test eax, eax
je 0x100054fd
push esi
mov esi, 0x100922b0
push esi
push eax
call edi
push esi
call ebp
pop ecx
push ebx
call ebp
push ebx
call fcn.10005519
push eax
push 0x100921ac
call sub.MSVCRT.dll_strcpy
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1000568b
Capabilities:
Set file attributes

Disassembly:
push 6
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x10005698
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100056df
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
test ecx, ecx
je 0x100056df
movsx eax, word [eax + 0xa]
push eax
lea eax, [ebp - 0xc]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x100059c2
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x58], eax
ret

Function at 0x10006493
Capabilities:
Accept command line arguments
Delete file
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, str.ServerMain
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x100064db
add esi, 0xb
push 0
push esi
call dword [sym.imp.MSVCRT.dll__access]
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x100064db
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x100064c2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100064e5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
leave
ret 8

Function at 0x10006557
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
push dword [ebp + 8]
stosd dword es:[edi], eax
push dword [ebp + 0xc]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
jne 0x100065a6
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
jne 0x1000659e
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x1000a7f4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret 8
Function at 0x10004b00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp byte [0xba67a4], 0
push ebx
push esi
push edi
jne 0x10004cb2
mov eax, dword [0x1007692c]
test eax, eax
je 0x10004b29
mov esi, dword [eax + 0x70]
test esi, esi
jne 0x10004b47
jmp 0x10004b2b
xor esi, esi
push 0x176
push str.C:UsersNicuDesktopcheatcheatimguiimgui_impl_dx9.cpp
push str.bd___0___Did_you_call_ImGui_ImplDX9_Init____
call fcn.100491c7
mov eax, dword [0x1007692c]
add esp, 0xc
cmp dword [esi + 0xc], 0
jne 0x10004b62
test eax, eax
je 0x10004b62
mov eax, dword [eax + 0x70]
test eax, eax
je 0x10004b62
cmp dword [eax], 0
je 0x10004b62
call fcn.1002bac0
call fcn.1002c4c0
call fcn.1000aae0
push 0x77
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 8
jb 0x10004c6b
cmp byte [0x10075c72], 0
je 0x10004c6b
cmp byte [0x10075c71], 0
jne 0x10004ba2
cmp byte [0x10075c70], 0
je 0x10004c6b
xor edi, edi
mov eax, dword [0x10076918]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x10004c5e
movzx eax, di
cmp dword [ebx + eax*4 + 0xfde], 1
jne 0x10004c5e
mov eax, dword [ebx + eax*4 + 0x2e]
test eax, eax
je 0x10004c5e
mov eax, dword [eax]
test eax, eax
je 0x10004c5e
cmp dword [eax], 0
je 0x10004c5e
cmp byte [0x10075c69], 0
je 0x10004bff
movzx eax, word [ebx + 4]
push eax
call fcn.10004870
push edi
mov esi, eax
call fcn.10004870
cmp eax, esi
je 0x10004c5e
mov eax, dword [ebx + edi*4 + 0x2e]
mov eax, dword [eax]
mov eax, dword [eax]
push dword [eax + 0x44]
mov eax, 0x54ff90
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x10004c5e
mov ecx, esi
mov eax, 0x5e0170
call eax
test al, al
je 0x10004c5e
mov eax, dword [0x10075c4c]
test eax, eax
je 0x10004c3c
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x10004c5e
cmp byte [0x10075c71], 0
je 0x10004c4e
mov edx, esi
mov ecx, edi
call fcn.10034ef0
cmp byte [0x10075c70], 0
je 0x10004c5e
mov edx, esi
call fcn.100357c0
inc edi
cmp edi, 0x3ec
jl 0x10004ba4
call fcn.1000cbb0
call fcn.1000cfa0
mov esi, dword [0x1007692c]
cmp dword [esi + 0x3fd8], 0
jg 0x10004c9b
push 0x6ff
push str.C:UsersNicuDesktopcheatcheatimguiimgui.h
push str.i___0__i___Size
call fcn.100491c7
add esp, 0xc
mov eax, dword [esi + 0x3fe0]
mov ecx, dword [eax]
xor eax, eax
add ecx, 0x38
cmp byte [ecx], al
cmove ecx, eax
call fcn.1002b560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007630
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10007691
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10007674
cmp edi, 2
jb 0x10007674
cmp byte [esi], cl
jne 0x10007674
cmp byte [esi + 1], cl
jne 0x10007674
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10068c10]
jmp 0x10007645
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10068c10]
test edi, edi
jne 0x10007645
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100076c0
cmp cl, 0x23
jne 0x100076a7
cmp byte [esi], cl
jne 0x100076a7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10068c10]
test cl, cl
jne 0x10007698
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10007850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10007873
push 0x704
push 0x10064ba8
push str.filename__mode
call fcn.100491c7
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x10007880
mov dword [edi], 0
mov edx, 0x100685e0
mov ecx, esi
call fcn.100076d0
mov esi, eax
test esi, esi
je 0x1000795f
push esi
call fcn.1003e03f
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10007956
push 2
push 0
push esi
call fcn.1003e9ed
add esp, 0xc
test eax, eax
jne 0x10007956
push esi
call fcn.1003e03f
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10007956
push 0
push dword [ebp + 8]
push esi
call fcn.1003e9ed
add esp, 0xc
test eax, eax
jne 0x10007956
mov eax, dword [0x1007692c]
test eax, eax
je 0x100078f5
inc dword [eax + 0xa8]
push ebx
call fcn.10049248
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10007956
push esi
push ebx
push 1
push eax
call fcn.10043ea9
add esp, 0x10
push esi
cmp eax, ebx
je 0x10007940
call fcn.1003e6c5
mov eax, dword [0x1007692c]
add esp, 4
test eax, eax
je 0x1000792e
dec dword [eax + 0xa8]
push dword [ebp + 8]
call fcn.10043cb5
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.1003e6c5
add esp, 4
test edi, edi
je 0x1000794e
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.1003e6c5
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret