joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023840
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.100235f0
test ax, ax
je 0x10023861
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0x100039d8
push 0
push 0x100039c8
push dword [esi + 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x100238a2
push 1
mov edx, 0x100039c8
mov ecx, esi
call fcn.10022f20
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0x100039d8
push 0
push 0x10002b60
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x100238e9
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
mov edx, 0x10002b60
mov ecx, esi
call fcn.10022f20
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
push 0x10001e58
push 1
push 0
push 0x10001cbc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1002390d
mov edx, 0x10001cbc
jmp 0x1002392f
push 6
push 0x10001e58
push 1
push 0
push 0x10001e38
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1002393b
mov edx, 0x10001e38
push 1
mov ecx, esi
call fcn.10022f20
movzx edi, ax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10023960
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
movzx esi, word [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], esi
cmp dword [edi + 0x108], 0
jne 0x10023999
call fcn.10024420
test ax, ax
je 0x10023996
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 8]
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp + 0xc]
je 0x100239ae
mov eax, dword [edi + 0x110]
test eax, eax
je 0x100239cb
jmp 0x100239b4
mov eax, dword [edi + 0x108]
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100239eb
lea eax, [esi - 1]
push eax
push dword [ebp + 8]
push esi
push ebx
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
mov eax, 0x64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, edx
shr ecx, 1
shr eax, 1
cmp eax, ecx
jbe 0x100239fc
mov eax, ecx
test eax, eax
jne 0x10023a05
mov eax, 1
xor ecx, ecx
mov word [ebx + eax*2 - 2], cx
test edx, edx
jne 0x10023a22
lea eax, [esi - 1]
push eax
push dword [ebp + 8]
push esi
push ebx
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10023a40
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
cmp dword [edi + 0x10c], 0
jne 0x10023a76
call fcn.100235f0
test ax, ax
jne 0x10023b6a
test esi, esi
je 0x10023a98
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023a80
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
jmp 0x10023aa2
mov ecx, 2
mov esi, 0x10001bb0
cmp dword [ebp + 0xc], 0
je 0x10023ab0
mov eax, dword [edi + 0x110]
jmp 0x10023ab6
mov eax, dword [edi + 0x10c]
push ecx
push esi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10023b80
xor eax, eax
push 0x104
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0xb3b0
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x210], 0
jne 0x10023b24
mov esi, dword [0x1004332c]
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0xb3b0
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea eax, [edi + 0x6c]
lea edx, [ebp - 0x418]
mov ecx, 0x3f
push 0
push 0
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xa410
push 0xa4d8
push eax
push dword [edi + 0x7c]
call fcn.1001a550
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 8
Function at 0x10023ba0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x10c], 0
jne 0x10023bd3
call fcn.10057ef4
test ax, ax
jne 0x10023c9f
cmp dword [ebp + 0xc], 0
je 0x10023be1
mov eax, dword [edi + 0x110]
jmp 0x10023be7
mov eax, dword [edi + 0x10c]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10023cb5
xor eax, eax
push 0x104
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0xb3b0
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x210], 0
jne 0x10023c59
mov esi, dword [0x1004332c]
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0xb3b0
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea eax, [edi + 0x6c]
lea edx, [ebp - 0x418]
mov ecx, 0x3f
push 0
push 0
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xa410
push 0xa4d8
push eax
push dword [edi + 0x7c]
call fcn.1001a550
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 8

Function at 0x10023cd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 4
push edi
mov ebx, edx
cmp dword [esi + 0x108], 0
jne 0x10023d05
call fcn.10024420
test ax, ax
je 0x10023d05
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp + 0xc]
je 0x10023d1a
mov eax, dword [esi + 0x110]
test eax, eax
je 0x10023d37
jmp 0x10023d20
mov eax, dword [esi + 0x108]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp - 8]
push ecx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10023d4a
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, 0x64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 4], 0
jne 0x10023d55
mov eax, dword [ebp + 8]
mov dword [edi], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10024840
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x10c], 0
jne 0x10024873
call fcn.100235f0
test ax, ax
jne 0x1002494d
cmp dword [ebp + 8], 0
seta byte [ebp - 0x419]
cmp dword [ebp + 0xc], 0
je 0x1002488c
mov eax, dword [edi + 0x110]
jmp 0x10024892
mov eax, dword [edi + 0x10c]
push 1
lea ecx, [ebp - 0x419]
push ecx
push 3
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10024963
xor eax, eax
push 0x104
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0xb3b0
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x210], 0
jne 0x10024907
mov esi, dword [0x1004332c]
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0xb3b0
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea eax, [edi + 0x6c]
lea edx, [ebp - 0x418]
mov ecx, 0x3f
push 0
push 0
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xa410
push 0xa4d8
push eax
push dword [edi + 0x7c]
call fcn.1001a550
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 8

Function at 0x10024980
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 8], 2
push edi
mov edi, edx
cmp dword [esi + 0x108], 0
jne 0x100249b3
call fcn.10024420
test ax, ax
je 0x100249b3
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
mov eax, dword [esi + 0x110]
je 0x100249c5
test eax, eax
je 0x100249e5
jmp 0x100249cb
mov eax, dword [esi + 0x108]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100249fb
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, 0x64
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 8], 0
je 0x10024a1b
cmp byte [ebp - 4], 0
je 0x10024a1b
mov eax, dword [ebp + 8]
mov ecx, 1
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
xor ecx, ecx
pop edi
pop esi
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10024b60
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x974
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x974], 4
mov dword [ebp - 0x970], 4
mov dword [ebp - 0x968], 0
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x10024bb1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x10c], 0
mov eax, dword [esi + 0x108]
test eax, eax
je 0x10024bcc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x108], 0
mov eax, dword [esi + 0x110]
test eax, eax
je 0x10024be7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x110], 0
test dword [esi + 0x5c], 0x8000
je 0x10024daa
movzx ecx, byte [esi + 0xa9]
mov eax, dword [esi + 0xac]
push dword [eax + ecx*4 + 0x4c]
push esi
push dword [esi + 0x118]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x10003718
lea eax, [ebp - 0x70c]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
lea eax, [ebp - 0x70c]
push eax
push 0x100036d4
lea eax, [ebp - 0x4b4]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
push 0x100039c8
lea eax, [ebp - 0x4b4]
push eax
push 0x100021c4
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
mov eax, dword [esi + 0xac]
add esp, 0x40
movzx ecx, byte [esi + 0xa9]
push dword [eax + ecx*4 + 0x4c]
lea eax, [ebp - 0x25c]
push eax
push 0x100021c4
lea eax, [ebp - 0x964]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x964]
push eax
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x25c]
push eax
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x4b4]
push eax
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [esi + 0x5c], 0xffff7fff
lea eax, [ebp - 0x96c]
push eax
push 0x2001f
push 0
push 0x100037a8
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 6
jne 0x10024d1e
lea eax, [ebp - 0x96c]
push eax
push 0x2001f
push 0
push 0x100037a8
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10024daa
lea eax, [ebp - 0x970]
push eax
lea eax, [ebp - 0x968]
push eax
lea eax, [ebp - 0x974]
push eax
push 0
push 0x10003808
push dword [ebp - 0x96c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10024d85
mov eax, dword [ebp - 0x968]
test eax, eax
je 0x10024d63
dec eax
mov dword [ebp - 0x968], eax
push dword [ebp - 0x970]
lea eax, [ebp - 0x968]
push eax
push 4
push 0
push 0x10003808
push dword [ebp - 0x96c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x96c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x968], 0
jne 0x10024daa
push 0x100037a8
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret
Function at 0x1003b8a8
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x110]
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x10004820
push Ordinal_3
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003b98b
push edi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x10c], 1
push eax
lea eax, [ebp - 0x108]
mov edi, 0x104
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], edi
push eax
push ebx
push ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1003b97a
cmp dword [ebp - 0x10c], 2
mov byte [ebp - 5], bl
jne 0x1003b94b
push edi
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb ebx, ebx
inc ebx
jmp 0x1003b97a
lea ecx, [ebp - 0x108]
sub ecx, esi
lea eax, [edi + 0x7ffffefa]
test eax, eax
je 0x1003b971
mov al, byte [ecx + esi]
test al, al
je 0x1003b96c
mov byte [esi], al
inc esi
sub edi, 1
jne 0x1003b953
test edi, edi
jne 0x1003b971
dec esi
mov byte [esi], bl
xor ebx, ebx
test edi, edi
setne bl
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
jmp 0x1003b98d
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3b0
leave
ret

Function at 0x1003bc50
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
push esi
push edi
test ebx, ebx
je 0x1003bcca
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
add edi, 1
je 0x1003bcca
lea esi, [edi + edi]
lea ecx, [esi + 1]
push 1
push ecx
call dword [sym.imp.msvcrt.dll_calloc]
mov ecx, dword [ebp - 4]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x1003bca2
push 0x10004b28
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push esi
push eax
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
jg 0x1003bcbc
test esi, esi
jns 0x1003bcca
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1003c620
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 0x1003c65e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1003c656
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1003c660
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1003c646
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1003c740
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 0x1003c771
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1003c771
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1003c771
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1005242e
Capabilities:
Encode data using xor

Disassembly:
call 0x100523a7
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 0x100523d7
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 0x100523f3
xor edx, 0
jmp 0x100523fe
xor edx, edx
jmp 0x10052415
jmp 0x10052421
xor eax, eax
push 0x8427d7c0
call 0x1005242e
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1005246a
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 0x10052443
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 0x10052481
add eax, 0
jno 0x10052486
add esi, 0
ret 0x10
Function at 0x100531ef
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 0x10053211
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 0x100533b3
cmp edi, dword [ebp + 0x10]
jb 0x100533b3
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.10052cdb
inc edi
jmp 0x1005329a
jmp 0x100532a7
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10052cdb
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10052cdb
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 0x100532fb
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 0x100532df
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10053329
add dword [eax], 0x39
jle 0x10053305
sub al, 0xf5
mov ch, al
call fcn.1005333e
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10055016
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 0x1005502c
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 0x1005503d
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005507e
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 0x100573ea
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 0x10057333
add ebx, 0
push ecx
call 0x10057348
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, 0x72b0921e
sub ebx, dword [0x72b28a5d]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x72b28a4d
call fcn.10052e12
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10052320
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100574a6
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100574a6
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 0x1005745d
mov eax, 1
lock xchg dword [0x72b28a59], eax
push 0x3dd1fc71
call 0x100573ea
push esi
add esp, 8
cmp eax, 0
jne 0x100573d3
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100573f9
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005740e
cmp ecx, edx
cmp eax, 0
je 0x10057433
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 0x1005741d
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005744c
dec eax
loope 0x1005744f
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72b28a59], 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 0x10057483
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10057498
jmp 0x100574a3
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10057391
Function at 0x1005e50b
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 0x1005e7e1
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x72b156d1
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x72b0c697
push 0xffffffffffffffff
call fcn.1005570b
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 0x1005e575
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1005e58d
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 0x1005e7d5
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1005e7a9