joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100acefe
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100ace7a
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100ad06d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100ad06d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100ad022
jg 0x100acf5a
test eax, eax
je 0x100ad018
push 1
push 0x1000
call fcn.100a6ed5
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100acf7d
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100ad00f
push 0x8000
push ebx
call fcn.100acdab
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100acfa6
jg 0x100acfa1
cmp ecx, 0x1000
jb 0x100acfa6
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100a2220
add esp, 0x10
cmp eax, 0xffffffff
je 0x100acfeb
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100acfa1
jl 0x100acfd2
test ecx, ecx
jne 0x100acf93
push dword [ebp - 0xc]
push ebx
call fcn.100acdab
push esi
call fcn.100a52b2
add esp, 0xc
xor ebx, ebx
jmp 0x100ad07b
cmp byte [edi + 0x24], 0
je 0x100ad002
cmp dword [edi + 0x20], 5
jne 0x100ad002
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100ad00d
mov ebx, dword [edi + 0x18]
jmp 0x100ad00f
xor ebx, ebx
push esi
call fcn.100a52b2
pop ecx
jmp 0x100ad07b
test ecx, ecx
jg 0x100acfe4
jl 0x100ad022
test eax, eax
jae 0x100acfe4
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100a2624
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100ad042
cmp byte [edi + 0x1c], 0
je 0x100acfe4
jmp 0x100ad073
push ebx
call fcn.100abfd0
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100acfe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100ad07b
cmp byte [edi + 0x1c], 0
je 0x100ad078
mov ebx, dword [edi + 0x18]
jmp 0x100ad07b
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100a2624
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100af428
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100af4c5
push ebx
push esi
call fcn.100af3f1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100abb9a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100af472
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100af4c4
push edi
push eax
call fcn.100a52ec
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100af492
call fcn.100a52b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100af4c3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100abb9a
add esp, 0x20
test eax, eax
jne 0x100af4b1
push edi
call fcn.100a52b2
jmp 0x100af4b9
push ebx
call fcn.100a52b2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100af4c8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100af4d9
pop esi
ret
push ebx
push edi
push esi
call fcn.100af3f1
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100a52ec
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100af501
push ebx
push esi
push edi
call fcn.1008bf40
add esp, 0xc
push 0
call fcn.100a52b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100af8d1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100af516
Function at 0x417a70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040ae80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x417b3b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x417b3b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x417aee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x417af9
or bh, 8
and edi, 0x8000000
je 0x417b14
mov eax, dword [0x43597c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x417b3b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x417f3b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x417f5f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x417f7a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41c731
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 0x41c773
call fcn.00420b48
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41c773
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41c76a
xor eax, eax
jmp 0x41c77b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041c781
pop edi
pop esi
pop ebx
ret 4

Function at 0x421313
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 0x421341
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42135f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00421279
jmp 0x42135f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42135f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00421279
test edi, edi
mov eax, edi
jne 0x421349
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10009427
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
invalid
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1003b680], 0
je 0x10001539
mov eax, dword [0x1003b680]
jmp 0x100016d6
mov dword [0x1003b680], 0x1003b658
push 0x28
push 0
push 0x1003b658
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1003b658], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1003b65c], eax
cmp dword [0x1003b65c], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x1003b65c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003b660], eax
push str.SymInitialize
mov ecx, dword [0x1003b65c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003b664], eax
push str.SymSetOptions
mov edx, dword [0x1003b65c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003b668], eax
push str.SymGetOptions
mov eax, dword [0x1003b65c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003b66c], eax
push str.SymLoadModule
mov ecx, dword [0x1003b65c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003b670], eax
push str.SymGetModuleInfo
mov edx, dword [0x1003b65c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003b674], eax
push str.SymGetSymFromName
mov eax, dword [0x1003b65c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003b678], eax
push str.BindImage
mov ecx, dword [0x1003b65c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003b67c], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x1003b660], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x1003b660]
cmp dword [0x1003b660], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x1003b65c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1003b65c], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x1003b664], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x1003b658]
push eax
call dword [0x1003b664]
cmp dword [0x1003b66c], 0
je 0x100016d1
cmp dword [0x1003b668], 0
je 0x100016d1
call dword [0x1003b66c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x1003b668]
mov eax, dword [0x1003b680]
mov esp, ebp
pop ebp
ret
Function at 0x10005f00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x1003b008]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [esp + 0x4c]
xorps xmm1, xmm1
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
push edi
mov edi, edx
call fcn.10005d50
cmp dword [eax + 0x14], 0x10
jb 0x10005f2d
mov eax, dword [eax]
push ebx
push 0x20
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jb 0x10005f76
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005f6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005f6c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002e076
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov ecx, dword [esp + 0x50]
add esp, 4
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002dd4e
add esp, 0x44
ret

Function at 0x10006030
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x48
mov eax, dword [0x1003b008]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [esp + 0x58]
mov ebx, edx
mov edx, dword [esp + 0x54]
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.1000b560
cmp dword [esp + 0x28], 0x10
lea ecx, [esp + 0x2c]
push esi
push 0x20
push ecx
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jb 0x100060ad
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100060a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100060a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002e076
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [esp + 0x50]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002dd4e
add esp, 0x48
ret
Function at 0x1000d7a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x1003b008]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov dword [0x1003b69c], 0
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.100026e0
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1000d804
test eax, 0x68000
jne 0x1000d804
mov eax, dword [esp + 0x22]
test eax, eax
je 0x1000d890
cmp eax, 5
je 0x1000d854
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.100026e0
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1000d838
test eax, 0x68000
jne 0x1000d838
mov ecx, dword [esp + 0x22]
jmp 0x1000d83b
or ecx, 0xffffffff
mov eax, dword [0x1003b69c]
add eax, ecx
add esi, eax
mov dword [0x1003b69c], eax
cmp eax, 5
jl 0x1000d7c5
jmp 0x1000d861
mov eax, dword [0x1003b69c]
add eax, 4
mov dword [0x1003b69c], eax
push eax
call fcn.1002e2e0
add esp, 4
mov dword [0x1003b6a4], eax
mov dword [0x1003b6a0], edi
push 0x40
push 0x3000
push dword [0x1003b69c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000d8a5
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1002dd4e
mov esp, ebp
pop ebp
ret 8
push dword [0x1003b69c]
push edi
push dword [0x1003b6a4]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [0x1003b69c]
push dword [0x1003b6a4]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x1003b69c]
mov eax, edi
sub eax, esi
mov byte [esp + 0x20], 0xe9
sub eax, 5
add esp, 0xc
mov dword [esp + 0x15], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + esi], eax
mov al, byte [esp + 0x18]
mov byte [ecx + esi + 4], al
lea eax, [esp + 0x1c]
push eax
push 0x40
push dword [0x1003b69c]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x1003b69c], 5
mov cl, 5
jle 0x1000d931
mov eax, 5
nop dword [eax + eax]
inc cl
mov byte [eax + edi], 0x90
movzx eax, cl
cmp eax, dword [0x1003b69c]
jl 0x1000d920
mov eax, dword [ebp + 0xc]
sub eax, edi
sub eax, 5
mov dword [esp + 0x15], eax
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov al, byte [esp + 0x18]
mov byte [edi + 4], al
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push dword [0x1003b69c]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1002dd4e
mov esp, ebp
pop ebp
ret 8
Function at 0x10019770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.10019510
mov ecx, dword [0x1003bb10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100197b6
cmp byte [0x1004c3dc], 0
je 0x100197b6
push dword [0x1004c08c]
push dword [0x1004c088]
push dword [0x1004c084]
push dword [0x1004c080]
call fcn.10018e70
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x2d
call esi
test al, 1
je 0x100197d5
cmp byte [0x1003b6aa], 0
sete al
mov byte [0x1003b6aa], al
jmp 0x100197da
mov al, byte [0x1003b6aa]
test al, al
je 0x10019951
push 1
call esi
test al, 1
je 0x100197f3
mov byte [0x1003be0e], 1
jmp 0x10019803
push 1
call esi
and al, 1
neg al
sbb al, al
and byte [0x1003be0e], al
push 2
call esi
test al, 1
je 0x10019814
mov byte [0x1003be0c], 1
jmp 0x10019824
push 2
call esi
and al, 1
neg al
sbb al, al
and byte [0x1003be0c], al
push 1
call esi
test ax, ax
je 0x10019836
mov byte [0x1003be18], 1
jmp 0x10019845
push 1
call esi
neg ax
sbb al, al
and byte [0x1003be18], al
push 2
call esi
test ax, ax
je 0x10019857
mov byte [0x1003be0d], 1
jmp 0x10019866
push 2
call esi
neg ax
sbb al, al
and byte [0x1003be0d], al
cmp byte [0x1004c409], 0
je 0x10019880
mov ecx, 0x1003b698
call fcn.10006840
mov byte [0x1004c409], 0
cmp byte [0x1004c408], 0
je 0x1001989a
mov ecx, 0x1003b698
call fcn.10008ce0
mov byte [0x1004c408], 0
push dword [0x1004c07c]
mov ecx, 0x1003b6b8
push dword [0x1004c078]
push dword [0x1004c074]
push dword [0x1004c070]
call fcn.100137d0
push dword [0x1004ca18]
push dword [0x1004ca10]
call fcn.10029440
mov esi, dword [0x1004c080]
xor eax, eax
mov edx, dword [0x1004c084]
test esi, esi
mov edi, dword [0x1003bb28]
mov ebx, dword [0x1003bb24]
cmovs esi, eax
test edx, edx
mov ecx, ebx
cmovs edx, eax
sub ecx, dword [0x1004c088]
mov eax, edi
sub eax, dword [0x1004c08c]
cmp esi, eax
cmovg esi, eax
cmp edx, ecx
mov dword [0x1004c080], esi
cmovg edx, ecx
mov ecx, dword [0x1004c070]
xor eax, eax
mov dword [0x1004c084], edx
test ecx, ecx
cmovs ecx, eax
mov eax, dword [0x1004c074]
xor edx, edx
test eax, eax
cmovs eax, edx
sub edi, dword [0x1004c078]
sub ebx, dword [0x1004c07c]
cmp ecx, edi
cmovg ecx, edi
cmp eax, ebx
mov dword [0x1004c070], ecx
cmovg eax, ebx
mov dword [0x1004c074], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10019c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0x33
xor eax, eax
nop
mov dl, byte [edi + eax - 0x7e882478]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x10019c4d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10019c30
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret 4
Function at 0x10019c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0x7a
xor eax, eax
nop
mov dl, byte [edi + eax - 0x64b98e2f]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x10019c8d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xb
jl 0x10019c70
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4

Function at 0x10019e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0x1c
xor eax, eax
nop
mov dl, byte [edi + eax + 0x6346f401]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x10019e7d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xe
jl 0x10019e60
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001a000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0x15
xor eax, eax
nop
mov dl, byte [edi + eax - 0xff1925]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001a02d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x11
jl 0x1001a010
pop edi
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001a0c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0x8c
xor eax, eax
nop
mov dl, byte [edi + eax - 0x2c90a980]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001a0ed
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x1001a0d0
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001a910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0xb7
xor eax, eax
nop
mov dl, byte [edi + eax - 0x16426759]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001a93d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xb
jl 0x1001a920
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001aae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0xdc
xor eax, eax
nop
mov dl, byte [edi + eax - 0x4b36b2cc]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001ab0d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xb
jl 0x1001aaf0
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001abe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov ecx, 0xa3
xor eax, eax
nop
mov dl, byte [edi + eax + 0x3fd6497b]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001ac0d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1001abf0
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
ret 4