joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444d7d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45b62c
push 0x45b624
push str.FlsAlloc
push 0x1f
call fcn.00444b28
mov esi, eax
add esp, 0x10
test esi, esi
je 0x444db1
push dword [ebp + 8]
mov ecx, esi
call dword [0x4571b0]
call esi
jmp 0x444db7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x444dfb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45b63c
push 0x45b634
push str.FlsGetValue
push 0x21
call fcn.00444b28
mov esi, eax
add esp, 0x10
test esi, esi
je 0x444e32
push dword [ebp + 8]
mov ecx, esi
call dword [0x4571b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x444e3a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45b644
push 0x45b63c
push str.FlsSetValue
push 0x22
call fcn.00444b28
mov esi, eax
add esp, 0x10
test esi, esi
je 0x444e74
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4571b0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x448b10
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00448a92
Function at 0x44d205
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44d2a2
push ebx
push esi
call fcn.0044d1ce
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044c0c1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44d24f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44d2a1
push edi
push eax
call fcn.00445db5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44d26f
call fcn.00444815
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44d2a0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044c0c1
add esp, 0x20
test eax, eax
jne 0x44d28e
push edi
call fcn.00444815
jmp 0x44d296
push ebx
call fcn.00444815
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x44fb2f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0044395b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44fb9e
cmp esi, dword [ebp - 4]
je 0x44fb99
cmp dword [ebp + 0xc], 0
je 0x44fb99
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44fb76
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044f681
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x44fba0
xor eax, eax
inc eax
jmp 0x44fba0
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x44fc05
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x469010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0044395b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0044395b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x44fc7c
cmp word [ecx], dx
je 0x44fc7c
mov eax, dword [0x45bef4]
push edi
dec eax
push eax
push 0x45bde0
call fcn.0044fba4
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x44fcef
cmp word [eax], dx
je 0x44fcef
mov eax, dword [edi]
test eax, eax
je 0x44fca0
cmp word [eax], dx
je 0x44fca0
lea eax, [ebp - 0x10]
push eax
call fcn.0044f587
jmp 0x44fca9
lea eax, [ebp - 0x10]
push eax
call fcn.0044f622
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x44fd19
mov eax, dword [0x45bddc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x45bad0
call fcn.0044fba4
add esp, 0xc
test al, al
je 0x44fd19
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x44fce4
cmp word [eax], di
je 0x44fce4
lea eax, [ebp - 0x10]
push eax
call fcn.0044f587
pop ecx
jmp 0x44fd1b
lea eax, [ebp - 0x10]
push eax
call fcn.0044f622
jmp 0x44fce1
mov eax, dword [edi]
test eax, eax
je 0x44fd06
cmp word [eax], dx
je 0x44fd06
lea eax, [ebp - 0x10]
push eax
call fcn.0044f53c
pop ecx
jmp 0x44fd19
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x44fde4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0044fa29
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44fde4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x44fde4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x44fde4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44fd71
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00444f7a
test ebx, ebx
je 0x44fddf
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00444f7a
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44fde4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44fde4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0044874e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x44fde6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ed8f
leave
ret
Function at 0x4544e5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00454461
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x454654
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x454654
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x454609
jg 0x454541
test eax, eax
je 0x4545ff
push 1
push 0x1000
call fcn.004447b8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x454564
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4545f6
push 0x8000
push ebx
call fcn.00441990
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x45458d
jg 0x454588
cmp ecx, 0x1000
jb 0x45458d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0044982d
add esp, 0x10
cmp eax, 0xffffffff
je 0x4545d2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x454588
jl 0x4545b9
test ecx, ecx
jne 0x45457a
push dword [ebp - 0xc]
push ebx
call fcn.00441990
push esi
call fcn.00444815
add esp, 0xc
xor ebx, ebx
jmp 0x454662
cmp byte [edi + 0x24], 0
je 0x4545e9
cmp dword [edi + 0x20], 5
jne 0x4545e9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4545f4
mov ebx, dword [edi + 0x18]
jmp 0x4545f6
xor ebx, ebx
push esi
call fcn.00444815
pop ecx
jmp 0x454662
test ecx, ecx
jg 0x4545cb
jl 0x454609
test eax, eax
jae 0x4545cb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004435bf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x454629
cmp byte [edi + 0x1c], 0
je 0x4545cb
jmp 0x45465a
push ebx
call fcn.0044dbf3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4545cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x454662
cmp byte [edi + 0x1c], 0
je 0x45465f
mov ebx, dword [edi + 0x18]
jmp 0x454662
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004435bf
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x455430
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45545d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45545d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x3503bf2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x350a846]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.03502b49
and dword [ebp - 0x14], 0
cmp dword [0x350b972], 0
mov dword [ebp - 0x18], eax
jne 0x3503ca5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x3503d4d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x3503d4d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x350b972], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x350b976], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x350b97a], eax
call edi
push eax
call esi
mov dword [0x350b982], eax
test eax, eax
je 0x3503ca5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x350b97e], eax
mov eax, dword [0x350b97e]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x3503cfe
cmp dword [0x350b982], ecx
je 0x3503cfe
push eax
call esi
push dword [0x350b982]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x3503cfe
test ebx, ebx
je 0x3503cfe
call edi
test eax, eax
je 0x3503cf5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x3503cf5
test byte [ebp - 8], 1
jne 0x3503cfe
or dword [ebp + 0x10], 0x200000
jmp 0x3503d31
mov eax, dword [0x350b976]
cmp eax, dword [ebp - 0x18]
je 0x3503d31
push eax
call esi
test eax, eax
je 0x3503d31
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x3503d31
mov eax, dword [0x350b97a]
cmp eax, dword [ebp - 0x18]
je 0x3503d31
push eax
call esi
test eax, eax
je 0x3503d31
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x350b972]
call esi
test eax, eax
je 0x3503d4d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x3503d4f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.03503f5d
leave
ret

Function at 0x3503f5d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x350a846]
jne 0x3503f67
repz ret
jmp fcn.035051cd

Function at 0x4024d0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x406008], 0x8088405
inc edx
mov dword [ebx + 0x406008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x414de0
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], edx
add esi, 0xe064faee
add eax, 1
add edi, 4
sub esi, 0x891a6b1e
cmp edi, ecx
jne fcn.00414de0
dec eax
ret
Function at 0x4094c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x4094e2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x4094d0
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret

Function at 0x4094f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x409512
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0x409500
mov byte [esi + 6], 0
mov eax, esi
pop esi
ret
Function at 0x409f20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0x409f42
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 2
jb 0x409f30
mov byte [esi + 3], 0
mov eax, esi
pop esi
ret

Function at 0x409f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movaps xmm0, xmmword [0x524a40]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
movups xmmword [ebp - 0x31], xmm0
mov dword [ebp - 0x21], 0x666b776b
mov dword [ebp - 0x1d], 0x6565607c
mov word [ebp - 0x19], 0x100
nop word [eax + eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 0x18
jb 0x409f80
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], 0x9b92819a
mov dword [ebp - 0x13], 0x979ed794
mov word [ebp - 0xf], 0x90
mov byte [ebp - 0xd], 1
nop dword [eax + eax]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 9
jb 0x409fb0
push ebx
push esi
push edi
lea eax, [ebp - 0x17]
mov byte [ebp - 0xd], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x31]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a06b
mov esi, dword [0x53348c]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call ebx
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xc0000004
jne 0x40a04c
mov ebx, dword [ebp - 4]
push edi
push 0
push ebx
call eax
add esi, esi
cmp esi, 0x10000000
ja 0x40a061
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call dword [ebp - 8]
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xc0000004
je 0x40a015
test ebx, ebx
jns 0x40a071
push edi
push 0
push dword [ebp - 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x53348c]
cmp esi, 0x200000
cmovbe eax, esi
mov dword [0x53348c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a0a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x40a0c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 9
jb 0x40a0b0
mov byte [esi + 0xa], 0
mov eax, esi
pop esi
ret

Function at 0x40a0d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0x40a0f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x18
jb 0x40a0e0
mov byte [esi + 0x19], 0
mov eax, esi
pop esi
ret
Function at 0x40a210
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x40a232
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x40a220
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret

Function at 0x40a240
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x40a262
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x15
jb 0x40a250
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
ret
Function at 0x40a670
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x40a692
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0x40a680
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
ret
Function at 0x40b380
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x40b3a2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x40b390
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x40b3b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x40b3d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 7
jb 0x40b3c0
mov byte [esi + 8], 0
mov eax, esi
pop esi
ret

Function at 0x40b3e0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5023f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0x18], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x1009786
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40b444
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x10]
push edi
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e1ce0
mov edi, eax
add esp, 8
test edi, edi
je 0x40b4dd
push 2
push 0
push edi
call fcn.004e5ab6
push edi
call fcn.004e186b
push 0
push 0
push edi
mov dword [ebp - 0x14], eax
call fcn.004e5ab6
mov ecx, dword [esi + 0x10]
add esp, 0x1c
mov eax, dword [ebp - 0x14]
cmp eax, ecx
ja 0x40b4b1
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40b4a8
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
mov byte [ecx + eax], 0
jmp 0x40b4c0
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00467780
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40b4ca
mov ecx, dword [esi]
push edi
push eax
push 1
push ecx
call fcn.004ea55f
push edi
call fcn.004e5568
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop edi
cmp ecx, 0x10
jb 0x40b50e
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b504
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b51f
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e1130
int3
Function at 0x40b530
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502445
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov dword [ebp - 0x14], ecx
push edi
mov dword [ebp - 0x18], 0
push 0x24
mov dword [ebp - 4], 1
call fcn.004dbc10
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
lea esi, [edi + 0xc]
xorps xmm0, xmm0
mov ecx, esi
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
push 0
movups xmmword [esi], xmm0
push 0x51f4b8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00402810
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [ebp - 0x18], 3
xor ecx, ecx
mov dword [ebp - 0x10], 0x1009786
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40b5d8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x10]
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e1ce0
mov edi, eax
add esp, 8
test edi, edi
je 0x40b679
push 2
push 0
push edi
call fcn.004e5ab6
push edi
call fcn.004e186b
push 0
push 0
push edi
mov esi, eax
call fcn.004e5ab6
mov eax, 0x1e8480
add esp, 0x1c
cmp esi, eax
cmova esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
cmp esi, dword [ecx + 0x10]
lea edx, [ecx + 0x10]
ja 0x40b64d
cmp dword [ecx + 0x14], 0x10
jb 0x40b645
mov ecx, dword [ecx]
mov dword [edx], esi
mov byte [ecx + esi], 0
jmp 0x40b65c
mov eax, esi
sub eax, dword [edx]
push 0
push eax
call fcn.00467780
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [eax + 0x14], 0x10
jb 0x40b666
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004ea55f
push edi
call fcn.004e5568
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop edi
pop esi
cmp ecx, 0x10
jb 0x40b6ab
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b6a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6bc
push ecx
push edx
call fcn.004dbe91
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e1130
int3