joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418610
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cd36
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4748f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CPlustimeMgr.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0x190
mov byte [ebp - 4], 1
call fcn.00429f90
mov esi, eax
add esp, 4
test esi, esi
je 0x4186cd
mov dword [esi], vtable.CMemoryPoolTempl_struct_stPlusTime_.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x10], 0
jmp 0x4186cf
xor esi, esi
push 0x80
lea eax, [esi + 0x10]
mov dword [edi + 4], esi
push str.stPlusTimePool
push eax
call fcn.0042cfb0
lea eax, [esi + 4]
mov dword [esi + 0xc], 0xa
add esp, 0xc
cmp dword [eax], 0
jne 0x418708
push 0x32
push eax
call fcn.00418950
mov eax, dword [esi + 4]
add esp, 8
mov dword [esi + 8], eax
push 0x32
lea ecx, [edi + 8]
call fcn.00426680
push 0x32
lea ecx, [edi + 0x2c]
call fcn.00426680
mov dword [edi + 0x54], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422b40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x422b6e
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422b67
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push str.._Log
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp + 0x10]
call fcn.0042d0e0
movzx esi, ax
push esi
push str.AgentServer__d
push 0x48b5b8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x48b5b8
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x48b5b4], eax
test eax, eax
je 0x422bd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x422bd0
push dword [0x48b5b4]
jmp 0x422c31
call fcn.00422a30
test eax, eax
je 0x422c41
push 0x4e52
call fcn.00429f90
add esp, 4
test eax, eax
je 0x422bf3
mov ecx, eax
call fcn.00422c50
jmp 0x422bf5
xor eax, eax
push esi
mov ecx, eax
mov dword [0x48b608], eax
call fcn.004240f0
mov ecx, dword [0x48b608]
call fcn.004230e0
mov ecx, dword [0x48b608]
test ecx, ecx
je 0x422c1d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x48b5b4]
mov dword [0x48b608], 0
test eax, eax
je 0x422c41
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x48b5b4], 0
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x425560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cd36
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4748f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 8]
mov dword [edi], vtable.CSkillDelayManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0x1f4
mov byte [ebp - 4], 1
call fcn.00426680
push 0x190
call fcn.00429f90
mov esi, eax
add esp, 4
test esi, esi
je 0x425629
mov dword [esi], vtable.CMemoryPoolTempl_struct_SKILLUSE_.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x10], 0
jmp 0x42562b
xor esi, esi
push 0x80
lea eax, [esi + 0x10]
mov dword [edi + 4], esi
push str.SKILLUSE
push eax
call fcn.0042cfb0
lea eax, [esi + 4]
mov dword [esi + 0xc], 0xa
add esp, 0xc
cmp dword [eax], 0
jne 0x425667
push 0x1f4
push eax
call fcn.00425a90
mov eax, dword [esi + 4]
add esp, 8
mov dword [esi + 8], eax
push 0xa
lea ecx, [edi + 0x2c]
call fcn.00426680
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add edx, edi
mov ecx, dword [eax + 0x24]
add ebx, edi
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10001f64
mov eax, dword [edx + esi*4]
add eax, edi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10001f6b
mov edx, dword [ebp - 0xc]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10001f48
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + esi*2]
mov eax, dword [ebx + eax*4]
add eax, edi
jmp 0x10001f66
Function at 0x10001fec
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x1000c388
push ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov edi, eax
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0
push 0
push edi
mov ebx, eax
call esi
mov esi, dword [ebp - 4]
push edi
push esi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebx + 0x3c]
lea edi, [ebx + 0xf8]
add edi, eax
mov dword [ebp - 0xc], edi
movzx ecx, word [eax + ebx + 6]
push dword [eax + ebx + 0x78]
mov dword [ebp - 8], ecx
mov edx, ecx
push esi
mov ecx, edi
call fcn.10001fac
add eax, ebx
add esp, 0x44
xor edi, edi
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10002130
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
push eax
push dword [ebp - 4]
call fcn.10001fac
mov edx, dword [ebp - 8]
add eax, ebx
mov ecx, dword [ebp - 0xc]
push dword [eax + edi*4]
push dword [ebp - 4]
call fcn.10001fac
add esp, 0x10
add eax, ebx
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x100020ce
test cl, cl
je 0x100020ca
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x100020ce
add eax, 2
add esi, 2
test cl, cl
jne 0x100020ae
xor eax, eax
jmp 0x100020d3
sbb eax, eax
or eax, 1
test eax, eax
je 0x100020e2
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x10002084
jmp 0x10002130
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push dword [eax + 0x24]
push dword [ebp - 4]
call fcn.10001fac
mov edx, dword [ebp - 8]
add eax, ebx
mov ecx, dword [ebp - 0xc]
movzx esi, word [eax + edi*2]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
push dword [eax + 0x1c]
push edi
call fcn.10001fac
mov edx, dword [ebp - 8]
add eax, ebx
mov ecx, dword [ebp - 0xc]
push dword [eax + esi*4]
push edi
call fcn.10001fac
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002135
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.10001f10
mov ebx, eax
test edi, edi
je 0x100021f5
test esi, esi
je 0x100021f5
push 0x104
lea eax, [ebp - 0x110]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.10001fec
mov edi, eax
cmp edi, 0xffffffff
je 0x100021f5
lea eax, [ebp - 0x110]
push 0x1000c388
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
push 0
mov esi, eax
push edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push esi
push 5
lea eax, [ebp - 0xc]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x114]
add esp, 0x28
push eax
push 0x40
push 5
push ebx
call esi
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
mov al, byte [ebp - 8]
mov byte [ebx + 4], al
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x114]
push 5
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000abcd
leave
ret

Function at 0x10002204
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
je 0x10002243
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [edi], 0x8b55ff8b
push eax
push dword [ebp - 8]
mov byte [edi + 4], 0xec
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000abcd
leave
ret

Function at 0x10002250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
jne 0x10002268
push edi
mov edi, dword fs:[0x30]
mov eax, dword [edi + 8]
ret
push ebx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x1c]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
jmp 0x10002294
push esi
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov eax, dword [ebp - 4]
je 0x1000229a
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [eax + 8], 0
jne 0x1000227e
mov eax, dword [eax + 8]
pop esi
leave
ret
Function at 0x10002cc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x10002d3b
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 0x14]
mov word [ebp - 0xc], ax
movzx eax, word [ebp - 0xc]
test eax, eax
je 0x10002d3b
lea eax, [ebp - 8]
push eax
push 0x40
movzx eax, word [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, word [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movzx eax, word [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000abcd
leave
ret

Function at 0x1000303d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push eax
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0x44
xor eax, eax
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x100030a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_process._Error_code:__d_n
call fcn.1000aafc
pop ecx
pop ecx
jmp 0x100030b5
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000abcd
leave
ret
Function at 0x10003c22
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], 0x26
mov byte [ebp - 0x2c], 0x5e
mov byte [ebp - 0x2b], 0x2e
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x3e
mov byte [ebp - 0x28], 0x17
mov byte [ebp - 0x27], 0x43
mov byte [ebp - 0x26], 0x43
mov byte [ebp - 0x25], 0x23
mov byte [ebp - 0x24], 0x23
mov byte [ebp - 0x23], 0x47
mov byte [ebp - 0x22], 0x1b
mov byte [ebp - 0x21], 0x3b
mov byte [ebp - 0x20], 0x47
mov byte [ebp - 0x1f], 0x23
mov byte [ebp - 0x1e], 0x1f
mov byte [ebp - 0x1d], 0x47
mov byte [ebp - 0x1c], 0x2f
mov byte [ebp - 0x1b], 0x3f
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x5a
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0x66
mov byte [ebp - 0x16], 0x42
mov byte [ebp - 0x15], 0x47
mov byte [ebp - 0x14], 0x3e
mov byte [ebp - 0x13], 0x5e
mov byte [ebp - 0x12], 0x3e
mov byte [ebp - 0x11], 3
mov byte [ebp - 0x10], 0x5a
mov byte [ebp - 0xf], 0xb
mov byte [ebp - 0xe], 0x6b
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x67
mov byte [ebp - 0xb], 0x66
mov byte [ebp - 0xa], 0xb
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x6e
mov byte [ebp - 7], 0xff
lea ecx, [ebp - 0x2c]
call fcn.10004052
push 9
pop ecx
lea esi, [ebp - 0x2c]
mov edi, 0x1000faec
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, 0x1000faec
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000abcd
leave
ret

Function at 0x10003d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], 0x26
mov byte [ebp - 0x2c], 0x5e
mov byte [ebp - 0x2b], 0x2e
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x3e
mov byte [ebp - 0x28], 0x17
mov byte [ebp - 0x27], 0x43
mov byte [ebp - 0x26], 0x43
mov byte [ebp - 0x25], 0x23
mov byte [ebp - 0x24], 0x23
mov byte [ebp - 0x23], 0x47
mov byte [ebp - 0x22], 0x1b
mov byte [ebp - 0x21], 0x3b
mov byte [ebp - 0x20], 0x47
mov byte [ebp - 0x1f], 0x23
mov byte [ebp - 0x1e], 0x1f
mov byte [ebp - 0x1d], 0x47
mov byte [ebp - 0x1c], 0x2f
mov byte [ebp - 0x1b], 0x3f
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x5e
mov byte [ebp - 0x18], 0x7a
mov byte [ebp - 0x17], 0x32
mov byte [ebp - 0x16], 0x5e
mov byte [ebp - 0x15], 0x47
mov byte [ebp - 0x14], 0x3e
mov byte [ebp - 0x13], 0x5e
mov byte [ebp - 0x12], 0x3e
mov byte [ebp - 0x11], 3
mov byte [ebp - 0x10], 0x5a
mov byte [ebp - 0xf], 0xb
mov byte [ebp - 0xe], 0x6b
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x67
mov byte [ebp - 0xb], 0x66
mov byte [ebp - 0xa], 0xb
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x6e
mov byte [ebp - 7], 0xff
lea ecx, [ebp - 0x2c]
call fcn.10004052
push 9
pop ecx
lea esi, [ebp - 0x2c]
mov edi, 0x1000fabc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, 0x1000fabc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000abcd
leave
ret
Function at 0x10003dde
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], 0x4b
mov byte [ebp - 0x50], 0x77
mov byte [ebp - 0x4f], 0xd3
mov byte [ebp - 0x4e], 0x72
mov byte [ebp - 0x4d], 0x31
mov byte [ebp - 0x4c], 0xd2
mov byte [ebp - 0x4b], 0x92
mov byte [ebp - 0x4a], 0x1a
mov byte [ebp - 0x49], 0xb9
mov byte [ebp - 0x48], 0x3a
mov byte [ebp - 0x47], 0xd9
mov byte [ebp - 0x46], 0x3a
mov byte [ebp - 0x45], 0xf9
mov byte [ebp - 0x44], 0xfb
mov byte [ebp - 0x43], 0xfa
mov byte [ebp - 0x42], 0x76
mov byte [ebp - 0x41], 0xd2
mov byte [ebp - 0x40], 0x32
mov byte [ebp - 0x3f], 0x51
mov byte [ebp - 0x3e], pe_nt_image_headers32
mov byte [ebp - 0x3d], 0x98
mov byte [ebp - 0x3c], 0xfb
mov byte [ebp - 0x3b], 0x55
mov byte [ebp - 0x3a], 0x98
mov byte [ebp - 0x39], 0xfb
mov byte [ebp - 0x38], 0xd7
mov byte [ebp - 0x37], 0x32
mov byte [ebp - 0x36], 0x73
mov byte [ebp - 0x35], 0xb1
mov byte [ebp - 0x34], 0x12
mov byte [ebp - 0x33], 0xd2
mov byte [ebp - 0x32], 0x73
mov byte [ebp - 0x31], 0xfb
mov byte [ebp - 0x30], 0x59
mov byte [ebp - 0x2f], 0x3a
mov byte [ebp - 0x2e], 0xd9
mov byte [ebp - 0x2d], 0x3a
mov byte [ebp - 0x2c], 0xd9
mov byte [ebp - 0x2b], 0x98
mov byte [ebp - 0x2a], 0xfb
mov byte [ebp - 0x29], 0xd7
mov byte [ebp - 0x28], 0x16
mov byte [ebp - 0x27], 0x95
mov byte [ebp - 0x26], 0xf5
mov byte [ebp - 0x25], 0xfb
mov byte [ebp - 0x24], 0x12
mov byte [ebp - 0x23], 0x32
mov byte [ebp - 0x22], 0xfb
mov byte [ebp - 0x21], 0x95
mov byte [ebp - 0x20], 0x95
mov byte [ebp - 0x1f], 0x39
mov byte [ebp - 0x1e], 0xb7
mov byte [ebp - 0x1d], 0x59
mov byte [ebp - 0x1c], 0x57
mov byte [ebp - 0x1b], 0xd7
mov byte [ebp - 0x1a], 0x14
mov byte [ebp - 0x19], 0xd7
mov byte [ebp - 0x18], 0x95
mov byte [ebp - 0x17], 0xf9
mov byte [ebp - 0x16], 0x39
mov byte [ebp - 0x15], 0xb9
mov byte [ebp - 0x14], 0xfb
mov byte [ebp - 0x13], 0xb7
mov byte [ebp - 0x12], 0x51
mov byte [ebp - 0x11], 0xd2
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x1a
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], 0x56
mov byte [ebp - 0xb], 0xd4
mov byte [ebp - 0xa], 0x79
mov byte [ebp - 9], 0x19
mov byte [ebp - 8], 0x35
mov byte [ebp - 7], 0xda
mov byte [ebp - 6], 0xff
lea ecx, [ebp - 0x50]
call fcn.10004068
push 0x12
pop ecx
lea esi, [ebp - 0x50]
mov edi, 0x1000fa58
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, 0x1000fa58
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000abcd
leave
ret

Function at 0x100040b1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov edx, dword [ecx]
je 0x100040e2
push esi
push edi
mov edi, dword [ebp + 8]
not edx
xor esi, esi
movzx eax, byte [esi + edi]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x1000c590]
inc esi
cmp esi, dword [ebp + 0xc]
jne 0x100040c5
pop edi
not edx
pop esi
mov dword [ecx], edx
pop ebp
ret 8
Function at 0x100040f1
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1000f7ca], 0
push esi
push edi
jne 0x100041b4
push ebx
push 0x69
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ebx, eax
mov esi, str.Initialize_class_first
push 5
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000412e
push 0x11
pop ecx
mov esi, 0x1000c9e8
lea eax, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
push 0xa
push eax
push 0x16
movsw word es:[edi], word [esi]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
add esp, 0xc
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004156
mov ax, word [0x1000ca30]
lea edx, [ebp - 0x10]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1000416c
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004178
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004191
mov ax, word [0x1000ca34]
push ebx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
pop ebx
jmp 0x100041e4
mov ecx, dword [0x1000f800]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x1000f800]
lea edi, [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x1000f800]
lea esi, [eax + 0x30]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esi]
add edx, dword [edi]
mov ecx, dword [eax + 0x44]
call edx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000abcd
leave
ret
Function at 0x100041f2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1000f7ca], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x100042b6
push 0x69
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ebx, eax
mov esi, str.Initialize_class_first
push 5
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004231
push 0x11
pop ecx
mov esi, 0x1000c9e8
lea eax, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
push 0xa
push eax
push 0x1b
movsw word es:[edi], word [esi]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
add esp, 0xc
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004259
mov ax, word [0x1000ca30]
lea edx, [ebp - 0x10]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1000426f
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000427b
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10004294
mov ax, word [0x1000ca34]
push ebx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x100042e6
mov ecx, dword [0x1000f800]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x1000f800]
mov edi, dword [eax + 0x4c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x1000f800]
lea esi, [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, edi
push ebx
add edx, dword [eax]
call edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000abcd
leave
ret