joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004adde
Capabilities:
Contain obfuscated stackstrings
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x1018b288]
sub esp, 0x30
mov eax, dword [eax + 0xe0]
push ebx
push esi
mov esi, ecx
sub eax, 1
je 0x1004af80
sub eax, 1
jne 0x1004af96
mov byte [esp + 0x16], 0x46
xor ebx, ebx
mov byte [esp + 0x17], 0x6b
mov byte [esp + 0x18], 0x75
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x76
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1d], 0x6a
mov byte [esp + 0x1e], 0x4f
mov byte [esp + 0x1f], 0x67
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x75
mov byte [esp + 0x22], 0x63
mov byte [esp + 0x23], 0x69
mov byte [esp + 0x24], 0x67
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], bl
mov al, byte [esp + 0x16]
mov eax, ebx
sub byte [esp + eax + 0x16], 2
inc eax
cmp eax, 0x10
jb 0x1004ae64
mov byte [esp + 8], 0x59
mov byte [esp + 9], 0x77
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x76
mov byte [esp + 0xc], 0x37
mov byte [esp + 0xd], 0x36
mov byte [esp + 0xe], bl
mov al, byte [esp + 8]
mov eax, ebx
sub byte [esp + eax + 8], 4
inc eax
cmp eax, 6
jb 0x1004ae97
push 1
push 1
push 0x1004ad50
push ecx
lea eax, [esp + 0x26]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1005cac2
pop ecx
push eax
mov ecx, esi
call fcn.1005b78f
mov byte [esp + 0x27], 0x46
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x29], 0x75
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], 0x76
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x2e], 0x6a
mov byte [esp + 0x2f], 0x4f
mov byte [esp + 0x30], 0x67
mov byte [esp + 0x31], 0x75
mov byte [esp + 0x32], 0x75
mov byte [esp + 0x33], 0x63
mov byte [esp + 0x34], 0x69
mov byte [esp + 0x35], 0x67
mov byte [esp + 0x36], 0x59
mov byte [esp + 0x37], bl
mov al, byte [esp + 0x27]
mov eax, ebx
sub byte [esp + eax + 0x27], 2
inc eax
cmp eax, 0x10
jb 0x1004af1e
mov byte [esp + 0xf], 0x5e
mov byte [esp + 0x10], 0x7c
mov byte [esp + 0x11], 0x6e
mov byte [esp + 0x12], 0x7b
mov byte [esp + 0x13], 0x3c
mov byte [esp + 0x14], 0x3b
mov byte [esp + 0x15], bl
mov al, byte [esp + 0xf]
sub byte [esp + ebx + 0xf], 9
inc ebx
cmp ebx, 6
jb 0x1004af4f
push 1
push 1
push 0x1004ad50
push ecx
lea eax, [esp + 0x37]
mov ecx, esi
push eax
lea eax, [esp + 0x23]
push eax
call fcn.1005cac2
pop ecx
push eax
mov ecx, esi
call fcn.1005b78f
jmp 0x1004af96
xor ebx, ebx
push ebx
push ebx
push 0x1004acb5
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1018bc10], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004c53f
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1008ad82
call fcn.10088a5c
sub esp, 0x24c
push ebx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
and dword [esi], eax
push edi
push 0x24
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.1007942f
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0xc]
xor eax, eax
inc ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 8
mov byte [ebp - 4], 2
pop edi
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], edi
mov dword [esi], 0x3f800000
call fcn.1000b1fb
and dword [ebp - 4], 0
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1004c663
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x224
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32First]
jmp 0x1004c658
mov al, byte [ebp - 0x238]
lea edi, [ebp - 0x238]
jmp 0x1004c60a
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll_toupper]
mov byte [edi], al
inc edi
pop ecx
mov al, byte [edi]
test al, al
jne 0x1004c5fa
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000adfe
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.1000b79c
mov ecx, dword [eax]
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 0
mov dword [ecx + 0x20], eax
lea ecx, [ebp - 0x34]
call fcn.1000b1ca
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1004c5ec
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1005980a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
mov dword [ebp - 4], edx
push edi
push eax
mov dword [ebp - 8], eax
xor edi, edi
xor esi, esi
xor ebx, ebx
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
jne 0x10059897
cmp ebx, edi
jne 0x10059852
lea eax, [edi + 0x3e8]
mov edx, edi
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.10058415
pop ecx
test eax, eax
je 0x100598ce
mov edi, dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
push dword [ebp - 8]
and dword [eax], 0
mov eax, edi
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.msvcrt.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x100598d5
push dword [ebp - 8]
add ebx, dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
je 0x1005982d
cmp ebx, edi
jne 0x1005990e
lea eax, [edi + 1]
mov edx, edi
push eax
mov ecx, esi
call fcn.10058415
pop ecx
test eax, eax
jne 0x1005990c
push 0x10188114
push 0xc8
push dword [ebp - 4]
call fcn.10039160
add esp, 0xc
test esi, esi
je 0x100598ca
push esi
call dword [0x1009bc68]
pop ecx
xor eax, eax
jmp 0x1005992e
push 0x1018813c
jmp 0x100598ae
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
cmp dword [eax], 0
je 0x100598ef
call edi
push dword [eax]
call dword [sym.imp.msvcrt.dll_strerror]
pop ecx
jmp 0x100598f4
mov eax, str.Error_reading_file
push eax
push 0x10188124
push 0xc8
push dword [ebp - 4]
call fcn.10039160
add esp, 0x10
jmp 0x100598be
mov esi, eax
mov edx, dword [ebp - 4]
push ecx
mov ecx, esi
mov byte [ebx + esi], 0
call fcn.100596a9
mov edi, eax
pop ecx
test esi, esi
je 0x1005992c
push esi
call dword [0x1009bc68]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005a7b1
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov ecx, 0x4f4e4554
mov edi, esi
mov edx, dword [edi + 0x100d4798]
mov eax, edx
xor eax, ecx
mov ecx, edx
mov dword [edi + 0x100d4798], eax
add edi, 4
cmp edi, 0x9ca38
jb 0x1005a7bf
push 0x4e018
push 1
call dword [sym.imp.msvcrt.dll_calloc]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1005a80f
push ecx
push ecx
mov ecx, edi
mov dword [edi + 0x50], esi
call fcn.10075c15
pop ecx
pop ecx
test eax, eax
je 0x1005a807
mov esi, edi
jmp 0x1005a80f
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop edi
mov dword [ebx + 4], esi
test esi, esi
pop esi
setne al
pop ebx
ret

Function at 0x1005a8e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xb], 0x6e
xor ecx, ecx
mov byte [ebp - 0xa], 0x71
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x24
mov byte [ebp - 7], 0x34
mov byte [ebp - 6], 0x7c
mov byte [ebp - 5], 0x29
mov byte [ebp - 4], 0x34
mov byte [ebp - 3], 0x3c
mov byte [ebp - 2], 0x7c
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xb]
sub byte [ebp + ecx - 0xb], 4
inc ecx
cmp ecx, 0xa
jb 0x1005a91a
push dword [ebp + 8]
lea eax, [ebp - 0xb]
push eax
push dword [ebp + 0xc]
call fcn.1005c3ee
add esp, 0xc
leave
ret 8
Function at 0x1005a93b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xc], 0x6a
xor ecx, ecx
mov byte [ebp - 0xb], 0x68
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x27
mov byte [ebp - 7], 0x37
mov byte [ebp - 6], 0x7f
mov byte [ebp - 5], 0x2c
mov byte [ebp - 4], 0x37
mov byte [ebp - 3], 0x3f
mov byte [ebp - 2], 0x7f
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xc]
sub byte [ebp + ecx - 0xc], 7
inc ecx
cmp ecx, 0xb
jb 0x1005a975
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call fcn.1005c3ee
add esp, 0xc
leave
ret 8
Function at 0x1005c1e6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
push edi
push 8
mov ebp, ecx
call fcn.1007942f
mov ebx, dword [esp + 0x1c]
mov edi, eax
and ebx, 0xfffff000
mov dword [esp + 0x10], edi
pop ecx
and dword [edi + 4], 0
cmp dword [esp + 0x18], 0
mov dword [edi], vtable.MemoryAllocator.0
cmove ebx, dword [esp + 0x18]
push 0x40
push 0x3000
push 0x200
add ebx, 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi + 4], eax
test eax, eax
je 0x1005c218
lea ecx, [ebp + 4]
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1005c24f
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x1005c25a
lea edx, [esp + 0x18]
push edx
push eax
call fcn.1005df64
mov eax, dword [edi + 4]
pop edi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x1005c283
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
and dword [esp], 0
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push eax
push 0x40
mov ebp, ecx
mov esi, edx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x1005c32f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
push ebx
push ebp
push esi
mov ebx, edx
mov esi, ebx
push edi
mov edi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1005c348
sub esi, ecx
mov ebp, 0x100
cmp esi, ebp
jae 0x1005c3e4
push 0x228
lea eax, [esp + 0x1c]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [esp + 0x30], 0
lea eax, [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x20], edi
push ebx
push ebp
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
add esp, 0xc
lea ecx, [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0x18], bl
call fcn.1006164e
test eax, eax
je 0x1005c3e4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x14]
push eax
push 0x40
push dword [esp + 0x30]
mov dword [esp + 0x20], ebx
push edi
call esi
push ebx
push dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push dword [esp + 0x30]
push edi
call esi
mov eax, dword [esp + 0x28]
jmp 0x1005c3e6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005c7d9
Capabilities:
Enumerate pe sections
Parse pe header
Read file on windows

Disassembly:
mov eax, 0x1008b02a
call fcn.10088a5c
sub esp, 0x214
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1005c8d8
push esi
push edi
push 0x104
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push 0x1009bf5c
push eax
call dword [sym.imp.msvcrt.dll__wfopen]
mov esi, dword [sym.imp.msvcrt.dll_fseek]
mov ebx, eax
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.msvcrt.dll_ftell]
mov edi, eax
xor eax, eax
push eax
push eax
push ebx
call esi
push edi
call fcn.1007989c
push ebx
push 1
mov esi, eax
push edi
push esi
call dword [sym.imp.msvcrt.dll_fread]
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
mov eax, 0x5a4d
add esp, 0x3c
xor ebx, ebx
cmp word [esi], ax
jne 0x1005c8cf
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
jne 0x1005c8cf
movzx edi, word [ecx + 0x14]
mov edx, ebx
movzx eax, word [ecx + 6]
add edi, 0x18
add edi, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
test eax, eax
je 0x1005c8cf
mov ecx, ebx
mov eax, str..bind
movzx eax, byte [eax + ecx]
cmp al, byte [edi + ecx]
jne 0x1005c8e9
inc ecx
cmp ecx, 6
jne 0x1005c895
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
imul edx, edx, 0x28
mov ecx, dword [edx + ebx + 0xc]
add ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [edx + ebx + 0x10]
cmp ecx, dword [edx + ebx + 8]
mov eax, dword [ebp + 0x14]
cmovbe ecx, dword [edx + ebx + 8]
mov bl, 1
mov dword [eax], ecx
push esi
call fcn.1007942a
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
inc edx
add edi, 0x28
cmp edx, dword [ebp - 0x10]
jl 0x1005c893
jmp 0x1005c8cf
Function at 0x1005cadb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x1008b07d
call fcn.10088a5c
sub esp, 0x68
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea eax, [edi*2 + 1]
push eax
call fcn.1007989c
mov byte [ebp - 0x21], 0x34
mov esi, eax
mov byte [ebp - 0x20], 0x35
mov edx, dword [ebp + 8]
mov byte [ebp - 0x1f], 0x36
mov byte [ebp - 0x1e], 0x37
mov byte [ebp - 0x1d], 0x38
mov byte [ebp - 0x1c], 0x39
mov byte [ebp - 0x1b], 0x3a
mov byte [ebp - 0x1a], 0x3b
mov byte [ebp - 0x19], 0x3c
mov byte [ebp - 0x18], 0x3d
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x16], 0x46
mov byte [ebp - 0x15], 0x47
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x49
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x21]
pop ecx
mov ecx, esi
mov eax, ebx
sub byte [ebp + eax - 0x21], 4
inc eax
cmp eax, 0x10
jb 0x1005cb4d
test edi, edi
je 0x1005cb7e
movzx eax, byte [edx]
shr eax, 4
mov al, byte [ebp + eax - 0x21]
mov byte [ecx], al
movzx eax, byte [edx]
and eax, 0xf
mov al, byte [ebp + eax - 0x21]
mov byte [ecx + 1], al
add ecx, 2
inc edx
sub edi, 1
jne 0x1005cb5c
push 0x700
push dword [ebp + 0x10]
mov byte [ecx], bl
lea ecx, [ebp - 0x38]
call fcn.1005cd22
mov dword [ebp - 4], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x6c], bl
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], bl
mov ecx, esi
mov byte [ebp - 4], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005cbc1
sub ecx, edx
lea eax, [ebp - 0x38]
push esi
push ecx
push eax
lea eax, [ebp - 0x70]
lea edx, [ecx + esi]
mov ecx, esi
push eax
call fcn.1005dcc9
add esp, 0x10
push 0xc
pop edi
test al, al
je 0x1005cc44
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x68]
cdq
idiv edi
mov ecx, eax
lea eax, [ebp - 0x44]
test ecx, ecx
cmovne eax, dword [ebp - 0x68]
mov eax, dword [eax]
sub eax, dword [ebp - 0x70]
cdq
sub eax, edx
mov ebx, eax
lea eax, [ebp - 0x44]
sar ebx, 1
add ebx, dword [ebp + 8]
test ecx, ecx
cmovne eax, dword [ebp - 0x68]
mov edi, dword [eax]
sub edi, dword [ebp - 0x70]
add edi, ecx
add edi, esi
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1005cc22
push edi
push ecx
lea eax, [ebp - 0x38]
sub edx, ecx
push eax
lea eax, [ebp - 0x70]
add edx, edi
push eax
mov ecx, edi
call fcn.1005dcc9
add esp, 0x10
push 0xc
pop edi
push esi
call fcn.1007942a
pop ecx
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x1005cc66
mov eax, dword [ebp - 0x60]
sub eax, ecx
cdq
idiv edi
imul eax, eax, 0xc
push eax
push ecx
call fcn.1000c559
pop ecx
pop ecx
lea ecx, [ebp - 0x38]
call fcn.1005ce97
lea ecx, [ebp - 0x2c]
call fcn.1005bce7
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x1005ee17
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1005efad
mov edx, 0x10000000
cmp eax, 0x7c
je 0x1005efad
cmp eax, 0x29
jne 0x1005ee83
cmp dword [esi + 0x10], 0
jne 0x1005efad
test dword [esi + 0x50], edx
je 0x1005efb3
cmp eax, 0x5d
jne 0x1005ee5e
test dword [esi + 0x50], edx
je 0x1005ef43
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1005fb09
mov bl, 1
mov ecx, esi
call fcn.1005edef
test bl, bl
je 0x1005ee7f
mov ecx, esi
call fcn.1005fa24
mov cl, 1
jmp 0x1005ee1e
cmp eax, 0x2e
jne 0x1005ee9b
push 5
lea ecx, [esi + 0x24]
call fcn.1005f07a
mov ecx, esi
call fcn.1005edef
jmp 0x1005ee78
cmp eax, 0x5c
jne 0x1005eee7
mov ecx, esi
call fcn.1005edef
test byte [esi + 0x50], 0x80
je 0x1005eede
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1005eec7
push 4
lea ecx, [esi + 0x24]
call fcn.1005f07a
mov ecx, esi
call fcn.1005edef
jmp 0x1005ee7f
cmp al, 0x42
jne 0x1005eede
push 4
lea ecx, [esi + 0x24]
call fcn.1005f07a
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1005eebe
mov ecx, esi
call fcn.1005f8bd
jmp 0x1005ee78
cmp eax, 0x5b
jne 0x1005ef47
mov ecx, esi
call fcn.1005edef
lea ecx, [esi + 0x24]
call fcn.10060824
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1005ef14
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.1005edef
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1005ef32
cmp eax, 0x5d
jne 0x1005ef32
push eax
lea ecx, [esi + 0x24]
call fcn.1006086c
mov ecx, esi
call fcn.1005edef
mov ecx, esi
call fcn.100604ef
cmp dword [esi + 0x4c], 0x5d
je 0x1005ee92
push 4
jmp 0x1005efb5
cmp eax, 0x28
jne 0x1005ef67
mov ecx, esi
call fcn.1005edef
mov ecx, esi
call fcn.1005f995
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1005efb3
jmp 0x1005ee6d
cmp eax, 0x5e
jne 0x1005ef73
push 2
jmp 0x1005eeb6
cmp eax, 0x24
jne 0x1005ef7f
push 3
jmp 0x1005eeb6
cmp eax, 0x2a
je 0x1005efa9
cmp eax, 0x2b
je 0x1005efa9
cmp eax, 0x3f
je 0x1005efa9
cmp eax, 0x7b
je 0x1005efa9
cmp eax, 0x7d
jne 0x1005ee50
test dword [esi + 0x50], edx
jne 0x1005ee5e
push 6
jmp 0x1005efb5
push 0xa
jmp 0x1005efb5
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.1005e2e1
int3
Function at 0x10069a41
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x10069a68
sub edx, esi
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
seta al
dec al
and al, 0x20
xor al, cl
mov byte [esi], al
inc esi
sub edi, 1
jne 0x10069a4f
pop edi
pop esi
ret
Function at 0x1006cce6
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, edx
push ebp
xor ebx, ebx
mov esi, ecx
push ebx
push edi
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x20]
mov edx, ebp
movzx eax, cl
add esp, 0xc
imul eax, eax, 0xd
imul edx, ecx
mov cl, al
mov dword [esp + 0x14], eax
add edx, esi
xor cl, 0x6e
test ebp, ebp
jle 0x1006cd36
sub edi, edx
mov al, byte [edx]
xor al, cl
mov byte [edi + edx], al
mov al, byte [edx]
add al, byte [esp + 0x14]
add al, bl
add cl, al
inc ebx
inc edx
cmp ebx, ebp
jl 0x1006cd1f
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1006f9c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edx, ecx
mov ebx, 0x1018f5f4
push 8
xor eax, eax
mov edi, ebx
pop ecx
rep stosd dword es:[edi], eax
mov edi, ebx
lea esi, [edx + 0x101711d0]
sub edi, edx
mov cl, byte [esi]
xor cl, dl
xor cl, 0x6e
mov byte [edi + edx], cl
inc edx
inc esi
test cl, cl
jne 0x1006f9e1
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x1007155a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x100715c5
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaeb0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaeb0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaeb0]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaeb0]
sub edi, 1
jne 0x1007156e
pop edi
test esi, esi
je 0x100715e1
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaeb0]
inc edx
sub esi, 1
jne 0x100715c9
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x1007797d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x1007799c
or eax, 0xffffffff
jmp 0x10077a8a
cmp dword [esi + 0x14], 1
je 0x100779aa
push 0xfffffffffffffffc
pop eax
jmp 0x10077a8a
cmp edi, dword [esi + 0x10]
jb 0x100779b3
push 0xfffffffffffffff6
jmp 0x100779a4
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [ecx]
jne 0x100779c4
push 0xfffffffffffffff5
jmp 0x100779a4
movzx ebx, word [eax + 0x1c]
add eax, 0x2e
cmp dword [esi + 0x5c], 0
mov dword [esp + 0xc], eax
je 0x100779e7
push dword [esi + 0x5c]
call dword [sym.imp.msvcrt.dll_free]
and dword [esi + 0x5c], 0
mov eax, dword [esp + 0x10]
pop ecx
push ecx
push ecx
mov edx, ebx
mov ecx, eax
call fcn.100774cb
mov dword [esi + 0x5c], eax
pop ecx
pop ecx
test eax, eax
jne 0x100779ff
push 0xfffffffffffffffe
jmp 0x100779a4
lea eax, [esp + 0x10]
mov edx, edi
push eax
mov ecx, esi
call fcn.1007749b
pop ecx
test eax, eax
jne 0x10077a16
push 0xfffffffffffffffd
jmp 0x100779a4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xa0], eax
mov ax, word [esp + 0x26]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov word [esi + 0xa8], ax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x4e008], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x4e010], eax
xor eax, eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x4e014], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007a920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100d4040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1007a947
mov ecx, 5
int 0x29
push 2
call fcn.1007a296
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1007aa52
test esi, esi
jne 0x1007aa52
push 2
call fcn.1007a296
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10079d54
mov esp, ebp
pop ebp
ret