joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40252d
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x414470
call fcn.00413ef0
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], esi
call fcn.0040370f
xor eax, eax
cmp dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
jg 0x402568
push eax
lea ecx, [ebp - 0x24]
call fcn.00401796
mov ax, word [edi + esi*2 - 2]
mov ebx, dword [ebp - 0x24]
cmp ax, 0x5c
je 0x40257c
cmp ax, 0x2f
jne 0x402586
and word [ebx + esi*2 - 2], 0
dec esi
mov dword [ebp - 0x10], esi
push ebx
call fcn.00401a9e
test eax, eax
pop ecx
jne 0x4025de
test esi, esi
jle 0x4025b0
lea eax, [ebx + esi*2]
mov cx, word [eax]
cmp cx, 0x2f
je 0x4025ae
cmp cx, 0x5c
je 0x4025ae
dec esi
dec eax
dec eax
test esi, esi
jg 0x402598
test esi, esi
je 0x4025b9
and word [ebx + esi*2], 0
jmp 0x402586
cmp dword [ebp - 0x10], 2
jne 0x4025db
mov ax, word [edi]
or al, 0x20
cmp ax, 0x61
jb 0x4025db
cmp ax, 0x7a
ja 0x4025db
cmp word [edi + 2], 0x3a
je 0x402668
push edi
jmp 0x40265a
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40264e
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00401a25
pop ecx
test eax, eax
pop ecx
je 0x40264e
xor esi, esi
jmp 0x40266b
cmp esi, dword [ebp - 0x10]
jge 0x402668
mov eax, dword [ebp - 0x10]
lea edi, [ebx + esi*2]
sub eax, esi
inc eax
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + esi*2]
push eax
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp word [edi], 0
je 0x40262d
inc esi
lea ecx, [ebx + esi*2]
mov ax, word [ecx]
test ax, ax
je 0x402649
cmp ax, 0x5c
je 0x402649
cmp word [ecx], 0x2f
je 0x402649
inc esi
inc ecx
inc ecx
jmp 0x402630
and word [ebx + esi*2], 0
push ebx
call fcn.00401a9e
test eax, eax
pop ecx
jne 0x402607
push ebx
push 0xc
push 1
call fcn.004086d5
add esp, 0xc
jmp 0x402603
push 1
pop esi
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x402689
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov eax, 0x414484
call fcn.00413ef0
sub esp, 0x25c
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
push dword [ebp + 8]
call fcn.0040370f
and dword [ebp - 4], 0
push 0x41a098
lea ecx, [ebp - 0x18]
call fcn.00403770
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
je 0x402770
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00401631
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004016ce
lea eax, [ebp - 0x23c]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403770
test byte [ebp - 0x268], 0x10
je 0x40273b
lea eax, [ebp - 0x23c]
push 0x41a094
push eax
call ebx
test eax, eax
je 0x402753
lea eax, [ebp - 0x23c]
push 0x41a08c
push eax
call ebx
test eax, eax
je 0x402753
push dword [ebp - 0x18]
call fcn.00402689
pop ecx
jmp 0x40274f
push 0
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x40278d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40278d
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4026df
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push dword [ebp + 8]
call esi
test eax, eax
je 0x40278d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40278d
push 1
pop esi
jmp 0x40278f
xor esi, esi
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4027ad
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
cmp dword [0x41b4d0], 0
push esi
jne 0x4027c7
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4027cc
push 1
pop eax
pop esi
ret
test al, 0x10
jne 0x4027ea
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4027e6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret
xor eax, eax
pop esi
ret
push esi
call fcn.00402689
pop ecx
pop esi
ret
Function at 0x4030ea
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x414587
call fcn.00413ef0
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00401796
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, ebx
jle 0x403151
push edi
lea edi, [esi + 1]
cmp edi, dword [ebp - 0x14]
jl 0x403139
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401796
push edi
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 0x1c]
pop edi
mov word [eax + esi*2], bx
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.004015ee
mov dword [ebp - 0x10], 1
push dword [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4034b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea eax, [ebp - 0x68]
push 0x40
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x403636
lea eax, [ebp - 0x68]
push str.STATIC
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x403636
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0xe
je 0x403636
push str.IMAGES
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetMenu]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor esi, esi
movzx eax, ax
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
cmp ebx, esi
je 0x403636
push ebx
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x403636
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x403636
push ebx
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, 0x10
jb 0x403636
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
mov edi, eax
push dword [ebp - 0x10]
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push esi
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40362f
cmp dword [ebp - 8], esi
je 0x40362f
lea eax, [ebp - 0xc]
push eax
push 0x416a80
push esi
push esi
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x403636
lea edx, [ebp - 4]
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 4], esi
je 0x403621
push dword [ebp - 4]
call fcn.0040338b
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 6
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 4]
push esi
push 0x172
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
jmp 0x403638
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40363d
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4145eb
call fcn.00413ef0
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push edi
lea eax, [ebp - 0x14]
push 1
push eax
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
call esi
push 3
lea ecx, [ebp - 0x20]
mov edi, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00401796
lea eax, [edi + 2]
mov dword [ebp - 4], 1
cmp eax, dword [ebp - 0x18]
jl 0x403690
push eax
lea ecx, [ebp - 0x20]
call fcn.00401796
lea eax, [edi + 2]
cmp eax, dword [ebp - 0x18]
jl 0x4036a1
push eax
lea ecx, [ebp - 0x20]
call fcn.00401796
inc edi
push edi
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call esi
mov ecx, dword [ebp - 0x20]
xor eax, eax
cmp word [ecx], bx
je 0x4036bf
mov edx, ecx
inc eax
inc edx
inc edx
cmp word [edx], bx
jne 0x4036b7
mov word [ecx + eax*2], bx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004015ee
mov dword [ebp - 0x10], 1
push dword [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x403b77
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x41a168]
push edi
xor edi, edi
test eax, eax
je 0x403b9b
mov ecx, 0x41a168
cmp eax, dword [ebp + 8]
je 0x403b9b
mov eax, dword [ecx + 0x10]
add ecx, 0x10
inc edi
test eax, eax
jne 0x403b8b
shl edi, 4
mov eax, dword [edi + 0x41a174]
test eax, eax
jne 0x403c5f
cmp dword [0x41a39c], 0xffffffff
jne 0x403bc0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [0x41a39c], eax
cmp word [0x41a398], 0xffff
jne 0x403bd7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [0x41a398], ax
mov ax, word [0x41a3a0]
cmp ax, 0xffff
jne 0x403bee
call fcn.00403040
mov word [0x41a3a0], ax
mov ecx, dword [edi + 0x41a170]
and dword [ebp + 8], 0
push ebx
mov ebx, dword [edi + 0x41a16c]
test ecx, ecx
push esi
je 0x403c2a
mov edx, 0x804
cmp dword [0x41a39c], edx
je 0x403c1f
cmp word [0x41a398], dx
je 0x403c1f
cmp ax, dx
jne 0x403c2a
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp + 8], eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [edi + 0x41a174], eax
lea ecx, [esi + 1]
push ecx
push eax
push esi
push ebx
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [edi + 0x41a174]
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x403e51
Capabilities:
Get common file path

Disassembly:
mov eax, 0x414624
call fcn.00413ef0
sub esp, 0x2a4
push ebx
push esi
push edi
push 3
call fcn.00403b77
push 2
mov dword [0x41b4a0], eax
call fcn.00403b77
push 5
mov dword [0x41b49c], eax
call fcn.00403b77
push 0x15
mov dword [0x41b498], eax
call fcn.00403b77
push 0x16
mov dword [0x41b494], eax
call fcn.00403b77
push 0x17
mov dword [0x41b490], eax
call fcn.00403b77
xor edi, edi
add esp, 0x18
mov dword [0x41b48c], eax
mov dword [0x41b484], edi
mov dword [0x41b488], edi
xor ebx, ebx
mov esi, 0x41b410
push edi
lea eax, [ebp - 0x2b0]
push ebx
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x403f7e
push ebx
lea eax, [ebp - 0xa4]
push str.7zSfxFolder_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00403f9d
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 4], edi
call fcn.00401631
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0x18]
push eax
call fcn.00401631
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00403871
mov edi, 0x41aa94
cmp dword [edi - 4], ebx
jne 0x403f54
push dword [edi]
lea ecx, [ebp - 0x24]
call fcn.00401631
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0x18]
push eax
call fcn.00401631
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00403871
add edi, 8
cmp edi, 0x41aabc
jl 0x403f2b
push dword [ebp - 0x18]
mov dword [ebp - 4], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
pop ecx
inc ebx
cmp ebx, 0x40
jl 0x403ec4
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403fe5
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov eax, 0x414663
call fcn.00413ef0
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push 3
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00401796
cmp dword [ebp - 0x18], 2
push 1
pop esi
mov dword [ebp - 4], esi
jg 0x404023
push 2
lea ecx, [ebp - 0x20]
call fcn.00401796
push dword [ebp - 0x20]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
call esi
mov ecx, dword [ebp - 0x20]
mov word [ecx], bx
xor ecx, ecx
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
jbe 0x404070
lea edi, [eax + 1]
cmp edi, dword [ebp - 0x18]
jl 0x40404f
push edi
lea ecx, [ebp - 0x20]
call fcn.00401796
push dword [ebp - 0x20]
push edi
call esi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp word [eax], bx
je 0x404069
mov edx, eax
inc ecx
inc edx
inc edx
cmp word [edx], bx
jne 0x404061
mov word [eax + ecx*2], bx
mov dword [ebp - 0x1c], ecx
lea eax, [ecx + 0xf]
xor edi, edi
mov dword [ebp - 0x10], eax
lea esi, [ecx + ecx]
jmp 0x404080
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jl 0x40408e
push eax
lea ecx, [ebp - 0x20]
call fcn.00401796
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp + 0xc]
add eax, esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x20]
add esp, 0xc
xor eax, eax
cmp word [ecx], bx
je 0x4040b5
mov edx, ecx
inc eax
inc edx
inc edx
cmp word [edx], bx
jne 0x4040ad
mov word [ecx + eax*2], bx
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4040d3
inc edi
cmp edi, 0xfff
jl 0x40407d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.004015ee
mov dword [ebp - 0x14], 1
push dword [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404145
Capabilities:
Set environment variable

Disassembly:
mov eax, 0x414678
call fcn.00413ef0
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x41b418], esi
jle 0x4041a9
mov eax, dword [0x41b41c]
lea ecx, [ebp - 0x18]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
call fcn.004015ee
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call fcn.0040412a
mov eax, dword [0x41b41c]
pop ecx
push dword [ebp - 0x18]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
inc esi
pop ecx
cmp esi, dword [0x41b418]
jl 0x40415d
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4078d7
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
mov edi, 0x4b6
push eax
mov esi, ecx
push edi
call fcn.00407191
mov eax, dword [ebp - 4]
push 1
sub eax, dword [ebp - 0xc]
push edi
mov ecx, esi
inc eax
inc eax
mov dword [esi + 0x44], eax
call fcn.00407249
inc edi
push 1
push edi
mov ecx, esi
call fcn.00407249
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x103
lea eax, [ebp - 0x4d0]
push 0x2b4
push eax
lea eax, [ebp - 0x21c]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x4d0]
push edi
push dword [esi + 4]
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x407a7d
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x40], eax
call fcn.00406f0f
mov ecx, esi
mov edi, eax
call fcn.00407b57
mov eax, edi
pop edi
pop esi
leave
ret

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

Disassembly:
push esi
push edi
xor edx, edx
mov ecx, 0x41b600
push 8
mov eax, edx
pop esi
mov edi, eax
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr eax, 1
xor eax, edi
dec esi
jne 0x408bf8
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x41ba00
jl 0x408bf3
pop edi
pop esi
ret

Function at 0x408c1e
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x408c4b
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x41b600]
xor eax, esi
inc ecx
dec edx
jne 0x408c2c
pop edi
pop esi
ret 4
Function at 0x40af3b
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x414ea8
call fcn.00413ef0
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x416628
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x4166e0
push 4
mov ebx, 0x416638
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00409648
mov dword [esi + 0x3c], 0x416778
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00409648
mov dword [edi], 0x416770
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00409b22
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040a89b
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00409b22
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040a89b
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00409b22
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040a89b
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00409b22
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040a89b
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040a89b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40e1ee
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4153ef
call fcn.00413ef0
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x416628
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x416650
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.0040ff55
push dword [esi + 8]
mov ecx, ebx
call fcn.0040ff55
push dword [esi + 0xc]
mov ecx, edi
call fcn.0040ff55
push dword [esi + 0xc]
mov ecx, edi
call fcn.0040ff55
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40e1fa
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4153ef
call fcn.00413ef0
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x416628
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x416650
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.0040ff55
push dword [esi + 8]
mov ecx, ebx
call fcn.0040ff55
push dword [esi + 0xc]
mov ecx, edi
call fcn.0040ff55
push dword [esi + 0xc]
mov ecx, edi
call fcn.0040ff55
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40f001
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f027
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40f027
xor al, al
jmp 0x40f047
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00414050
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4