joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409b14
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov esi, ecx
test esi, esi
mov edi, eax
mov dword [esp], edx
je 0x409ccc
mov eax, dword [edi + 0xc]
test eax, eax
je 0x409b4f
dec eax
je 0x409b39
dec eax
je 0x409b45
jmp 0x409b4f
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
jmp 0x409b4f
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
cmp dword [edi + 0xc], 0
je 0x409ba1
xor ebp, ebp
cmp esi, ebp
jle 0x409bbd
push 0
lea eax, [esp + 8]
push eax
mov edx, esi
sub edx, ebp
cmp edx, 0x4000
jge 0x409b74
mov ecx, esi
sub ecx, ebp
jmp 0x409b79
mov ecx, 0x4000
push ecx
mov eax, dword [esp + 0xc]
add eax, ebp
push eax
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
je 0x409bbd
add ebp, 0x4000
cmp esi, ebp
jg 0x409b5b
jmp 0x409bbd
push 0
lea eax, [esp + 8]
push eax
push esi
push dword [esp + 0xc]
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
jne 0x409cc8
cmp byte [edi + 0x14], 0
je 0x409cc8
cmp dword [edi + 0xc], 0
jne 0x409cc8
call sub.KERNEL32.DLL_GetLastError
mov ebp, eax
mov eax, edi
call fcn.00409ef0
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [edi + 0x17]
call fcn.0040a604
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
push ebp
call sub.KERNEL32.DLL_SetLastError
mov eax, esi
cdq
cmp edx, dword [esp + 0x14]
jne 0x409c16
cmp eax, dword [esp + 0x10]
jae 0x409c62
jmp 0x409c18
jge 0x409c62
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
mov eax, esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x409c3a
cmp eax, 0xffffffff
ja 0x409c62
jmp 0x409c3c
jg 0x409c62
mov eax, esi
cdq
add eax, dword [esp + 8]
adc edx, dword [esp + 0xc]
cmp edx, 0
jne 0x409c53
cmp eax, 0xffffffff
jbe 0x409c62
jmp 0x409c55
jle 0x409c62
lea edx, [edi + 0x17]
mov eax, 0x4b1b14
call fcn.0042d4a8
lea edx, [edi + 0x17]
mov eax, 0x4b1b14
call fcn.0042d4dc
test al, al
je 0x409cb2
mov ecx, dword [esp + 4]
cmp ecx, esi
jae 0x409b4f
cmp dword [esp + 4], 0
jbe 0x409b4f
mov eax, edi
call fcn.00409ef0
push edx
push eax
mov eax, dword [esp + 0xc]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
xor edx, edx
mov eax, edi
call fcn.00409e38
jmp 0x409b4f
lea ecx, [edi + 0x17]
mov eax, 0x4b1b14
xor edx, edx
call fcn.0042d490
jmp 0x409cc8
mov byte [edi + 8], 1
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x409db8
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ecx
mov edi, edx
cmp dword [ebx + 0xc], 1
mov esi, ecx
jne 0x409ddf
cmp esi, 0x4e20
jle 0x409dd5
mov esi, 0x4e20
push 0xfffffffffffffff6
call sub.KERNEL32.DLL_GetStdHandle
mov dword [ebx + 4], eax
push 0
lea eax, [esp + 4]
push eax
push esi
push edi
push dword [ebx + 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x409e30
mov eax, ebx
call fcn.0040a15c
test al, al
je 0x409e17
cmp esi, 0x4e20
jle 0x409e17
mov ecx, 0x4e20
mov edx, edi
mov eax, ebx
call fcn.00409db8
jmp 0x409e33
cmp dword [ebx + 0xc], 1
jne 0x409e2b
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x6d
jne 0x409e2b
xor eax, eax
jmp 0x409e33
or eax, 0xffffffff
jmp 0x409e33
mov eax, dword [esp]
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a264
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
call fcn.0041043c
test eax, eax
je 0x40a28a
test ebx, ebx
je 0x40a28a
cmp word [ebx], 0
je 0x40a28a
push 0
push ebx
call sub.KERNEL32.DLL_CreateDirectoryW
jmp 0x40a292
push 0
push esi
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x40a2a5
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.0040ab8c
xor eax, eax
jmp 0x40a2c0
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
je 0x40a2b4
cmp eax, 3
jne 0x40a2bb
mov eax, 2
jmp 0x40a2c0
mov eax, 1
pop edi
pop esi
pop ebx
ret

Function at 0x40a5c8
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffc00
mov edx, esp
call fcn.0040c954
cmp byte [esp], 0
je 0x40a5df
mov eax, esp
jmp 0x40a5e1
xor eax, eax
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x40a5f5
cmp eax, 5
je 0x40a5f5
xor edx, edx
jmp 0x40a5fa
mov edx, 1
mov eax, edx
add esp, 0x400
ret
Function at 0x40a604
Capabilities:
Get disk size

Disassembly:
push ebx
push esi
add esp, 0xfffffbd0
mov ebx, eax
lea edx, [esp + 0x30]
mov eax, ebx
call fcn.0040c954
cmp dword [0x4a2d90], 0
jne 0x40a642
push 0x4a2d94
call sub.KERNEL32.DLL_GetModuleHandleA
mov esi, eax
test esi, esi
je 0x40a642
push 0x4a2da1
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a2d90], eax
cmp dword [0x4a2d90], 0
je 0x40a6b6
lea edx, [esp + 0x30]
mov ecx, 0x400
mov eax, ebx
call fcn.0040c274
xor eax, eax
lea edx, [esp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push edx
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x18]
push eax
cmp byte [esp + 0x3c], 0
je 0x40a681
lea edx, [esp + 0x3c]
jmp 0x40a683
xor edx, edx
push edx
call dword [0x4a2d90]
test eax, eax
je 0x40a6b6
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xc]
ja 0x40a6b6
mov eax, dword [esp + 0x14]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [esp + 0x18]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
jmp 0x40a723
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push ecx
cmp byte [esp + 0x40], 0
je 0x40a6d7
lea eax, [esp + 0x40]
jmp 0x40a6d9
xor eax, eax
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
test eax, eax
jne 0x40a6ec
mov eax, 0x163e00
xor edx, edx
jmp 0x40a723
mov eax, dword [esp + 0x18]
imul dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x20]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
call fcn.0049c154
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add esp, 0x430
pop esi
pop ebx
ret

Function at 0x40a72c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
call fcn.0041043c
test eax, eax
je 0x40a757
test ebx, ebx
je 0x40a757
cmp word [ebx], 0
je 0x40a757
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret
push esi
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret

Function at 0x40ab60
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
call fcn.0041043c
test eax, eax
je 0x40ab82
test ebx, ebx
je 0x40ab82
cmp word [ebx], 0
je 0x40ab82
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
pop esi
pop ebx
ret
push esi
call sub.KERNEL32.DLL_GetFileAttributesA
pop esi
pop ebx
ret

Function at 0x40ab8c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
call fcn.0041043c
test eax, eax
je 0x40abb9
test ebx, ebx
je 0x40abb9
cmp word [ebx], 0
je 0x40abb9
push esi
push ebx
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
setne al
and eax, 1
jmp 0x40abc8
push esi
push edi
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
setne al
and eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x40ad10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9b0
push ebx
push esi
push edi
mov edi, eax
mov eax, 0x4a2ea4
call fcn.004980b0
mov word [ebp - 0x30], 8
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040f120
inc dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov word [ebp - 0x30], 0x14
mov word [ebp - 0x30], 0x20
mov edx, 0x10000
call fcn.00402a98
inc dword [ebp - 0x24]
or esi, 0xffffffff
mov word [ebp - 0x30], 0x14
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, edi
call fcn.0040a0f0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
cmp dword [0x4c4e70], 0
je 0x40ada6
lea eax, [ebp - 0x250]
call fcn.004748c8
push pe_nt_image_headers32
lea edx, [ebp - 0x450]
push edx
push dword [0x4c4e70]
call sub.USER32.DLL_GetWindowTextA
push 0
push 0
xor edx, edx
mov eax, edi
call fcn.00409e38
jmp 0x40ae56
add dword [ebp - 0x48], 1
adc dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
and eax, 0xf
xor edx, edx
cmp edx, 0
jne 0x40ae30
cmp eax, 0
jne 0x40ae30
cmp dword [0x4c4e70], 0
je 0x40ae2b
push 0
push 0x10000
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.0049c154
push edx
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0040efe4
push eax
mov eax, 0x51e
call fcn.004125d0
push eax
lea edx, [ebp - 0x650]
push edx
call fcn.0049abd0
add esp, 0xc
lea eax, [ebp - 0x650]
call fcn.004748d8
call fcn.00473bd8
call fcn.0040ff70
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.00410cb0
cmp dword [ebp + 0xc], 0x80000000
mov esi, eax
jne 0x40ae4b
cmp dword [ebp + 8], 0
je 0x40ae56
mov eax, ebx
cdq
sub dword [ebp + 8], eax
sbb dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 0x80000000
jne 0x40ae6c
cmp dword [ebp + 8], 0
jne 0x40ae6c
mov ecx, 0x10000
jmp 0x40ae8b
cmp dword [ebp + 0xc], 0
jne 0x40ae7d
cmp dword [ebp + 8], 0x10000
jbe 0x40ae86
jmp 0x40ae7f
jle 0x40ae86
mov ecx, 0x10000
jmp 0x40ae8b
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, edi
call fcn.00409cd4
mov ebx, eax
test eax, eax
jne 0x40adb8
cmp dword [0x4c4e70], 0
je 0x40aec3
lea eax, [ebp - 0x250]
call fcn.004748d8
lea eax, [ebp - 0x450]
call fcn.004748a0
call fcn.00473bd8
mov eax, esi
mov edx, 2
xor eax, 0xffffffff
push eax
lea eax, [ebp - 0x1c]
dec dword [ebp - 0x24]
call fcn.004017ec
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040f18c
pop eax
mov edx, dword [ebp - 0x40]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b8d8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40b8e1
mov eax, dword [ebp - 4]
add esp, 0xfffffb0c
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x20f8]
mov eax, 0x4a2ffc
call fcn.004980b0
lea eax, [ebp - 0x10e4]
call fcn.00413d60
lea eax, [ebp - 0x10b8]
call fcn.00413d60
lea eax, [ebp - 0x108c]
call fcn.00413d60
push 0
lea ecx, [ebp - 0x1cf8]
mov edx, ebx
mov eax, esi
call fcn.00412e78
test al, al
jne 0x40b955
xor eax, eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x40bb06
cmp byte [ebp - 0x1cf8], 0
je 0x40b967
cmp byte [ebp - 0x1060], 0
jne 0x40b97b
xor eax, eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x40bb06
lea eax, [ebp - 0x1cf8]
call fcn.0040bd28
lea edx, [ebp - 0x1060]
call fcn.0040f224
test eax, eax
je 0x40b9ab
mov eax, esi
call fcn.0040bd28
lea edx, [ebp - 0x1060]
call fcn.0040f224
test eax, eax
je 0x40b9bf
xor eax, eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x40bb06
xor ebx, ebx
mov eax, edi
mov ecx, 0x400
mov edx, esi
call fcn.0040f43c
push ebx
push 0x4a2fd2
mov eax, edi
call fcn.0040bd28
push eax
call fcn.0049abd0
add esp, 0xc
mov eax, edi
xor edx, edx
call fcn.0040a72c
test al, al
je 0x40b9fd
add ebx, 0x7b
cmp ebx, 0x2710
jl 0x40b9c1
mov eax, edi
xor edx, edx
call fcn.0040a72c
test al, al
je 0x40ba1e
xor eax, eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x40bb06
lea eax, [ebp - 0x24f8]
mov ecx, 0x400
mov edx, esi
call fcn.0040f43c
lea eax, [ebp - 0x1cf8]
call fcn.0040bd28
push eax
lea eax, [ebp - 0x24f8]
call fcn.0040bd28
push eax
call fcn.00497c80
add esp, 8
push edi
lea edx, [ebp - 0x24f8]
push edx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
jne 0x40ba75
xor eax, eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x40bb06
mov word [ebp - 0xc34], 8
lea eax, [ebp - 0xc20]
call fcn.00409658
inc dword [ebp - 0xc28]
mov word [ebp - 0xc34], 0x14
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.0040a72c
test al, al
jne 0x40bab8
lea eax, [ebp - 0xc20]
xor ecx, ecx
mov edx, esi
call fcn.004098c8
mov ebx, eax
lea eax, [ebp - 0x24f8]
push eax
push edi
call sub.KERNEL32.DLL_MoveFileA
test bl, bl
je 0x40badf
lea eax, [ebp - 0xc20]
call fcn.004099fc
lea eax, [ebp - 0xc20]
call fcn.00409a90
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 0xc20]
dec dword [ebp - 0xc28]
call fcn.00409708
pop eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c360
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
push esp
call sub.SHELL32.DLL_SHGetMalloc
mov byte [esi], 0
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x1a
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
test eax, eax
jne 0x40c3d1
push esi
push dword [esp + 8]
call sub.SHELL32.DLL_SHGetPathFromIDListA
test eax, eax
je 0x40c3d1
cmp byte [esi], 0
je 0x40c3d1
mov eax, esi
call fcn.0040c22c
push 0x4a307e
push esi
call fcn.00497ba4
add esp, 8
xor edx, edx
mov eax, esi
call fcn.0040a72c
test al, al
jne 0x40c3cc
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.0040a264
test eax, eax
je 0x40c3cc
xor ebx, ebx
jmp 0x40c3d1
mov ebx, 1
test bl, bl
jne 0x40c3e9
push 0x400
push esi
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov eax, esi
call fcn.0040c2fc
push dword [esp + 4]
mov edx, dword [esp + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x40ff70
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x4a3d3c], 0
jne 0x40ff89
call fcn.004a0080
mov dword [0x4a3d38], eax
inc byte [0x4a3d3c]
call fcn.004a0080
sub eax, dword [0x4a3d38]
cmp eax, 0x64
jle 0x40ffc5
cmp dword [0x4c7814], 0
je 0x40ffc0
mov eax, 0x4b1b14
mov edx, 0xff
call fcn.0042d720
mov eax, 0x4b1b14
mov edx, 0xff
call fcn.0042d708
call fcn.0047cc10
mov eax, dword [0x4a3d34]
test eax, eax
je 0x40ffd4
push eax
call sub.KERNEL32.DLL_Sleep
ret
Function at 0x4103e0
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
push esp
push 0x28
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.ADVAPI32.DLL_OpenProcessToken
test eax, eax
je 0x41042c
lea eax, [esp + 8]
push eax
push 0x4a3d5e
push 0
call sub.ADVAPI32.DLL_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
push 0x80000000
push 0xd
call sub.USER32.DLL_ExitWindowsEx
add esp, 0x14
ret

Function at 0x410cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, 0x4b3a64
push ebp
mov ebp, edx
cmp dword [edi + 4], 0
mov esi, ecx
mov ebx, eax
jne 0x410cca
call fcn.00410c78
mov eax, ebp
jmp 0x410ce2
mov edx, ebx
xor ecx, ecx
xor dl, byte [eax]
dec esi
mov cl, dl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
inc eax
mov ebx, edx
test esi, esi
jbe 0x410cea
test al, 7
jne 0x410cce
cmp esi, 8
jb 0x410d73
xor ebx, dword [eax]
xor ecx, ecx
mov cl, bl
sub esi, 8
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
xor ebx, dword [eax + 4]
add eax, 8
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
cmp esi, 8
mov ebx, edx
jae 0x410cf3
xor edx, edx
jmp 0x410d8d
mov ecx, ebx
xor cl, byte [eax + edx]
and ecx, 0xff
shr ebx, 8
mov ecx, dword [edi + ecx*4]
xor ecx, ebx
mov ebx, ecx
inc edx
cmp esi, edx
ja 0x410d77
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x410e60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], edx
mov edx, dword [esp]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
xor edx, dword [eax + 0x204]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
xor edx, dword [eax + 0x208]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [ecx + 8]
mov esi, dword [edx + 0xc]
xor ebx, dword [eax + 0x20c]
xor esi, dword [eax + 0x210]
xor edx, edx
mov ecx, esi
mov edi, esi
shr edi, 0x15
shl ecx, 0xb
or ecx, edi
mov edi, edx
and edi, 3
add ecx, ebx
xor ecx, dword [eax + edi*4 + 0x204]
mov ebp, ecx
mov edi, ecx
shr ebp, 8
and edi, 0xff
and ebp, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ebp, byte [eax + ebp + 0x104]
shl ebp, 8
or edi, ebp
mov ebp, ecx
shr ebp, 0x10
shr ecx, 0x18
and ebp, 0xff
and ecx, 0xff
movzx ebp, byte [eax + ebp + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl ebp, 0x10
shl ecx, 0x18
or edi, ebp
or edi, ecx
mov ecx, ebx
xor edi, dword [esp + 4]
mov dword [esp + 0xc], edi
mov edi, ebx
shr edi, 0xf
shl ecx, 0x11
or ecx, edi
mov edi, edx
and edi, 3
xor ecx, esi
add ecx, dword [eax + edi*4 + 0x204]
mov ebp, ecx
mov edi, ecx
shr ebp, 8
and edi, 0xff
and ebp, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ebp, byte [eax + ebp + 0x104]
shl ebp, 8
or edi, ebp
mov ebp, ecx
shr ebp, 0x10
shr ecx, 0x18
and ebp, 0xff
and ecx, 0xff
movzx ebp, byte [eax + ebp + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl ebp, 0x10
shl ecx, 0x18
or edi, ebp
or edi, ecx
xor edi, dword [esp + 8]
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov ecx, edi
mov esi, ecx
mov ebx, dword [esp + 0xc]
inc edx
cmp edx, 0x20
jl 0x410eae
mov edx, dword [esp + 0x10]
xor ebx, dword [eax + 0x204]
mov dword [edx], ebx
xor esi, dword [eax + 0x208]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor edx, dword [eax + 0x20c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
xor edx, dword [eax + 0x210]
mov dword [ecx + 0xc], edx
mov edx, dword [esp]
call fcn.004111ac
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x411000
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
xor ecx, dword [ebx + 0x204]
mov dword [esp], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
xor ecx, dword [ebx + 0x208]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0xc]
xor esi, dword [ebx + 0x20c]
mov edi, dword [eax + 0xc]
xor edi, dword [ebx + 0x210]
push 0x10
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00497a90
add esp, 0xc
mov edx, 0x1f
mov eax, edi
mov ecx, edi
shr ecx, 0x15
shl eax, 0xb
or eax, ecx
mov ecx, edx
and ecx, 3
add eax, esi
xor eax, dword [ebx + ecx*4 + 0x204]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [ebx + ecx + 0x104]
movzx ebp, byte [ebx + ebp + 0x104]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [ebx + ebp + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
mov eax, esi
xor ecx, dword [esp]
mov dword [esp + 8], ecx
mov ecx, esi
shr ecx, 0xf
shl eax, 0x11
or eax, ecx
mov ecx, edx
and ecx, 3
xor eax, edi
add eax, dword [ebx + ecx*4 + 0x204]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [ebx + ecx + 0x104]
movzx ebp, byte [ebx + ebp + 0x104]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [ebx + ebp + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
xor ecx, dword [esp + 4]
mov dword [esp], esi
mov dword [esp + 4], edi
mov eax, ecx
mov edi, eax
mov esi, dword [esp + 8]
dec edx
test edx, edx
jge 0x41105c
mov eax, dword [esp + 0xc]
xor esi, dword [ebx + 0x204]
mov dword [eax], esi
xor edi, dword [ebx + 0x208]
mov edx, dword [esp + 0xc]
mov dword [edx + 4], edi
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
xor ecx, dword [ebx + 0x20c]
mov dword [eax + 8], ecx
mov eax, ebx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
xor edx, dword [ebx + 0x210]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x10]
call fcn.004111ac
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4111ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, 0x4b3a64
xor ecx, ecx
movzx esi, byte [edx + ecx]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x204], esi
movzx esi, byte [edx + ecx + 1]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x208], esi
movzx esi, byte [edx + ecx + 2]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x20c], esi
movzx esi, byte [edx + ecx + 3]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x210], esi
add ecx, 4
cmp ecx, 0x10
jl 0x4111b5
pop esi
pop ebx
ret
Function at 0x416ed8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xffffff70
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor edx, edx
mov dword [esp + 8], edx
mov esi, dword [esp + 8]
jmp 0x416f55
xor eax, eax
mov edx, dword [esp]
add edx, esi
add edx, eax
mov cl, byte [edx + 1]
mov byte [esp + eax + 0x19], cl
mov bl, byte [edx]
sub bl, cl
mov byte [esp + eax + 0x18], bl
mov dl, byte [edx + 2]
sub dl, cl
mov byte [esp + eax + 0x1a], dl
add eax, 3
cmp eax, 0x78
jl 0x416f03
mov ebx, 3
mov cl, byte [esp + ebx + 0x18]
sub cl, byte [esp + ebx + 0x15]
movsx ecx, cl
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 8]
add dword [esp + edx*4 + 0xc], eax
inc ebx
cmp ebx, 0x78
jl 0x416f2f
add esi, 0x780
mov eax, dword [esp + 4]
add eax, 0xffffff88
cmp esi, eax
jl 0x416f01
inc dword [esp + 8]
cmp dword [esp + 8], 2
jle 0x416efb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, eax
jb 0x416f81
cmp eax, dword [esp + 0x14]
ja 0x416f81
xor eax, eax
jmp 0x416f8d
mov eax, 1
cmp edx, dword [esp + 0x14]
jbe 0x416f8d
inc eax
add esp, 0x90
pop esi
pop ebx
ret

Function at 0x417598
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
push esp
push 0
push edx
push eax
push 0x10000
push 0
call sub.KERNEL32.DLL_CreateThread
mov ebx, eax
test ebx, ebx
jne 0x4175d9
mov edx, 0x4a46cc
mov eax, 0x4b1b14
call fcn.0042d584
mov eax, 0x4b1b14
call fcn.0042d7a8
mov eax, 0x4b1b14
mov edx, 2
call fcn.0042d708
mov eax, ebx
pop edx
pop ebx
ret