joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc719
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4bc770
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4bc770
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4bc770
xor eax, eax
inc eax
jmp 0x4bc772
xor eax, eax
leave
ret 0x10

Function at 0x4bc79b
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4bc809
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x75db7c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4bc800
cmp dword [ebp - 0xc], 4
jne 0x4bc800
cmp dword [ebp - 0x10], edi
je 0x4bc800
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x850fd8], edi
xor eax, eax
jmp 0x4bc848
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x850fd8], edi
jge 0x4bc843
lea eax, [ebp - 0x34]
push eax
mov dword [0x850fd8], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4bc843
cmp word [ebp - 0x14], 5
jb 0x4bc843
call fcn.004bc776
test eax, eax
je 0x4bc843
emms
mov dword [0x850fd8], 1
mov eax, dword [0x850fd8]
pop edi
leave
ret

Function at 0x4e9a8d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e9ac5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e7b44
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e7b1c
jmp 0x4e9ad1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4eb182
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4eb1c4
call fcn.004f0d35
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4eb1c4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4eb1bb
xor eax, eax
jmp 0x4eb1cc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004eb1d2
pop edi
pop esi
pop ebx
ret 4
Function at 0x4f1265
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4f1293
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f12b1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f11cb
jmp 0x4f12b1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f12b1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f11cb
test edi, edi
mov eax, edi
jne 0x4f129b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x417253
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x459d68]
test eax, eax
je 0x417292
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x417292
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x417292
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x417292
cmp dword [ecx + 0x74], 0xe
jbe 0x417292
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42b1d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b1fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b1fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub esp, 0xb8
push edi
mov edi, dword [esp + 0xc0]
mov dword [0x40ac30], edi
call fcn.004013a0
test eax, eax
jne 0x4011d2
mov eax, dword [esp + 0xc8]
push str.HIDE
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
call fcn.004013c0
lea ecx, [esp + 4]
mov dword [0x40ac34], eax
push ecx
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0x7ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x2a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x40107c
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3a8
mov dword [0x40803c], 1
je 0x401086
mov dword [0x40803c], 0
call fcn.004011e0
call fcn.00401800
test eax, eax
je 0x4011d2
mov edx, dword [0x40ac30]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x68
push edx
call esi
mov dword [0x40ac3c], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x30], 5
jne 0x4010ff
cmp dword [esp + 0x3c], 2
jne 0x4010ff
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4010ff
mov ecx, dword [0x40ac3c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [0x40ac30]
push 0x77
push edx
mov dword [0x40ac3c], 0
call esi
mov dword [0x40ac3c], eax
mov eax, dword [0x40ac30]
push 0x40
push 0x40ac40
push 1
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x401128
push 0x40852c
push 0x40ac40
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x40ac3c]
mov edx, dword [0x40ac34]
push 0x40ac40
push ecx
push edx
call fcn.00402b30
push 1
call fcn.00402ba0
add esp, 0x10
push 0x6b
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov esi, eax
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
call edi
test eax, eax
je 0x4011b0
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x40119d
lea eax, [esp + 0x18]
push eax
call ebp
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
call edi
test eax, eax
jne 0x40117a
pop ebp
pop ebx
call fcn.00401340
mov eax, dword [0x40ac88]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov ecx, dword [0x40ac8c]
push ecx
call esi
call fcn.00402bd0
pop esi
xor eax, eax
pop edi
add esp, 0xb8
ret 0x10
Function at 0x4011e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
lea eax, [esp + 8]
push edi
push eax
push 0x20019
push 0
push str.SoftWareBofulNetworksNetPlayerOptions
push 0x80000001
mov dword [esp + 0x24], 4
call ebx
test eax, eax
je 0x40121f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push 0x408034
push 0
push 0
push str.AutoVCD
push edx
call esi
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.DVD_shellplaycommand
push 0x80000000
call ebx
test eax, eax
je 0x401274
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x40ac90
push ecx
mov dword [esp + 0x28], 0x104
call esi
lea edx, [esp + 0x14]
push str.TruePlayer.exe
push edx
call fcn.00402ca4
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [0x408030], eax
mov eax, dword [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.AudioCD_shellplaycommand
push 0x80000000
call ebx
test eax, eax
je 0x4012e2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x40ac90
push ecx
mov dword [esp + 0x28], 0x104
call esi
lea edx, [esp + 0x14]
push str.TruePlayer.exe
push edx
call fcn.00402ca4
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [0x408038], eax
mov eax, dword [esp + 0xc]
push eax
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10c
ret

Function at 0x401340
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftWareBofulNetworksNetPlayerOptions
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40136d
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push 4
push 0x408034
push 4
push 0
push str.AutoVCD
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret
Function at 0x401e30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [esp + 0x118]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
cmp byte [esi + ebp - 1], 0x5c
je 0x401e66
push 0x4085e4
jmp 0x401e6b
push str.MPEGAV
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call ebx
cmp eax, 0xffffffff
je 0x401e94
test al, 0x10
je 0x401e94
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x104
ret
mov ecx, dword [esp + 0x118]
push ecx
push esi
call edi
cmp byte [esi + ebp - 1], 0x5c
je 0x401ead
push str.VIDEO_TS
jmp 0x401eb2
push 0x40861c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call ebx
cmp eax, 0xffffffff
je 0x401ed5
test al, 0x10
je 0x401ed5
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x104
ret
mov edx, dword [esp + 0x118]
push edx
push esi
call edi
cmp byte [esi + ebp - 1], 0x5c
je 0x401ef3
push 0x408618
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10]
push esi
push eax
call edi
lea ecx, [esp + 0x10]
push str.Track01.cda
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push edx
call ebx
cmp eax, 0xffffffff
je 0x401f2b
test al, 0x10
jne 0x401f2b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
Function at 0x401f40
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x408528]
sub esp, 0x110
push ebx
push ebp
push esi
push edi
xor esi, esi
xor edi, edi
cmp eax, esi
je 0x402030
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebp, eax
push esi
push 8
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
inc esi
push ebx
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [ebx]
mov esi, ebx
test al, al
je 0x402009
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esp + 0x14], 0x408108
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x401ff2
lea eax, [edi*8 + 0x408048]
push esi
push eax
call ebp
lea ecx, [esp + 0x1c]
mov byte [edi*8 + 0x40804a], 0
push ecx
push esi
call fcn.00401e30
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
call ebp
mov eax, dword [esp + 0x14]
mov dword [edi*4 + 0x4084c8], ebx
mov ebx, dword [esp + 0x18]
inc edi
add eax, 0x28
mov dword [esp + 0x14], eax
push 0
push esi
call fcn.00402d7a
add esp, 8
inc eax
mov esi, eax
cmp byte [esi], 0
jne 0x401fa0
mov ebp, dword [esp + 0x10]
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [0x408040], edi
mov eax, edi
pop edi
pop esi
pop ebp
mov dword [0x408528], 0
pop ebx
add esp, 0x110
ret
cmp dword [0x408040], esi
jle 0x402092
mov ebx, 0x408108
mov ebp, 0x408048
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.00401e30
add esp, 8
lea edx, [esp + 0x1c]
mov dword [esp + 0x10], eax
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x10]
add ebp, 8
mov dword [esi*4 + 0x4084c8], eax
mov eax, dword [0x408040]
inc esi
add ebx, 0x28
cmp esi, eax
jl 0x402042
mov eax, edi
pop edi
pop esi
pop ebp
mov dword [0x408528], 0
pop ebx
add esp, 0x110
ret
mov eax, edi
mov dword [0x408528], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
Function at 0x4021e0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
push edi
push 0x104
push eax
push 0
mov esi, 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xc]
push str.__auto
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [esp + 0x110]
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea edx, [esp + 0x128]
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402265
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x40228f
mov ecx, dword [esp + 0x218]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push edi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4022a2
mov eax, dword [esp + 0x218]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x4022a8
xor esi, esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x20c
ret
Function at 0x4041c9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408928
cmp edx, dword [eax]
je 0x4041eb
add eax, 8
inc ecx
cmp eax, 0x4089b8
jl 0x4041dc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408928]
jne 0x404319
mov eax, dword [0x40acfc]
cmp eax, 1
je 0x4042f3
test eax, eax
jne 0x40421c
cmp dword [0x408774], 1
je 0x4042f3
cmp edx, 0xfc
je 0x404319
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404253
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404760
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402f50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404296
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402f50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4074d8
push edi
call fcn.00405de0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404760
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404770
lea eax, [ebp - 0xa0]
push 0x4074b8
push eax
call fcn.00404770
push dword [esi + 0x40892c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404770
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405d54
add esp, 0x2c
pop edi
jmp 0x404319
lea eax, [ebp + 8]
lea esi, [esi + 0x40892c]
push 0
push eax
push dword [esi]
call fcn.00402f50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4023a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
movlpd qword [ebp - 0x18], xmm0
push ebx
push esi
push edi
test eax, eax
jl 0x402416
mov esi, dword [ebp + 8]
jg 0x4023c7
test esi, esi
je 0x402416
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
test eax, eax
jl 0x4023e5
jg 0x4023de
cmp esi, 0x7fffffff
jbe 0x4023e5
mov edi, 0x7fffffff
jmp 0x4023e7
mov edi, esi
mov ecx, dword [ebp - 0xc]
push edx
push edi
add ecx, ebx
push 1
push ecx
call fcn.00425f18
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
add esp, 0x10
add ebx, eax
mov eax, dword [ebp + 0xc]
adc ecx, edx
mov edx, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp ecx, eax
jl 0x4023d0
jg 0x402416
cmp ebx, esi
jb 0x4023d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov eax, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
push esi
push edi
test eax, eax
je 0x40290d
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push 0xffffffffffffffff
push 0xfffffffffffffff9
push ebx
push esi
call fcn.0043f860
mov ecx, eax
mov edi, edx
shld edi, ecx, 3
shl ecx, 3
sub ecx, eax
mov eax, dword [ebp + 0xc]
sbb edi, edx
add esi, ecx
adc ebx, edi
mov edi, dword [ebp + 8]
cmp eax, 1
jg 0x4028c0
jl 0x40287e
test edi, edi
jae 0x4028c0
xor edx, edx
test eax, eax
jl 0x40290d
jg 0x402892
test edi, edi
je 0x40290d
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov al, byte [esi + ebx]
xor byte [edx + ecx], al
xor ecx, ecx
inc edx
lea eax, [esi + 1]
cmp esi, 6
cmovne ecx, eax
xor eax, eax
mov esi, ecx
cmp eax, dword [ebp + 0xc]
jl 0x402895
jg 0x40290d
cmp edx, edi
jb 0x402895
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
nop
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov al, byte [esi + eax]
xor byte [ecx + edi], al
add esi, 1
mov edi, dword [ebp + 8]
adc ebx, 0
cmp esi, 7
jne 0x4028fc
test ebx, ebx
jne 0x4028fc
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
add ecx, 1
adc edx, 0
cmp edx, dword [ebp + 0xc]
jl 0x4028d0
jg 0x40290d
cmp ecx, edi
jb 0x4028d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4034e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
or eax, 0xffffffff
mov dword [ebp - 4], ecx
cmp dword [0x5d22e0], 0
push edi
mov edi, edx
jne 0x4035b4
xor esi, esi
push ebx
nop
mov edx, esi
mov ecx, esi
shr edx, 1
mov ebx, edx
xor ebx, 0xedb88320
test cl, 1
cmove ebx, edx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
test dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
test dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
test dl, 1
cmove ebx, ecx
mov edx, ebx
shr edx, 1
mov ecx, edx
xor ecx, 0xedb88320
test bl, 1
cmove ecx, edx
mov dword [esi*4 + 0x5d22f8], ecx
inc esi
cmp esi, 0x100
jb 0x403500
mov ecx, dword [ebp - 4]
pop ebx
mov dword [0x5d22e0], 1
xor esi, esi
test edi, edi
je 0x4035db
nop word [eax + eax]
movzx edx, byte [esi + ecx]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, dword [ebp - 4]
xor eax, dword [edx*4 + 0x5d22f8]
cmp esi, edi
jb 0x4035c0
pop edi
not eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4043f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0xffffffffffffffff
push 0xfffffffffffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
call fcn.0043f860
mov ecx, eax
mov edi, edx
shld edi, ecx, 1
add ecx, ecx
add eax, ecx
adc edx, edi
mov edi, dword [ebp + 8]
shld edx, eax, 2
shl eax, 2
add esi, eax
adc ebx, edx
cmp dword [ebp + 0xc], 1
jg 0x404474
jl 0x404438
test edi, edi
jae 0x404474
mov ebx, dword [ebp + 0xc]
xor edx, edx
test ebx, ebx
jl 0x4044bf
jg 0x404447
test edi, edi
je 0x4044bf
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov al, byte [esi + eax]
xor byte [edx + ecx], al
xor ecx, ecx
inc edx
lea eax, [esi + 1]
cmp esi, 0xb
cmovne ecx, eax
xor eax, eax
mov esi, ecx
cmp eax, ebx
jl 0x404447
jg 0x4044bf
cmp edx, edi
jb 0x404447
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp + 0x10], xmm0
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov al, byte [esi + eax]
xor byte [ecx + edi], al
add esi, 1
mov edi, dword [ebp + 8]
adc ebx, 0
cmp esi, 0xc
jne 0x4044ae
test ebx, ebx
jne 0x4044ae
xorps xmm0, xmm0
movlpd qword [ebp + 0x10], xmm0
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
add ecx, 1
adc edx, 0
cmp edx, dword [ebp + 0xc]
jl 0x404482
jg 0x4044bf
cmp ecx, edi
jb 0x404482
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4086e0
Capabilities:
Create directory
Delete directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44046b
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x450008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x85c], edx
mov esi, ecx
mov ecx, dword [0x5d22c0]
mov eax, 0x66666667
mov ebx, dword [0x5d22bc]
sub ecx, ebx
imul ecx
mov ecx, dword [0x5d22cc]
mov eax, 0x66666667
sub ecx, dword [0x5d22c8]
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [edi + ecx]
cmp esi, eax
jb 0x40878c
mov edx, str.Specified_Mode:
mov ecx, 0x451948
call fcn.0040ec10
push esi
mov ecx, eax
call fcn.0040b690
mov edx, str._out_of_range
mov ecx, eax
call fcn.0040ec10
push eax
call fcn.0040eeb0
add esp, 4
xor al, al
jmp 0x4088d5
cmp esi, edi
jae 0x408798
lea eax, [esi + esi*4]
lea ebx, [ebx + eax*8]
jmp 0x4087ae
sub esi, edi
cmp ecx, esi
jbe 0x4088f1
mov ecx, dword [0x5d22c8]
lea eax, [esi + esi*4]
lea ebx, [ecx + eax*8]
push ebx
lea ecx, [ebp - 0x858]
call fcn.0040bbb0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
je 0x40881e
push eax
lea ecx, [ebp - 0x83c]
call fcn.004085c0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
sub esi, eax
mov edi, dword [ebp - 0x83c]
push esi
push eax
push edi
call fcn.0041fbf0
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x838], eax
push ecx
mov ecx, dword [ebp - 0x85c]
lea edx, [ebp - 0x420]
mov dword [ebp - 4], 1
call fcn.00404bc0
lea eax, [ebp - 0x628]
push eax
lea edx, [ebp - 0x830]
lea ecx, [ebp - 0x420]
call fcn.00404ec0
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x628]
add esp, 8
push eax
call esi
push ecx
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x830]
call fcn.00404f70
add esp, 4
lea eax, [ebp - 0x218]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x218]
push eax
call esi
push dword [ebp - 0x83c]
lea eax, [ebp - 0x420]
push 0x449f04
push eax
call dword [ebp - 0x840]
mov ebx, eax
add esp, 0xc
shr ebx, 0x1f
test bl, bl
je 0x4088c8
lea eax, [ebp - 0x628]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x858]
call fcn.00408650
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041badb
mov esp, ebp
pop ebp
ret
call fcn.0040d050
int3