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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x3b4452f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x3b445147
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x3b4452f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x3b445147
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x3b445310
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x3b4451d0
xor eax, eax
push ebp
push 0x3b4451c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.3b444f00
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x3b4451ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x3b445330
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x3b4451ae
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b4451d0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x3b4452ea
cmp byte [ebp - 0xd], 0
jne 0x3b445217
cmp byte [ebp - 0x12], 0
je 0x3b4452ea
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x3b445230
dec ebx
cmp byte [ebx], 0x2e
je 0x3b44523f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x3b44522f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x3b4452ea
inc ebx
cmp byte [ebp - 0x12], 0
je 0x3b44527c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x3b4452ea
cmp byte [ebp - 0xd], 0
je 0x3b4452ea
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x3b4452ea
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3b4459f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ecx, 0x3b45a7b0
mov ebx, ecx
cmp dword [ecx + 0x18448], 0
je 0x3b445a2d
mov edx, ecx
xor eax, eax
mov esi, eax
add esi, esi
add esi, esi
inc esi
imul esi, dword [ecx + 0x18448]
xor dword [edx], esi
add edx, 4
inc eax
cmp eax, 0x6112
jne 0x3b445a0a
xor eax, eax
mov dword [ecx + 0x18448], eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x3b445d44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, edx
mov ebp, eax
xor edi, edi
call fcn.3b445b68
test esi, esi
je 0x3b445d92
test ebp, ebp
je 0x3b445d92
mov eax, esi
call fcn.3b442c94
mov edi, eax
test edi, edi
je 0x3b445d92
mov edx, esi
dec edx
test edx, edx
jb 0x3b445d92
inc edx
xor eax, eax
mov ecx, esi
dec ecx
sub ecx, eax
movzx ecx, byte [ebp + ecx]
mov ebx, eax
imul bx, word [0x3b472c58]
add bl, 0xda
xor cl, bl
mov byte [edi + eax], cl
inc eax
dec edx
jne 0x3b445d72
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x3b4462dc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x104
call fcn.3b4431b0
push 0x104
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.3b444790
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.3b444414
add esp, 0x104
pop esi
pop ebx
ret
Function at 0x3b4464e4
Capabilities:
Create directory
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b4466e3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x3b4466fc
call fcn.3b4443bc
mov eax, 0x3b446710
call fcn.3b447838
test al, al
je 0x3b446557
lea eax, [ebp - 0xc]
mov edx, 0x3b446724
call fcn.3b4443bc
jmp 0x3b446572
mov eax, 0x3b446738
call fcn.3b447838
test al, al
je 0x3b446572
lea eax, [ebp - 0xc]
mov edx, 0x3b446750
call fcn.3b4443bc
mov edx, dword [ebp - 4]
mov eax, 0x3b446768
call fcn.3b445e9c
test al, al
je 0x3b4465bc
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
call fcn.3b44450c
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 0xc]
call fcn.3b4445cc
mov eax, dword [ebp - 0x114]
call fcn.3b444790
push eax
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_lstrcpyA
jmp 0x3b446605
lea eax, [ebp - 0x110]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x118]
movzx edx, byte [ebp - 0x110]
call fcn.3b44450c
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 0xc]
call fcn.3b4445cc
mov eax, dword [ebp - 0x118]
call fcn.3b444790
push eax
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.3b444594
mov eax, dword [ebp - 0x11c]
call fcn.3b447838
test al, al
jne 0x3b446638
push 0
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_CreateDirectoryA
call fcn.3b443068
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.3b444594
push dword [ebp - 0x120]
push 0x3b446774
mov eax, 0x270f
call fcn.3b443090
lea edx, [ebp - 0x124]
call fcn.3b446c04
push dword [ebp - 0x124]
push 0x3b446780
lea eax, [ebp - 8]
mov edx, 4
call fcn.3b444694
push 9
mov eax, dword [ebp - 8]
call fcn.3b444790
push eax
mov eax, dword [ebp - 4]
call fcn.3b444790
push eax
call sub.kernel32.dll_MoveFileExA
push 0x64
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.3b4471a4
mov ebx, eax
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b4466ea
lea eax, [ebp - 0x124]
mov edx, 5
call fcn.3b444348
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.3b444348
ret

Function at 0x3b446800
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b446854
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.3b444790
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
push ebx
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b44685b
lea eax, [ebp - 4]
call fcn.3b444324
ret
Function at 0x3b446864
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe8
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x3b4468bd
lea eax, [esp + 0xc]
push eax
push 0x3b4468c4
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
add esp, 0x18
ret

Function at 0x3b446a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread
pop ecx
pop ebp
ret 8

Function at 0x3b446a50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b446ac2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x48000080
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 4]
call fcn.3b444790
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp ebx, 0xffffffff
jne 0x3b446a9f
xor esi, esi
cmp esi, 0xffffffff
jne 0x3b446aa6
xor esi, esi
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b446ac9
lea eax, [ebp - 4]
call fcn.3b444324
ret

Function at 0x3b446ad0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
mov eax, dword [ebp - 8]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b446bc4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
jne 0x3b446b23
lea eax, [ebp - 0x24]
mov edx, dword [0x3b472c14]
call fcn.3b44451c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 4]
call fcn.3b44732c
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.3b444790
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 8]
call fcn.3b444790
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call sub.kernel32.dll_GetFileTime
test eax, eax
je 0x3b446b95
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b446bcb
lea eax, [ebp - 0x24]
call fcn.3b444324
lea eax, [ebp - 8]
mov edx, 2
call fcn.3b444348
ret
Function at 0x3b4470b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b447191
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x3b4470ec
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x3b44716e
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x7fffffff
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.3b4447f0
mov eax, dword [ebp - 0xc]
call fcn.3b444790
mov ebx, eax
mov eax, esi
test eax, eax
je 0x3b44711b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x3b44715b
inc edi
xor esi, esi
movzx eax, byte [ebx + esi]
cmp al, 0x5c
je 0x3b447131
cmp al, 0x2f
jne 0x3b447157
mov byte [ebx + esi], 0
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryA
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.3b44451c
mov eax, dword [ebp - 0x10]
call fcn.3b447838
test al, al
je 0x3b44716e
mov byte [ebx + esi], 0x5c
inc esi
dec edi
jne 0x3b447125
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebp - 4]
call fcn.3b447838
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b447198
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.3b444348
lea eax, [ebp - 4]
call fcn.3b444324
ret

Function at 0x3b4471b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3b44728b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, 0x104
call fcn.3b4431b0
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov ecx, eax
lea edx, [ebp - 0x104]
mov eax, ebx
call fcn.3b444414
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call dword [0x3b472c60]
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.3b446d10
mov eax, dword [ebp - 0x108]
push eax
lea edx, [ebp - 0x114]
mov eax, dword [ebx]
call dword [str.PmD_]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.3b446eec
mov edx, dword [ebp - 0x110]
mov eax, ebx
pop ecx
call fcn.3b444618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b447292
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.3b444348
ret
Function at 0x3b447468
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b4474da
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.3b444790
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x3b4474b8
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x3b4474bc
xor ebx, ebx
jmp 0x3b4474be
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b4474e1
lea eax, [ebp - 4]
call fcn.3b444324
ret

Function at 0x3b4474e8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, dword [ebp + 8]
call fcn.3b444780
mov eax, dword [ebp + 0xc]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b447598
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x3b472c50], 0
je 0x3b44757d
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
mov eax, dword [ebp + 0xc]
call fcn.3b444790
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x3b44757d
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
lea eax, [ebp + 8]
mov edx, 0x3b4475b0
call fcn.3b4445cc
mov esi, dword [ebp + 8]
test esi, esi
je 0x3b447561
sub esi, 4
mov esi, dword [esi]
push 0
lea eax, [ebp - 4]
push eax
push esi
mov eax, dword [ebp + 8]
call fcn.3b444790
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b44759f
lea eax, [ebp + 8]
mov edx, 2
call fcn.3b444348
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.3b444790
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x3b447851
test al, 0x10
jne 0x3b447855
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x3b44785c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b4478fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x3b4478e5
test edi, edi
je 0x3b4478e5
mov eax, dword [ebp - 4]
call fcn.3b446800
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.3b444790
push eax
call sub.kernel32.dll_CreateFileA
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x3b4478c6
cmp dword [ebp - 0x10], 0xffffffff
je 0x3b4478e5
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push esi
mov ebx, dword [ebp - 0x10]
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
cmp edi, dword [ebp - 0x14]
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b447902
lea eax, [ebp - 4]
call fcn.3b444324
ret
Function at 0x3b44790c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
mov eax, dword [ebp - 8]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b44797b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.3b444790
push eax
mov eax, dword [ebp - 4]
call fcn.3b444790
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.3b446ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b447982
lea eax, [ebp - 8]
mov edx, 2
call fcn.3b444348
ret

Function at 0x3b447b08
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x3b447b11
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b447bee
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [edi], eax
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.3b444790
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x3b447bd8
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov dword [edi], eax
cmp dword [edi], 0
jne 0x3b447b86
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x3b447bd8
mov eax, dword [edi]
call fcn.3b442c94
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x3b447bd8
xor ebx, ebx
jmp 0x3b447bce
push 0
lea eax, [ebp - 0xc]
push eax
push 0x2000
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.kernel32.dll_ReadFile
cmp dword [ebp - 0xc], 0
je 0x3b447bd2
lea edx, [ebp - 0x200c]
mov eax, dword [ebp - 8]
add eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.3b4459a8
add ebx, dword [ebp - 0xc]
cmp ebx, dword [edi]
jb 0x3b447b9a
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b447bf5
lea eax, [ebp - 4]
call fcn.3b444324
ret

Function at 0x3b448608
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
xor ebx, ebx
mov eax, dword [ebp + 8]
call fcn.3b446f2c
test eax, eax
je 0x3b44868a
xor esi, esi
lea ecx, [ebp - 0x400]
mov eax, esi
mov edx, 8
test eax, 1
jbe 0x3b448641
shr eax, 1
xor eax, 0xedb88320
jmp 0x3b448643
shr eax, 1
dec edx
jne 0x3b448630
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x3b448629
mov ebx, 8
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x3b448688
inc eax
xor esi, esi
mov edx, dword [ebp + 8]
movzx edx, byte [edx + esi]
xor dl, bl
movzx edx, dl
mov edx, dword [ebp + edx*4 - 0x400]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov ebx, edx
inc esi
dec eax
jne 0x3b448664
not ebx
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x3b448694
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov dword [esp], eax
xor edi, edi
cmp dword [esp], 0
je 0x3b4486e6
test ebx, ebx
je 0x3b4486e6
mov eax, ebx
call fcn.3b442c94
mov edi, eax
test edi, edi
je 0x3b4486e6
mov esi, ebx
dec esi
test esi, esi
jb 0x3b4486e6
inc esi
xor eax, eax
mov edx, ebx
dec edx
sub dl, al
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
add dl, 0xda
mov ecx, ebx
dec ecx
sub ecx, eax
mov ebp, dword [esp]
xor dl, byte [ebp + ecx]
mov byte [edi + eax], dl
inc eax
dec esi
jne 0x3b4486c1
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x3b4487f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3b444780
xor eax, eax
push ebp
push 0x3b4488df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.3b444378
lea edx, [ebp - 8]
mov eax, 0x3b4488f8
call fcn.3b4462dc
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x3b448843
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.3b444790
push eax
call fcn.3b448608
mov ebx, eax
test ebx, ebx
jne 0x3b44885d
mov ebx, 0x12345678
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.3b446d94
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x3b44887a
sub eax, 4
mov eax, dword [eax]
mov esi, eax
lea ecx, [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.3b447fd4
test esi, esi
jle 0x3b4488c4
mov ebx, 1
mov eax, edi
call fcn.3b4447e8
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
xor al, dl
movzx eax, al
mov ecx, 0x1a
xor edx, edx
div ecx
add dl, 0x61
pop eax
mov byte [eax], dl
inc ebx
dec esi
jne 0x3b448891
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3b4488e6
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.3b444348
ret