joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003cc40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x440
mov eax, dword [0x1006f3c0]
xor eax, esp
mov dword [esp + 0x43c], eax
cmp dword [0x10074b2c], 0
mov eax, dword [esp + 0x450]
mov ecx, dword [esp + 0x454]
mov edx, dword [esp + 0x448]
push ebx
mov ebx, dword [esp + 0x448]
push ebp
mov ebp, dword [esp + 0x454]
push esi
mov esi, dword [esp + 0x464]
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
je 0x1003cca6
push esi
push ecx
push eax
push ebp
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
jmp 0x1003ce3f
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x240]
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 0
call fcn.1003bef0
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push ebp
push dword [esp + 0x24c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x1003ce11
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1003cdf6
cmp eax, 2
jbe 0x1003cd78
cmp eax, 7
jne 0x1003cdf6
mov eax, dword [esi]
lea ecx, [esp + 0x20]
shr eax, 1
push eax
push dword [esp + 0x1c]
call fcn.1003bce0
mov eax, dword [esp + 0x234]
add eax, eax
shr eax, 1
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x28]
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x24c]
push ebx
call eax
mov ecx, dword [esp + 0x10]
mov edi, eax
lea eax, [ecx + ecx]
mov dword [esi], eax
test edi, edi
je 0x1003cd65
lea ecx, [esp + 0x20]
call fcn.1003bd60
jmp 0x1003ce11
cmp dword [esp + 0x24], 0
je 0x1003cde6
push ecx
lea ecx, [esp + 0x24]
call fcn.1003be20
jmp 0x1003cde0
mov eax, dword [esi]
lea ecx, [esp + 0x20]
shr eax, 1
push eax
push dword [esp + 0x1c]
call fcn.1003bce0
mov eax, dword [esp + 0x234]
add eax, eax
shr eax, 1
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x28]
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x24c]
push ebx
call eax
mov ecx, dword [esp + 0x10]
mov edi, eax
lea eax, [ecx + ecx]
mov dword [esi], eax
test edi, edi
je 0x1003cdd0
lea ecx, [esp + 0x20]
call fcn.1003bd60
jmp 0x1003ce11
cmp dword [esp + 0x24], 0
je 0x1003cde6
lea ecx, [esp + 0x20]
call fcn.1003be80
mov ecx, eax
mov dword [esp + 0x10], ecx
lea eax, [ecx + ecx]
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.1003bd60
jmp 0x1003ce11
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x24c]
push ebx
call eax
mov edi, eax
mov ecx, dword [esp + 0x23c]
lea eax, [esp + 0x240]
cmp ecx, eax
je 0x1003ce3f
mov eax, ecx
shr eax, 0x10
test eax, eax
je 0x1003ce3f
cmp dword [esp + 0x238], 0xffffffff
je 0x1003ce3f
push ecx
call fcn.10055408
add esp, 4
mov ecx, dword [esp + 0x44c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100526ad
add esp, 0x440
ret 0x18
Function at 0x1003ce60
Capabilities:
Set registry value

Disassembly:
sub esp, 0x42c
mov eax, dword [0x1006f3c0]
xor eax, esp
mov dword [esp + 0x428], eax
cmp dword [0x10074b2c], 0
mov eax, dword [esp + 0x434]
push ebx
mov ebx, dword [esp + 0x434]
push ebp
mov ebp, dword [esp + 0x448]
push edi
mov edi, dword [esp + 0x450]
je 0x1003ceb9
push edi
push ebp
push dword [esp + 0x450]
push dword [esp + 0x450]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1003cfa9
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x22c]
mov dword [esp + 0x22c], 0
mov dword [esp + 0x230], 0
call fcn.1003bef0
mov esi, dword [esp + 0x44c]
cmp esi, 1
je 0x1003cf11
cmp esi, 2
je 0x1003cf11
cmp esi, 7
je 0x1003cf11
push edi
push ebp
push esi
push dword [esp + 0x454]
push dword [esp + 0x238]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x1003cf78
shr edi, 1
lea ecx, [esp + 0x10]
push edi
push ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.1003bef0
mov eax, dword [esp + 0x220]
inc eax
push eax
push dword [esp + 0x18]
push esi
push dword [esp + 0x454]
push dword [esp + 0x238]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
lea eax, [esp + 0x18]
cmp ecx, eax
je 0x1003cf78
mov eax, ecx
shr eax, 0x10
test eax, eax
je 0x1003cf78
cmp dword [esp + 0x10], 0xffffffff
je 0x1003cf78
push ecx
call fcn.10055408
add esp, 4
mov ecx, dword [esp + 0x228]
lea eax, [esp + 0x22c]
cmp ecx, eax
je 0x1003cfa6
mov eax, ecx
shr eax, 0x10
test eax, eax
je 0x1003cfa6
cmp dword [esp + 0x224], 0xffffffff
je 0x1003cfa6
push ecx
call fcn.10055408
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x434]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.100526ad
add esp, 0x42c
ret 0x18

Function at 0x1003cfd0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x1006f3c0]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10074b2c], 0
mov eax, dword [esp + 0x21c]
je 0x1003d012
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.100526ad
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.1003bef0
cmp dword [esp + 0x214], 0x104
jl 0x1003d04b
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1003d057
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x1003d07c
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x1003d07c
cmp dword [esp + 4], 0xffffffff
je 0x1003d07c
push edx
call fcn.10055408
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100526ad
add esp, 0x218
ret 4
Function at 0x1003d0a0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x1006f3c0]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10074b2c], 0
mov eax, dword [esp + 0x21c]
je 0x1003d0e2
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.100526ad
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.1003bef0
cmp dword [esp + 0x214], 0x104
jl 0x1003d11b
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1003d127
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x1003d14c
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x1003d14c
cmp dword [esp + 4], 0xffffffff
je 0x1003d14c
push edx
call fcn.10055408
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100526ad
add esp, 0x218
ret 4
Function at 0x10046520
Capabilities:
Move file

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, 0x10076340
push esi
mov esi, ebp
mov edx, 0x104
sub esi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1004654e
mov al, byte [esi + ecx]
test al, al
je 0x1004654e
mov byte [ecx], al
inc ecx
dec edx
jne 0x10046535
jmp 0x10046552
test edx, edx
jne 0x10046553
dec ecx
mov ebx, dword [esp + 0x18]
mov edx, 0x104
mov byte [ecx], 0
mov esi, ebx
mov ecx, 0x10076220
sub esi, ecx
jmp 0x10046570
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10046589
mov al, byte [esi + ecx]
test al, al
je 0x10046589
mov byte [ecx], al
inc ecx
dec edx
jne 0x10046570
jmp 0x1004658d
test edx, edx
jne 0x1004658e
dec ecx
push 0x10076220
push 0x10076340
mov byte [ecx], 0
call fcn.10057bfc
add esp, 8
test eax, eax
jne 0x100465ad
pop esi
pop ebp
pop ebx
ret 0xc
call fcn.10057760
cmp dword [eax], 0x12
je 0x100465c2
pop esi
pop ebp
mov eax, 0xffffffef
pop ebx
ret 0xc
push edi
mov esi, 0x1000
push esi
call fcn.10046360
mov edi, eax
test edi, edi
jne 0x100465ea
cmp esi, 0x100
jbe 0x1004661b
shr esi, 1
push esi
call fcn.10046360
mov edi, eax
test edi, edi
je 0x100465d4
push 0
push ebp
push dword [esp + 0x1c]
call fcn.10046260
mov ebp, eax
test ebp, ebp
jns 0x10046627
call fcn.10057760
mov ecx, 0xfffffffb
push edi
cmp dword [eax], 2
cmove ebp, ecx
call fcn.100463b0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xfffffff2
pop ebx
ret 0xc
push 0xffffff7f
push ebx
call fcn.10048030
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
jns 0x10046652
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
push edi
call fcn.100463b0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0xc
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll__lread]
mov ebx, eax
test ebx, ebx
jle 0x10046680
push ebx
push edi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, ebx
jne 0x100466ad
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll__lread]
mov ebx, eax
test ebx, ebx
jg 0x10046661
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll__lclose]
push ebp
call esi
push dword [esp + 0x1c]
call esi
push edi
call fcn.100463b0
test ebx, ebx
jne 0x100466a4
push dword [esp + 0x18]
call fcn.100464d0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0xc
mov ebx, 0xffffffef
jmp 0x10046682
Function at 0x10049370
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push edi
push ecx
xor ebx, ebx
mov eax, dword [esi + 0x19a]
cmp dword [esi + 0x30], ebx
mov dword [esi + 0x19e], eax
setne bl
push dword [eax]
push eax
push dword [esp + 0x28]
lea ebx, [ebx*4 + 4]
push esi
push dword [esp + 0x28]
call fcn.1004ae60
test eax, eax
jne 0x1004958e
mov edi, dword [esp + 0x20]
push edi
push esi
call fcn.100491b0
test eax, eax
jne 0x1004958e
mov ecx, dword [esi + 0x19e]
mov eax, dword [esi + 0x1c]
add dword [ecx + 6], eax
mov ebp, dword [esp + 0x18]
mov ecx, dword [esi + 0x19e]
movsx eax, word [ebp + 9]
imul eax, dword [esi + 0x1c]
mov edx, dword [ecx + 6]
cmp edx, eax
jl 0x10049542
lea ebp, [esi + 0x5a]
lea eax, [ecx - 0xa]
mov dword [esi + 0x19e], eax
cmp eax, ebp
jb 0x10049524
lea ecx, [esp + 0x18]
push ecx
push dword [eax]
push eax
push dword [esp + 0x28]
push esi
push dword [esp + 0x28]
call fcn.1004ae60
test eax, eax
jne 0x1004958e
push edi
push esi
call fcn.100491b0
test eax, eax
jne 0x1004958e
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x1c]
movsx edx, word [eax + 9]
mov eax, dword [esi + 0x19e]
imul edx, ecx
add dword [eax + 6], ecx
mov ecx, dword [esi + 0x19e]
cmp dword [ecx + 6], edx
jg 0x100493f0
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 6]
add ecx, dword [eax + 0xb]
add ecx, ebx
push ecx
call fcn.100453c0
mov ebp, dword [esp + 0x14]
jmp 0x10049470
add dword [esi + 0x19e], 0xa
mov ecx, dword [esi + 0x19e]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
push ecx
push eax
push dword [esi + 0x19e]
push dword [esp + 0x28]
push esi
push ebp
call fcn.1004ae60
test eax, eax
jne 0x1004958e
push edi
push esi
call fcn.100491b0
test eax, eax
jne 0x1004958e
mov eax, dword [esp + 0x18]
movsx ecx, word [eax + 9]
imul ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0xb]
add eax, ecx
add eax, ebx
push eax
call fcn.100453c0
mov edx, eax
test edx, edx
je 0x100494d0
xor ecx, ecx
jmp 0x100494d5
mov ecx, dword [esi + 0x1c]
neg ecx
mov eax, dword [esi + 0x19e]
mov dword [eax + 6], ecx
test edx, edx
je 0x100494f6
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xb]
add eax, ebx
push eax
call fcn.100453c0
jmp 0x10049470
mov eax, dword [esi + 0x19e]
lea ecx, [esp + 0x18]
push ecx
mov dword [esi + 0x19a], eax
push dword [eax]
push eax
push dword [esp + 0x28]
push esi
push ebp
call fcn.1004ae60
test eax, eax
je 0x100493b5
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, dword [esp + 0x14]
pop edi
mov dword [esi + 0x34], 0xfffe
pop esi
pop ebp
mov dword [eax + 4], 0x27d9
mov eax, 0xfffffff9
pop ebx
ret 0x18
mov edi, dword [ebp + 0xb]
push dword [esi + 0x4e]
add edi, 0xc
add edi, edx
push edi
push dword [esi + 0x1a6]
call fcn.100528f0
add esp, 0xc
lea eax, [edi - 4]
push eax
call fcn.100453c0
push dword [esi + 0x4e]
mov dword [esi + 0x1a2], eax
push dword [esi + 0x1a6]
push dword [esp + 0x2c]
call fcn.100528f0
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esi + 0x1a2]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x10066bbe
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006f3c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005c158
mov dword [ebp - 0x14], eax
cmp dword [0x10075c04], esi
jne 0x10066cb1
push 0x800
push esi
push 0x1001217c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10066c3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10066d91
push esi
push esi
push 0x1001217c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10066d91
push 0x10012194
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10066d91
push eax
call ebx
push 0x100121a0
push edi
mov dword [0x10075c04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100121b0
push edi
mov dword [0x10075c08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100121c4
push edi
mov dword [0x10075c0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10075c14], eax
test eax, eax
je 0x10066cae
push 0x100121e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10075c10], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10066cd6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10066cc9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10066ceb
push 4
pop eax
jmp 0x10066d93
cmp dword [ebp - 0x14], esi
je 0x10066ceb
push dword [0x10075c04]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10066cd0
mov eax, dword [0x10075c10]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10066d49
cmp dword [0x10075c14], edi
je 0x10066d49
push eax
call ebx
push dword [0x10075c14]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10066d49
test eax, eax
je 0x10066d49
call ecx
test eax, eax
je 0x10066d3e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10066d3e
test byte [ebp - 8], 1
jne 0x10066d49
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10066d79
mov eax, dword [0x10075c08]
cmp eax, edi
je 0x10066d76
push eax
call ebx
test eax, eax
je 0x10066d76
call eax
mov esi, eax
test esi, esi
je 0x10066d76
mov eax, dword [0x10075c0c]
cmp eax, edi
je 0x10066d76
push eax
call ebx
test eax, eax
je 0x10066d76
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10075c04]
call ebx
test eax, eax
je 0x10066d91
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10066d93
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100526ad
mov esp, ebp
pop ebp
ret
Function at 0x1007e345
Capabilities:
Encode data using xor

Disassembly:
call 0x1007e2be
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 0x1007e2ee
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 0x1007e30a
xor edx, 0
jmp 0x1007e315
xor edx, edx
jmp 0x1007e32c
jmp 0x1007e338
xor eax, eax
push 0x8427d7c0
call 0x1007e345
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1007e381
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 0x1007e35a
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 0x1007e398
add eax, 0
jno 0x1007e39d
add esi, 0
ret 0x10

Function at 0x1007f106
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 0x1007f128
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 0x1007f2ca
cmp edi, dword [ebp + 0x10]
jb 0x1007f2ca
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.1007ebf2
inc edi
jmp 0x1007f1b1
jmp 0x1007f1be
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1007ebf2
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1007ebf2
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 0x1007f212
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 0x1007f1f6
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1007f240
add dword [eax], 0x39
jle 0x1007f21c
sub al, 0xf5
mov ch, al
call fcn.1007f255
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10080f2d
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 0x10080f43
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 0x10080f54
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10080f95
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 0x10083301
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 0x1008324a
add ebx, 0
push ecx
call 0x1008325f
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, 0x6c646276
sub ebx, dword [0x6c665ab5]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c665aa5
call fcn.1007ed29
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1007e237
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100833bd
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100833bd
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 0x10083374
mov eax, 1
lock xchg dword [0x6c665ab1], eax
push 0x3dd1fc71
call 0x10083301
push esi
add esp, 8
cmp eax, 0
jne 0x100832ea
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10083310
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10083325
cmp ecx, edx
cmp eax, 0
je 0x1008334a
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 0x10083334
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10083363
dec eax
loope 0x10083366
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c665ab1], 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 0x1008339a
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100833af
jmp 0x100833ba
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100832a8
Function at 0x1008a422
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 0x1008a6f8
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c652729
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c6496ef
push 0xffffffffffffffff
call fcn.10081622
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 0x1008a48c
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1008a4a4
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 0x1008a6ec
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1008a6c0