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

Disassembly:
push 0xffffffffffffffff
push 0x4044f1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40a3a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x14], ecx
mov cl, byte [esp + 0x48]
cmp cl, bl
mov dword [esi + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x20], 1
mov dword [esi + 0xc], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], cl
mov dword [esi + 0x30], ebx
jne 0x4032a4
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x48], edi
jbe 0x403271
lea ecx, [edx + 0xc]
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
jbe 0x403258
mov edi, eax
add ecx, 0x10
sub edx, 1
jne 0x403250
cmp edi, 0x100000
mov dword [esp + 0x48], edi
mov eax, 0x4078b0
ja 0x403275
lea eax, [esp + 0x48]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
add eax, 0xa
push eax
call fcn.004038cb
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, edi
je 0x40329b
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x24], edi
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor ecx, ecx
mov eax, ebp
mov edx, 0x44
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004038cb
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov byte [esp + 0x20], 2
je 0x4032f2
push 0x4023f0
push 0x4023b0
push ebp
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], ebp
call fcn.00403a13
jmp 0x4032f4
xor edi, edi
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov byte [esp + 0x20], 1
je 0x403324
cmp eax, ebx
je 0x403321
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x4023f0
push ecx
push 0x44
push eax
call fcn.004039b0
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, esi
call fcn.00402e50
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x24

Function at 0x4038dc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a3a0]
jne 0x4038e6
repz ret
jmp fcn.00403d8e
Function at 0x402b10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x7a7ad0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402ba4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402b61
cmp dword [ebp + 0x10], ebx
jne 0x402b98
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402b10
test eax, eax
jne 0x402b73
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402b48
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.0040620a
cmp eax, ebx
je 0x402bab
push ebx
push dword [0x7a7ad0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402ba4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x7a7ad0], ebx
jne 0x402ba1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402ba1
jmp 0x402ba4
Function at 0x403126
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x7966bc]
sub esi, dword [0x40bde8]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x7a7a2c], eax
jle 0x403290
push dword [0x79e6cc]
call fcn.004032d4
push ebx
push ebx
push dword [0x40bde8]
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x79e6c8], esi
mov dword [0x7966b8], ebx
mov ebp, 0x78a6b8
mov eax, dword [0x7966c0]
mov edi, 0x4000
sub eax, dword [0x79e6cc]
cmp eax, edi
jg 0x40319b
mov edi, eax
mov esi, 0x7926b8
push edi
push esi
call fcn.004032a2
test eax, eax
je 0x403282
add dword [0x79e6cc], edi
mov dword [0x40bdf0], esi
mov dword [0x40bdf4], edi
cmp dword [0x7a7a30], ebx
je 0x4031f2
cmp dword [0x7a7ac0], ebx
jne 0x4031f2
mov eax, dword [0x79e6c8]
push ebx
sub eax, dword [0x7966bc]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40bde8]
mov dword [0x7966b8], eax
call fcn.00402cb0
pop ecx
push 0x40bdf0
mov dword [0x40bdf8], ebp
mov dword [0x40bdfc], 0x8000
call fcn.00406326
test eax, eax
jl 0x40328b
mov esi, dword [0x40bdf8]
sub esi, ebp
je 0x40324c
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403287
cmp esi, dword [esp + 0x10]
jne 0x403287
add dword [0x40bde8], esi
cmp dword [0x40bdf4], ebx
jne 0x4031c1
jmp 0x403258
cmp dword [0x40bdf4], ebx
jne 0x40328b
cmp edi, ebx
je 0x40328b
mov eax, dword [0x7966bc]
mov ecx, eax
sub ecx, dword [0x40bde8]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x403185
push ebx
push ebx
push eax
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403290
or eax, 0xffffffff
jmp 0x40329a
push 0xfffffffffffffffe
jmp 0x40328d
push 0xfffffffffffffffd
pop eax
jmp 0x40329a
push 1
call fcn.00402cb0
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x405622
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x7a3f18], 0x44
push eax
xor eax, eax
push 0x7a3f18
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40565d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4056e7
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405b04
mov edi, eax
cmp edi, 0xffffffff
je 0x405728
test byte [esp + 0x10], 1
push esi
je 0x40570a
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405710
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405719
xor eax, eax
inc eax
jmp 0x40572a
test byte [esp + 0x10], 4
jne 0x405728
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x40572f
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405a10
test bl, 8
mov dword [ebp - 0xc], eax
je 0x40576e
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x7a7aa8], eax
jmp 0x405901
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405788
test eax, eax
je 0x4058af
test bl, 2
je 0x4058af
mov esi, 0x7a2f18
push edi
push esi
call fcn.00405ea0
cmp dword [ebp + 8], 0
je 0x4057a7
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4057ad
push edi
call fcn.00405954
cmp word [edi], 0
jne 0x4057bd
cmp word [0x7a2f18], 0x5c
jne 0x4057c8
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4058a4
lea eax, [ebp - 0x230]
push 0x3f
push eax
lea esi, [ebp - 0x230]
call fcn.00405935
xor ecx, ecx
cmp word [eax], cx
je 0x40580f
cmp word [ebp - 0x28], cx
je 0x40580f
lea esi, [ebp - 0x28]
cmp word [esi], 0x2e
jne 0x40582a
mov ax, word [esi + 2]
cmp ax, cx
je 0x405883
cmp ax, 0x2e
jne 0x40582a
cmp word [esi + 4], cx
je 0x405883
push esi
push ebx
call fcn.00405ea0
test byte [ebp - 0x25c], 0x10
je 0x40584f
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405883
push dword [ebp + 0xc]
push edi
call fcn.0040572f
jmp 0x405883
push dword [ebp - 4]
push edi
call fcn.004056e7
test eax, eax
jne 0x40587b
cmp dword [ebp - 4], eax
je 0x405873
push edi
push 0xfffffffffffffff1
call fcn.00405154
push 0
push edi
call fcn.00405d3a
jmp 0x405883
inc dword [0x7a7aa8]
jmp 0x405883
push edi
push 0xfffffffffffffff2
call fcn.00405154
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4057eb
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4058af
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405901
cmp dword [ebp - 0xc], esi
jne 0x4058c3
inc dword [0x7a7aa8]
jmp 0x405901
push edi
call fcn.004061e3
test eax, eax
je 0x405901
push edi
call fcn.00405908
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004056e7
test eax, eax
jne 0x4058f9
cmp dword [ebp - 4], esi
je 0x4058bb
push edi
push 0xfffffffffffffff1
call fcn.00405154
push esi
push edi
call fcn.00405d3a
jmp 0x405901
push edi
push 0xffffffffffffffe5
call fcn.00405154
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405a10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x7a3718
push esi
call fcn.00405ea0
push esi
call fcn.004059b3
mov edi, eax
test edi, edi
jne 0x405a31
xor eax, eax
jmp 0x405a89
push edi
call fcn.00406134
test byte [0x7a7a38], 0x80
je 0x405a4e
mov ax, word [edi]
test ax, ax
je 0x405a2d
cmp ax, 0x5c
je 0x405a2d
sub edi, esi
sar edi, 1
jmp 0x405a68
call fcn.004061e3
test eax, eax
je 0x405a62
test byte [eax], 0x10
je 0x405a2d
push esi
call fcn.00405954
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405a54
call fcn.00405908
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405b04
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405b23
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405b29
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405b58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40953c]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x409540]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405ba8
test edi, edi
jne 0x405b65
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405ba2
Function at 0x405bac
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x7a45b0
push 0x409560
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x405bfb
push 1
push 0
push esi
call fcn.00405b29
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x405d34
cmp eax, edi
jg 0x405d34
mov esi, 0x7a4db0
push edi
push esi
push dword [esp + 0x20]
call ebp
test eax, eax
je 0x405d34
cmp eax, edi
jg 0x405d34
push esi
push ebx
push str._ls_ls_r_n
push 0x7a41b0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x7a7a30]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405ec2
push 4
push 0xc0000000
push esi
call fcn.00405b29
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x405d34
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405d2d
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405d2d
cmp edi, dword [esp + 0x10]
jne 0x405d2d
push str._Rename__r_n
push esi
call fcn.00405a8e
test eax, eax
jne 0x405cc3
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405cf8
add eax, 0xa
push 0x409544
push eax
call fcn.00405a8e
mov ebp, eax
test ebp, ebp
je 0x405cf4
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405ce5
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405cdf
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x1c]
jmp 0x405cfa
mov ebp, dword [esp + 0x1c]
mov eax, edi
push ebx
add eax, esi
push 0x7a41b0
push eax
call fcn.00405ae4
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x405d6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov word [esi], di
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405de1
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x800
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405dce
cmp dword [ebp + 0x14], 1
je 0x405dd1
cmp dword [ebp + 0x14], 2
je 0x405dd1
mov word [esi], di
push dword [ebp + 0x18]
mov word [esi + 0x7fe], di
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4062b8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a55b4], 0
push esi
jne 0x4062ef
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4062c9
mov dword [ecx*4 + 0x7a55b0], eax
inc ecx
cmp ecx, 0x100
jl 0x4062c4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406320
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a55b0]
xor eax, esi
inc ecx
dec edx
jne 0x406302
pop edi
not eax
pop esi
ret 0xc
Function at 0x1002f270
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1002f2ae
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1002f2a6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1002f2b0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1002f296
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1002f380
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1002f3b1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1002f3b1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1002f3b1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100361e3
Capabilities:
Encode data using xor

Disassembly:
call 0x1003615c
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1003618c
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100361a8
xor edx, 0
jmp 0x100361b3
xor edx, edx
jmp 0x100361ca
jmp 0x100361d6
xor eax, eax
push 0x8427d7c0
call 0x100361e3
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1003621f
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100361f8
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x10036236
add eax, 0
jno 0x1003623b
add esi, 0
ret 0x10
Function at 0x10036fa4
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10036fc6
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10037168
cmp edi, dword [ebp + 0x10]
jb 0x10037168
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10036a90
inc edi
jmp 0x1003704f
jmp 0x1003705c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10036a90
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10036a90
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100370b0
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10037094
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100370de
add dword [eax], 0x39
jle 0x100370ba
sub al, 0xf5
mov ch, al
call fcn.100370f3
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10038dcb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10038de1
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10038df2
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10038e33
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x1003b19f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1003b0e8
add ebx, 0
push ecx
call 0x1003b0fd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x100570d1
sub ebx, dword [0x10076910]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x10076900
call fcn.10036bc7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100360d5
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1003b25b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1003b25b
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1003b212
mov eax, 1
lock xchg dword [0x1007690c], eax
push 0x3dd1fc71
call 0x1003b19f
push esi
add esp, 8
cmp eax, 0
jne 0x1003b188
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1003b1ae
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1003b1c3
cmp ecx, edx
cmp eax, 0
je 0x1003b1e8
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1003b1d2
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1003b201
dec eax
loope 0x1003b204
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x1007690c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1003b238
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1003b24d
jmp 0x1003b258
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1003b146
Function at 0x100422c0
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10042596
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x10063584
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1005a54a
push 0xffffffffffffffff
call fcn.100394c0
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1004232a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10042342
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1004258a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1004255e