joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4001641c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [0x400272f4]
sub esp, 0xc
push edi
xor edi, edi
inc edi
test ecx, ecx
jne 0x400164c0
and dword [ebp - 4], ecx
lea eax, [ebp - 4]
push ebx
push eax
push ecx
lea eax, [ebp - 8]
mov ebx, edi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
test eax, eax
je 0x400164af
mov eax, dword [ebp - 4]
xor ecx, ecx
push esi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.400164ea
mov esi, eax
test esi, esi
je 0x400164a7
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
test eax, eax
je 0x400164a7
cmp dword [ebp - 8], 0
jbe 0x400164a7
push 2
lea eax, [ebp - 0xc]
push eax
push 0x20000070
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x400164a7
xor ebx, ebx
cmp dword [ebp - 0xc], edi
setne bl
mov ecx, esi
call fcn.400164fd
pop esi
lea eax, [ebx + 1]
mov ecx, 0x400272f4
xchg dword [ecx], eax
mov ecx, dword [0x400272f4]
pop ebx
xor eax, eax
cmp ecx, edi
pop edi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x400165bc
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x40026d24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x40027300]
push ebx
mov dword [ebp - 0x214], eax
mov ebx, 0x80004005
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], edx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x400166a9
push 0x40003d58
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x400166a9
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x400166a1
push edi
push 0x40003d70
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x400166a0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x40003d7c
mov dword [ebp - 0x218], eax
mov ecx, edi
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x228], 0x40003d80
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x224], 0x40003d90
push dword [ebp - 0x214]
mov dword [ebp - 0x220], 0x40003d94
mov dword [ebp - 0x21c], 2
call dword [0x400282a8]
call edi
mov ebx, eax
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.400215e0
mov esp, ebp
pop ebp
ret
Function at 0x40016d86
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x40026d24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40027148
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [0x40026d34], 0xffffffff
jne 0x40016e44
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x40016e0f
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x40027338], eax
test eax, eax
je 0x40016e08
push edi
push edi
push esi
push 0x40016b50
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4002733c], eax
test eax, eax
je 0x40016e08
push 0xffffffffffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push edi
push eax
push 2
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x40026d34], 0xffffffff
jne 0x40016e44
mov eax, dword [0x4002733c]
test eax, eax
je 0x40016e2e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4002733c], edi
mov eax, dword [0x40027338]
test eax, eax
je 0x40016e44
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x40027338], edi
cmp dword [0x40026d34], 0xffffffff
mov edi, 0x80004005
je 0x40016ea3
lea eax, [ebp - 8]
push eax
push 0x40001e9c
push 1
push 0
push 0x40001edc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x40016ea3
mov eax, dword [ebp - 8]
push ebx
push 0x40004040
push dword [0x40026d34]
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x14]
call dword [0x400282a8]
call dword [esi + 0x14]
mov edi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x400282a8]
call esi
push 0x40027148
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.400215e0
mov esp, ebp
pop ebp
ret
Function at 0x400175c1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x40026d24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
mov esi, ecx
lea edi, [ebp - 0x78]
pop ecx
xor eax, eax
mov ebx, edx
rep stosd dword es:[edi], eax
push 5
lea eax, [ebp - 0x10]
mov edi, 0x400
push eax
push 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4001760b
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 0x70], eax
jmp 0x40017612
mov dword [ebp - 0x70], 3
push 5
lea eax, [ebp - 0x10]
push eax
push 0xf
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
lea eax, [ebp - 0x10]
jne 0x4001762d
mov eax, 0x40004010
push dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
push dword [ebp + 8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x60]
push 0x40004014
push 0x28
push eax
call fcn.4000766c
add esp, 0x14
lea eax, [ebp - 0x78]
push ebx
push esi
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x40017670
lea eax, [ebp - 0x60]
mov edx, ebx
push eax
mov ecx, esi
call fcn.4000a3fe
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.400215e0
mov esp, ebp
pop ebp
ret 8
Function at 0x40018b25
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x40026d24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x50
pop esi
mov edi, ecx
mov dword [ebp - 0x44], edx
mov ecx, esi
call fcn.400164ea
mov ebx, eax
test ebx, ebx
je 0x40018c12
push esi
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xor esi, esi
movzx eax, byte [esi + edi]
mov edx, esi
and edx, 0xfffffffc
mov ecx, esi
sub ecx, edx
shl ecx, 3
shl eax, cl
or dword [edx + ebx], eax
inc esi
cmp esi, 0x14
jb 0x40018b61
push 5
pop eax
mov ecx, eax
mov dword [ebp - 0x18], 0x123174bb
mov esi, 0x4002603c
mov dword [ebp - 0x14], 0x86521ff8
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x10], 0x98d2438b
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0xc], 0x7966ce12
xor esi, esi
mov dword [ebp - 8], 0xc5d92014
pop ecx
xor edx, edx
mov eax, esi
div ecx
mov eax, dword [ebp + edx*4 - 0x18]
xor dword [ebp + esi*4 - 0x2c], eax
inc esi
cmp esi, ecx
jb 0x40018bb2
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
push ecx
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, ebx
push 0
push 0x40026acc
push dword [0x40026050]
push eax
push 0x14
pop esi
mov edx, esi
call fcn.4001c9f6
lea eax, [ebp - 0x40]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x40018bf1
push 0x50
mov eax, ebx
pop ecx
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x40018bff
mov ecx, ebx
call fcn.400164fd
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.400215e0
mov esp, ebp
pop ebp
ret 4
Function at 0x40019ee7
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov esi, edx
mov ebx, ecx
cmp dword [ebp + 0xc], edi
je 0x40019f25
sub ebx, esi
sub dword [ebp + 8], esi
mov ecx, dword [ebx + esi]
mov edx, dword [esi]
lea eax, [edx + ecx]
add edi, eax
mov eax, dword [ebp + 8]
mov dword [eax + esi], edi
mov eax, edx
xor eax, ecx
lea esi, [esi + 4]
and edi, eax
or edx, ecx
xor edi, edx
shr edi, 0x1f
sub dword [ebp + 0xc], 1
jne 0x40019eff
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40019f2e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, edx
xor ebx, ebx
mov edx, ecx
mov dword [ebp - 8], eax
mov ecx, ebx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], ecx
je 0x40019fb9
push esi
mov esi, dword [ebp + 8]
sub edx, eax
sub esi, eax
mov dword [ebp - 0x10], edx
sub dword [ebp + 0xc], eax
push edi
mov dword [ebp + 8], esi
mov ecx, dword [eax]
mov edx, dword [edx + eax]
mov esi, dword [esi + eax]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
lea edi, [ecx + edx]
add edi, ebx
mov ebx, edi
sub ebx, esi
mov esi, dword [ebp + 0xc]
sub ebx, dword [ebp - 4]
mov dword [ebp - 4], ebx
mov dword [esi + eax], ebx
mov ebx, edi
mov esi, dword [ebp + 8]
xor ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, edi
xor eax, edx
xor ecx, edi
mov edx, dword [ebp - 0x10]
or ebx, eax
mov eax, edi
xor ebx, edi
xor eax, dword [ebp - 0xc]
or ecx, eax
shr ebx, 0x1f
mov eax, dword [ebp - 8]
xor ecx, edi
shr ecx, 0x1f
add eax, 4
sub dword [ebp + 0x10], 1
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jne 0x40019f5c
pop edi
pop esi
sub ebx, ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4001a1e4
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov edi, edx
cmp dword [ebp + 0xc], esi
je 0x4001a223
sub ebx, edi
sub dword [ebp + 8], edi
mov edx, dword [ebx + edi]
mov eax, edx
mov ecx, dword [edi]
sub eax, ecx
sub eax, esi
xor ecx, edx
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [eax + edi], esi
xor esi, edx
or esi, ecx
lea edi, [edi + 4]
xor esi, edx
shr esi, 0x1f
sub dword [ebp + 0xc], 1
jne 0x4001a1fc
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4002031c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x40026d24]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov eax, edx
push edi
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xf4], esi
cmp dword [esi], 0x1423
je 0x40020353
xor eax, eax
jmp 0x4002043c
cmp dword [esi + 0x14], 1
lea ebx, [esi + 0x20]
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 4]
mov dword [ebp - 0xf0], ecx
jne 0x400203a9
lea ecx, [ebp - 0x84]
mov dword [ebp - 0xec], 0x10
call fcn.40020e60
push dword [ebp + 8]
call fcn.40020e90
test byte [esi + 8], 1
je 0x40020399
push edi
mov edx, ebx
lea ecx, [ebp - 0x84]
call fcn.40020e90
lea ecx, [ebp - 0x84]
call fcn.40020fc0
lea eax, [ebp - 0x2c]
jmp 0x400203f7
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xec], 0x14
call fcn.40020b90
push dword [ebp + 8]
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
call fcn.40020c50
test byte [esi + 8], 1
je 0x400203e6
push edi
mov edx, ebx
lea ecx, [ebp - 0xe4]
call fcn.40020c50
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.40020d90
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xe8], eax
xor edx, edx
mov eax, dword [ebp - 0xf0]
mov esi, dword [ebp - 0xe8]
cmp eax, edi
sbb ecx, ecx
and ecx, eax
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc edx
lea eax, [ecx + 1]
cmp edx, dword [ebp - 0xec]
jb 0x4002040b
mov esi, dword [ebp - 0xf4]
xor edx, edx
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0xf0]
div edi
xor eax, eax
mov dword [esi + 0x10], edx
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.400215e0
mov esp, ebp
pop ebp
ret 4

Function at 0x40020b90
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x40027384], 0
push ebx
push esi
mov esi, ecx
jne 0x40020c12
push eax
push ebx
push ecx
push edx
xor eax, eax
cpuid
xor eax, eax
xor ebx, 0x756e6547
sete al
xor ebx, ebx
xor ecx, 0x6c65746e
sete bl
and eax, ebx
xor ecx, ecx
xor edx, 0x49656e69
sete cl
and eax, ecx
mov dword [ebp - 4], eax
mov eax, 1
cpuid
xor ecx, ecx
xor edx, edx
mov ebx, 0xff0
and ebx, eax
mov dword [ebp - 8], ebx
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 4], 0
mov ecx, 1
je 0x40020c06
cmp dword [ebp - 8], 0x660
sbb eax, eax
not eax
and ecx, eax
mov eax, dword [ecx*4 + 0x40001524]
mov dword [0x40027384], eax
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x40], 0x67452301
mov dword [esi + 0x44], 0xefcdab89
mov dword [esi + 0x48], 0x98badcfe
mov dword [esi + 0x4c], 0x10325476
mov dword [esi + 0x50], 0xc3d2e1f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40020e60
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x40021740
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 0x4002177e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40021776
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40021780
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40021766
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40021850
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x40021866
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x40021881
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x40021d30
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x40021e6b
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x40021e40
test eax, eax
jne 0x40021e40
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x40021d80
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x40021e6b
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x40021e40
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc
Function at 0x400414b7
Capabilities:
Encode data using xor

Disassembly:
call 0x40041430
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 0x40041460
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 0x4004147c
xor edx, 0
jmp 0x40041487
xor edx, edx
jmp 0x4004149e
jmp 0x400414aa
xor eax, eax
push 0x8427d7c0
call 0x400414b7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x400414f3
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 0x400414cc
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 0x4004150a
add eax, 0
jno 0x4004150f
add esi, 0
ret 0x10

Function at 0x40042278
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 0x4004229a
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 0x4004243c
cmp edi, dword [ebp + 0x10]
jb 0x4004243c
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.40041d64
inc edi
jmp 0x40042323
jmp 0x40042330
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40041d64
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40041d64
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 0x40042384
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 0x40042368
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.400423b2
add dword [eax], 0x39
jle 0x4004238e
sub al, 0xf5
mov ch, al
call fcn.400423c7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x4004409f
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 0x400440b5
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 0x400440c6
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.40044107
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 0x40046473
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 0x400463bc
add ebx, 0
push ecx
call 0x400463d1
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, 0x6c2b601e
sub ebx, dword [0x6c2d585d]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c2d584d
call fcn.40041e9b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.400413a9
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x4004652f
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x4004652f
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 0x400464e6
mov eax, 1
lock xchg dword [0x6c2d5859], eax
push 0x3dd1fc71
call 0x40046473
push esi
add esp, 8
cmp eax, 0
jne 0x4004645c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x40046482
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x40046497
cmp ecx, edx
cmp eax, 0
je 0x400464bc
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 0x400464a6
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.400464d5
dec eax
loope 0x400464d8
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c2d5859], 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 0x4004650c
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x40046521
jmp 0x4004652c
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4004641a
Function at 0x4004d594
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 0x4004d86a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c2c24d1
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c2b9497
push 0xffffffffffffffff
call fcn.40044794
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 0x4004d5fe
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.4004d616
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 0x4004d85e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4004d832