joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c880
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b8d42
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d437c]
xor eax, esp
mov dword [esp + 0x3c], eax
push edi
mov eax, dword [0x4d437c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x50], 0
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [eax]
push 1
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x14], 0x5c
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
cmp eax, 0xffffffff
je 0x40c956
push eax
push 0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 1
call dword [0x4bd1cc]
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x40c927
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40c956
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40c956
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x40c94d
lea eax, [esp + 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [edi + 0x18], 0x10
jb 0x40c961
mov edi, dword [edi + 4]
jmp 0x40c964
add edi, 4
push esi
push edi
push str.DevID
push str.User
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004b76e6
add esp, 0x4c
ret
Function at 0x41c130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov dword [ebp], 0
cmp dword [0x4d43b8], 0
push esi
je 0x41c18c
mov eax, dword [0x4d6a20]
test eax, eax
je 0x41c159
push eax
call dword [0x4d4408]
add esp, 4
lea eax, [esp + 0xc]
push eax
mov eax, 0x14
call fcn.00418f60
mov eax, dword [0x4d6a20]
add esp, 4
test eax, eax
je 0x41c17e
push eax
call dword [0x4d4410]
add esp, 4
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x41c19b
lea eax, [esi + 7]
pop esi
pop ebp
ret
push 0x14
call dword [0x4d43d8]
add esp, 4
mov esi, eax
jmp 0x41c182
cmp byte [0x4d43bc], 0
je 0x41c1e0
mov eax, dword [0x4d44b8]
test eax, eax
je 0x41c1bb
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x41c1e0
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x41c100
push 0
push 0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi], eax
jne 0x41c1f0
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x41c208
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebx
add esp, 4
mov dword [esi + 0x10], eax
mov dword [ebp], esi
pop esi
xor eax, eax
pop ebp
ret
Function at 0x459fd0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push ebp
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
push edi
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov byte [ebx + 0x10], 1
call fcn.00460090
add esp, 0x18
test edi, edi
jne 0x45a00a
mov ecx, dword [esp + 0xc]
push ebp
push ecx
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
call fcn.00460090
add esp, 0x10
pop ebp
pop ebx
ret
Function at 0x4605a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
xor eax, eax
push ebx
xor ebx, ebx
cmp dword [ecx + 0x14], eax
mov dword [esp + 4], eax
jle 0x460665
push ebp
push esi
push edi
lea esp, [esp]
cmp ebx, 2
mov edi, ebx
jge 0x4605ca
xor edi, 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
mov esi, dword [esp + 0x24]
mov edx, edi
shl edx, 4
test esi, esi
mov ebp, dword [edx + ecx + 0xc]
lea eax, [edx + ecx]
je 0x460631
mov eax, dword [eax]
sub esi, eax
lea esp, [esp]
movzx ecx, byte [eax]
movzx edx, byte [esi + eax]
cmp ecx, edx
jne 0x460604
test ecx, ecx
je 0x460631
add eax, 1
jmp 0x4605f0
movzx edx, byte [edx + 0x4c1700]
movzx ecx, byte [ecx + 0x4c1700]
sub ecx, edx
jne 0x46061b
add eax, 1
jmp 0x4605f0
test edi, edi
jne 0x46064e
mov eax, dword [esp + 0x24]
mov edx, str.main
call fcn.0041cd90
test eax, eax
jne 0x46064e
mov edx, dword [esp + 0x20]
push edx
lea ecx, [ebp + 0x18]
xor eax, eax
call fcn.0041e520
mov eax, dword [eax + 8]
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x460662
mov eax, dword [esp + 0x1c]
add ebx, 1
cmp ebx, dword [eax + 0x14]
jl 0x4605c0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x466c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x78]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x2c]
cmp dword [ebp + 0x28], ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
je 0x466ca9
mov ecx, dword [ebp]
push ecx
lea edx, [esp + 0x14]
push str.index__q
push edx
call fcn.0041bcb0
add esp, 0xc
jmp 0x466df6
cmp word [ebp + 0x32], bx
jbe 0x466e20
mov eax, dword [ebp + 4]
movsx ecx, word [eax + ebx*2]
mov edx, dword [esi + 4]
shl ecx, 4
test ebx, ebx
mov edi, dword [ecx + edx]
je 0x466d00
mov eax, dword [esp + 0x20]
add eax, 2
cmp eax, dword [esp + 0x18]
jb 0x466cec
push 0x4c9d74
mov eax, 2
lea ecx, [esp + 0x14]
call fcn.0041b5c0
add esp, 4
jmp 0x466d00
mov cx, word [0x4c9d74]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov word [eax + edx - 2], cx
mov edx, dword [esi]
test edx, edx
jne 0x466d0a
xor eax, eax
jmp 0x466d24
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x466d10
sub eax, esi
mov esi, dword [esp + 0x34]
and eax, 0x3fffffff
mov ecx, dword [esp + 0x20]
add ecx, eax
cmp ecx, dword [esp + 0x18]
jb 0x466d3f
push edx
lea ecx, [esp + 0x14]
call fcn.0041b5c0
add esp, 4
jmp 0x466d58
test eax, eax
je 0x466d58
mov dword [esp + 0x20], ecx
push eax
sub ecx, eax
add ecx, dword [esp + 0x18]
push edx
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x18]
jb 0x466d7d
push 0x4be6f4
mov eax, 1
lea ecx, [esp + 0x14]
call fcn.0041b5c0
add esp, 4
jmp 0x466d8f
mov dl, byte [0x4be6f4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov byte [eax + ecx - 1], dl
test edi, edi
jne 0x466d97
xor eax, eax
jmp 0x466db0
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x466da0
sub eax, edx
and eax, 0x3fffffff
mov edx, dword [esp + 0x20]
lea ecx, [edx + eax]
cmp ecx, dword [esp + 0x18]
jb 0x466dcc
push edi
lea ecx, [esp + 0x14]
call fcn.0041b5c0
add esp, 4
jmp 0x466de5
test eax, eax
je 0x466de5
mov dword [esp + 0x20], ecx
push eax
sub ecx, eax
add ecx, dword [esp + 0x18]
push edi
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
movzx eax, word [ebp + 0x32]
add ebx, 1
cmp ebx, eax
jl 0x466cb3
xor ebx, ebx
cmp dword [esp + 0x14], ebx
je 0x466e20
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov byte [ecx + edx], 0
cmp dword [esp + 0x1c], ebx
jbe 0x466e20
test byte [esp + 0x25], 4
jne 0x466e20
lea esi, [esp + 0x10]
call fcn.0041b6b0
jmp 0x466e24
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
push 2
push 0xfffffffffffffffa
push eax
mov eax, dword [ebp + 0x38]
and al, 3
sub al, 2
neg al
sbb eax, eax
and eax, 0x200
add eax, 0x613
push eax
mov eax, dword [esp + 0x3c]
call fcn.00466bd0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x49f540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
mov esi, dword [eax + 8]
xor ebx, ebx
cmp esi, ebx
push edi
jne 0x49f574
cmp dword [eax + 0x78], ebx
jne 0x49f569
mov ecx, dword [eax]
test byte [ecx + 0x50], 8
jne 0x49f569
mov byte [eax + 0x17], 1
mov ebx, eax
call fcn.0043c140
mov esi, eax
xor ebx, ebx
mov edi, dword [ebp + 0xc]
cmp edi, ebx
mov dword [esp + 0x10], ebx
je 0x49f677
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
mov edx, dword [edi + 0x2c]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x14], edx
jg 0x49f5a6
push ebx
push ecx
push ebx
push 0x4b
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
jmp 0x49f5cb
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x4b
mov word [eax + 2], bx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [edi + 0x48]
mov eax, dword [eax + 0x14]
cmp eax, ebx
je 0x49f5d9
mov ecx, dword [eax]
jmp 0x49f5db
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jg 0x49f5f1
cmp eax, ebx
je 0x49f5ed
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
jmp 0x49f5f1
mov dword [esp + 0x10], ebx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x58], ebx
jne 0x49f66c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x49f60e
cmp eax, str.first_value
jne 0x49f633
mov ecx, dword [edi + 0x40]
push ebx
push ecx
push ebx
push 0x47
push esi
call fcn.0043c3f0
mov edx, dword [edi + 0x40]
add esp, 0x14
push ebx
add edx, 1
push edx
push ebx
push 0x47
push esi
call fcn.0043c3f0
add esp, 0x14
mov eax, dword [esp + 0x14]
test dword [eax + 4], 0x1000
je 0x49f66c
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x49f66c
push ebx
push ebx
push eax
push 0x92
push esi
call fcn.0043c3f0
mov ecx, dword [edi + 0x40]
add esp, 0x14
push ebx
add ecx, 1
push ecx
push ebx
push 0x47
push esi
call fcn.0043c3f0
add esp, 0x14
mov edi, dword [edi + 0x24]
cmp edi, ebx
jne 0x49f583
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2c]
mov esi, dword [esp + 0x10]
pop edi
lea eax, [ecx + 1]
add ecx, esi
pop esi
mov dword [edx + 0x2c], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b76e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d437c]
jne 0x4b76f0
repz ret
jmp fcn.004b7c3c

Function at 0x4b7acb
Capabilities:
Get file attributes

Disassembly:
push edi
add ah, cl
into
xchg ecx, eax
cmp bl, byte [ecx + ecx - 0x117f35d5]
sub ecx, edx
sub dh, 0xb5
adc esi, ebp
mov ah, dl
test ebp, 0x8a139011
sbb ah, dl
push 0xa5a52af4
and ecx, 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edx
and esi, 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edx
xor eax, 0x984
not ebx
mov ebx, ecx
xor ebx, 0x65ca53d0
inc ecx

Function at 0x4b7ad0
Capabilities:
Get file attributes

Disassembly:
push edi
add ah, cl
into
xchg ecx, eax
cmp bl, byte [ecx + ecx - 0x117f35d5]
sub ecx, edx
sub dh, 0xb5
adc esi, ebp
mov ah, dl
test ebp, 0x8a139011
sbb ah, dl
push 0xa5a52af4
and ecx, 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edx
and esi, 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edx
xor eax, 0x984
not ebx
mov ebx, ecx
xor ebx, 0x65ca53d0
inc ecx
Function at 0x1000412c
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x100045e5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100045f3
or eax, eax
ret

Function at 0x1000df9d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d01b8
call fcn.100cece0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001da4
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001da4
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov al, byte [edi + 0x2d]
mov byte [esi + 0x2d], al
mov al, byte [edi + 0x2e]
mov byte [esi + 0x2e], al
mov al, byte [edi + 0x2f]
mov byte [esi + 0x2f], al
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov al, byte [edi + 0x31]
mov byte [esi + 0x31], al
mov ax, word [edi + 0x32]
mov word [esi + 0x32], ax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x100137a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x100137b7
pop dword [ebp - 8]
mov eax, 0x100137b7
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x45a5a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x4ec4
mov edi, eax
mov ebx, 0x742d4432
sub ebx, 0x641b2632
add ebx, dword [ebp - 8]
mov edx, 0x5d69d23f
sub edx, 0xcbb04408
xor dword [ebp - 4], 0xcc6a7871
mov esi, dword [ebx]
xor dword [ebp - 4], esi
xor esi, edx
mov dword [edi], esi
add dword [ebp - 4], esi
add edi, 4
add ebx, 0x4cda992
add ebx, 0xfb325672
loop 0x10013806
add eax, 0x12de3
mov ebx, eax
add eax, 0x13abecf3
add eax, 0xec541312
mov ecx, 0xa303587
sub ecx, 0xfa303587
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x100182db
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
xor ebx, ebx
push 0x3c
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov ax, word [edi]
mov word [esi + 0x10], ax
mov ax, word [edi + 2]
mov word [esi + 0x12], ax
mov eax, dword [edi + 4]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov eax, dword [edi + 8]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x20], eax
mov ax, word [edi + 0x18]
mov word [esi + 0x14], ax
movzx eax, word [edi + 0x1a]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x44], eax
lea eax, [edi + 0x28]
push eax
lea eax, [esi + 0x4c]
push eax
call sub.msvcrt.dll_memcpy
mov ax, word [esi + 0x10]
add esp, 0xc
and ax, 0xf000
cmp ax, 0x8000
jne 0x1001835d
mov eax, dword [edi + 0x6c]
or dword [esi + 0x18], ebx
or dword [esi + 0x1c], eax
movzx eax, word [edi + 0x74]
or dword [esi + 0x38], ebx
cdq
or dword [esi + 0x3c], eax
mov ax, word [edi + 0x78]
shl ax, 0x10
or word [esi + 0x12], ax
mov ax, word [edi + 0x7a]
shl ax, 0x10
or word [esi + 0x14], ax
mov eax, dword [esp + 0x14]
mov cx, word [eax + 0x48]
mov eax, 0x80
cmp cx, ax
jbe 0x100183d3
mov dx, word [edi + 0x80]
movzx ebx, dx
add ebx, eax
movzx eax, cx
cmp ebx, eax
jle 0x100183a9
xor al, al
jmp 0x100183d5
cmp dx, 0x1c
jb 0x100183d3
mov eax, dword [edi + 0x88]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x90]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x94]
mov dword [esi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
ret 8
Function at 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.100137a8
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1002d669
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x100d2011
call fcn.100cece0
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0x18]
mov dword [ebx], eax
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
lea eax, [esi + 0x18]
push eax
call fcn.1002d7b4
and dword [ebp - 4], 0
lea eax, [esi + 0x24]
push eax
lea ecx, [ebx + 0x24]
call fcn.1002d87c
lea eax, [esi + 0x30]
lea ecx, [ebx + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.1005aeb2
mov eax, dword [ebp + 8]
push 8
add esi, 0x40
lea edi, [ebx + 0x40]
pop ecx
add eax, 0x60
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x60]
mov byte [ebp - 4], 2
call fcn.1001699c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x10036873
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d2a11
call fcn.100cece0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100dee40
mov dword [esi + 4], 0x100dee30
lea ecx, [esi + 0x158]
mov dword [ebp - 4], 0xf
call fcn.100c98e0
mov eax, dword [esi + 0x85c]
test eax, eax
je 0x100368b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x850]
call fcn.100034b3
mov eax, dword [esi + 0x154]
pop ecx
test eax, eax
mov byte [ebp - 4], 0xd
je 0x100368d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x100368e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x144]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x100368fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x128]
call fcn.100034b3
push dword [esi + 0x11c]
call fcn.100034b3
push dword [esi + 0x110]
call fcn.100034b3
mov eax, dword [esi + 0xf8]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 7
je 0x10036933
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x7c]
call fcn.100034b3
pop ecx
mov byte [ebp - 4], 5
lea ecx, [esi + 0x5c]
call fcn.10036984
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call fcn.10036984
push dword [esi + 0x30]
call fcn.100034b3
push dword [esi + 0x24]
call fcn.100034b3
push dword [esi + 0x18]
call fcn.100034b3
push dword [esi + 0xc]
call fcn.100034b3
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x1003bdf2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d2e20
call fcn.100cece0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001da4
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001da4
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov al, byte [edi + 0x29]
mov byte [esi + 0x29], al
mov al, byte [edi + 0x2a]
mov byte [esi + 0x2a], al
mov al, byte [edi + 0x2b]
mov byte [esi + 0x2b], al
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4