joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fb60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x42bd64
lea eax, [ebp - 0x88]
push 0x40
push eax
call fcn.004136eb
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
xor edi, edi
xor esi, esi
jmp 0x40fba0
push edi
push 0x42bd80
lea eax, [ebp - 0x288]
push pe_nt_image_headers32
push eax
call fcn.004136eb
mov eax, dword [0x43026c]
add esp, 0x10
add eax, 0x184
add eax, esi
push str.._ventoylanguages.ini
push 0x80
push eax
push 0x42bdb8
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x88]
push eax
call ebx
sub esi, 0xffffff80
inc edi
cmp esi, 0x1580
jl 0x40fba0
push 0x100000
call fcn.00413be0
add esp, 4
mov esi, eax
mov dword [ebp - 0x2a0], esi
push str.._ventoylanguages.ini
push 0x80000
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [esi], 0
mov ebx, esi
mov eax, dword [0x43026c]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], esi
je 0x40fdcc
lea edi, [eax + 0x1704]
mov dword [ebp - 0x294], edi
mov esi, dword [0x430264]
cmp esi, 0xc8
jge 0x40fdd2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 9
jl 0x40fdaf
mov ecx, 0x42bdbc
mov edx, ebx
mov esi, 0xe
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40fdaf
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40fc70
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40fdaf
lea eax, [ebx + 0x12]
push eax
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.._ventoylanguages.ini
push 0x80
lea eax, [edi - 0x1604]
push eax
push 0x42bdb8
push 0x42bdd0
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.._ventoylanguages.ini
push 0xa
push 0x42bde8
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, dword [ebp - 0x294]
mov esi, ebx
mov dword [edi - 0x1584], eax
xor edi, edi
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x29c], ebx
jmp 0x40fd00
mov eax, dword [0x43026c]
push str.._ventoylanguages.ini
push 0x800
push esi
add eax, 0x184
push 0x42bdb8
add eax, edi
push eax
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebx], 0
je 0x40fd60
mov eax, esi
movzx edx, word [eax + 2]
test dx, dx
je 0x40fd54
cmp word [eax], 0x23
jne 0x40fd4b
cmp edx, 0x40
jne 0x40fd4b
mov dword [eax], 0xa000d
add eax, 2
cmp word [eax], 0
jne 0x40fd31
mov edi, dword [ebp - 0x298]
mov ebx, dword [ebp - 0x29c]
sub edi, 0xffffff80
add ebx, 0x800
add esi, 0x800
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x29c], ebx
cmp edi, 0x1580
jl 0x40fd00
mov edi, dword [ebp - 0x294]
inc dword [0x430264]
add dword [ebp - 0x290], 0x16f04
add edi, 0x16f04
mov ebx, dword [ebp - 0x28c]
mov dword [ebp - 0x294], edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2]
add ebx, 2
mov dword [ebp - 0x28c], ebx
cmp word [ebx], 0
jne 0x40fc41
mov esi, dword [0x430264]
push dword [ebp - 0x2a0]
call fcn.00413ba8
add esp, 4
push esi
push str.Total__d_languages_...
call fcn.0040c4e0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004136c0
mov esp, ebp
pop ebp
ret
Function at 0x410120
Capabilities:
Identify system language via api
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x20c], 0xffffffff
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
push dword [0x432968]
movzx eax, ax
mov dword [ebp - 0x210], eax
call dword [sym.imp.USER32.dll_GetMenu]
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0x42be7c
push 0xa001
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.USB_Device_Only
push 0xa006
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.Generate_VTSI_File
push 0xa007
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x42be7c
push 0xa002
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
cmp dword [0x430260], 0
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
je 0x4101d4
push 0
push 0x9c4c
push edi
call esi
push 8
jmp 0x4101e0
push 8
push 0x9c4c
push edi
call esi
push 0
push 0x9c4d
push edi
call esi
push 1
push edi
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0x400
push 0
push eax
mov dword [ebp - 0x214], eax
call dword [sym.imp.USER32.dll_DeleteMenu]
push 0x11ebb20
call fcn.00413be0
add esp, 4
mov dword [0x43026c], eax
push 0x11ebb20
push 0
push eax
call fcn.004198c0
add esp, 0xc
push str.._ventoylanguages.json
push 0
call fcn.0040c5e0
add esp, 8
test eax, eax
je 0x41024e
push str.Load_languages_from_json_file_...
call fcn.0040c4e0
add esp, 4
call fcn.0040fe00
jmp 0x410260
push str.Load_languages_from_ini_file_...
call fcn.0040c4e0
add esp, 4
call fcn.0040fb60
call fcn.0040fa80
xor eax, eax
mov ecx, 0x804
cmp cx, word [ebp - 0x210]
push 0x200
push eax
cmove ebx, eax
lea eax, [ebp - 0x208]
push eax
call fcn.004198c0
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x42bb94
push pe_nt_image_headers32
push eax
push 0x42bdb8
push 0x42bf14
push 0x428f4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor esi, esi
cmp dword [0x430264], esi
jle 0x410343
xor edi, edi
mov eax, dword [0x43026c]
add eax, edi
push eax
mov eax, esi
or eax, 0xb000
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_AppendMenuW]
cmp dword [ebp - 0x20c], 0
jge 0x41030e
lea eax, [ebp - 0x208]
push eax
mov eax, dword [0x43026c]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ecx, dword [ebp - 0x20c]
test eax, eax
cmove ecx, esi
mov dword [ebp - 0x20c], ecx
test ebx, ebx
jns 0x41032a
mov eax, dword [0x43026c]
push str.English__English_
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
cmove ebx, esi
inc esi
add edi, 0x16f04
cmp esi, dword [0x430264]
jl 0x4102c1
mov eax, dword [ebp - 0x20c]
test eax, eax
jns 0x410345
mov eax, ebx
mov ecx, eax
call fcn.0040f750
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004136c0
mov esp, ebp
pop ebp
ret
Function at 0x410da0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x4301bc], 0
mov eax, dword [0x43024c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
push esi
push edi
je 0x410dd0
lea ecx, [eax + 0x2704]
add eax, 0x15704
push 0x144
jmp 0x410e08
push 0x134
lea ecx, [eax + 0x1f04]
add eax, 0x7704
push ecx
push eax
push dword [0x432968]
call ebx
cmp eax, 6
jne 0x410f4f
mov eax, dword [0x43024c]
push 0x134
lea ecx, [eax + 0x1f04]
add eax, 0x7f04
push ecx
push eax
push dword [0x432968]
call ebx
cmp eax, 6
jne 0x410f4f
cmp dword [0x430268], 0
je 0x410e38
push str.Another_thread_is_runing
call fcn.0040c4e0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x147
push dword [0x432964]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x410e66
push str.Failed_to_get_combox_sel
call fcn.0040c4e0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.0040e8a0
mov edi, eax
test edi, edi
je 0x410f4f
cmp dword [0x430260], 0
jne 0x410eb6
cmp dword [edi + 0x14], 0x200
jb 0x410eb6
ja 0x410e91
cmp dword [edi + 0x10], 0
jbe 0x410eb6
mov ecx, dword [0x43024c]
push 0x10
lea eax, [ecx + 0x1704]
push eax
lea eax, [ecx + 0x10704]
push eax
push dword [0x432968]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00406510
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
shrd esi, ecx, 0x14
mov dword [esp + 0xc], eax
push esi
push eax
shr ecx, 0x14
push str.SpaceMB:_d_SizeInMB:_d
call fcn.0040c4e0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp esi, eax
jle 0x410f24
sub esi, eax
cmp esi, 0x20
jle 0x410f24
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [0x43290c]
call esi
push 0
push dword [0x432918]
call esi
push 0
push 0
push edi
push 0x410720
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x430268], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x43024c]
push 0x10
lea eax, [ecx + 0x1704]
push eax
lea eax, [ecx + 0xdf04]
push eax
push dword [0x432968]
call ebx
push str.Invalid_space_value_...
call fcn.0040c4e0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410ff0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x43024c]
push edi
push 0x24
lea ecx, [eax + 0x2704]
add eax, 0x6f04
push ecx
push eax
push dword [0x432968]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x41109d
cmp dword [0x430268], 0
je 0x411032
push str.Another_thread_is_runing
call fcn.0040c4e0
add esp, 4
pop edi
ret
push 0
push 0
push 0x147
push dword [0x432964]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41105b
push str.Failed_to_get_combox_sel
call fcn.0040c4e0
add esp, 4
pop edi
ret
mov ecx, eax
call fcn.0040e8a0
mov edi, eax
test edi, edi
je 0x41109d
push 0
push dword [0x43290c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [0x432918]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push edi
push 0x410bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x430268], eax
pop edi
ret
Function at 0x4110a0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x43024c]
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x34
lea ecx, [eax + 0x1f04]
add eax, 0x7704
push ecx
push eax
push dword [0x432968]
call esi
cmp eax, 6
jne 0x411178
mov eax, dword [0x43024c]
push 0x34
lea ecx, [eax + 0x1f04]
add eax, 0x7f04
push ecx
push eax
push dword [0x432968]
call esi
cmp eax, 6
jne 0x411178
cmp dword [0x430268], 0
je 0x41110d
push str.Another_thread_is_runing
call fcn.0040c4e0
add esp, 4
pop edi
pop esi
pop ecx
ret
push 0
push 0
push 0x147
push dword [0x432964]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x411138
push str.Failed_to_get_combox_sel
call fcn.0040c4e0
add esp, 4
pop edi
pop esi
pop ecx
ret
mov ecx, eax
call fcn.0040e8a0
mov edi, eax
test edi, edi
je 0x411178
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [0x43290c]
call esi
push 0
push dword [0x432918]
call esi
push 0
push 0
push edi
push 0x4109c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x430268], eax
pop edi
pop esi
pop ecx
ret
Function at 0x411180
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
push ebx
call dword [sym.imp.USER32.dll_GetMenu]
mov edi, eax
test si, si
jne 0x4111ed
xor ecx, ecx
cmp dword [0x430254], ecx
sete cl
mov dword [0x430254], ecx
test ecx, ecx
je 0x4111cc
push 0x42887c
push dword [0x432904]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 8
push 0
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
pop edi
pop esi
pop ebx
pop ecx
ret
push 0x42ae33
push dword [0x432904]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, 0xa001
cmp si, ax
jne 0x411217
push 0
push 0x4068d0
push ebx
push 0x70
push dword [0x432914]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
call fcn.0040f670
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, 0xa002
cmp si, ax
jne 0x41122b
call fcn.004110a0
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, 0xa007
cmp si, ax
jne 0x41129e
push 0
push edi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ecx, 1
mov edx, eax
sub ecx, dword [0x4301bc]
mov dword [0x4301bc], ecx
cmp ecx, 1
jne 0x41127b
mov ecx, dword [0x43024c]
add ecx, 0x14f04
push ecx
push 0xa007
push 0x408
push 5
push edx
call dword [sym.imp.USER32.dll_ModifyMenuW]
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [0x43024c]
add eax, 0x14f04
push eax
push 0xa007
push 0x400
push 5
push edx
call dword [sym.imp.USER32.dll_ModifyMenuW]
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, 0xa006
cmp si, ax
jne 0x411309
push 0
push edi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ecx, 1
mov edx, eax
sub ecx, dword [0x42f214]
mov dword [0x42f214], ecx
jne 0x4112df
mov ecx, dword [0x43024c]
add ecx, 0x10f04
push ecx
push 0xa006
push 0x408
jmp 0x4112f4
mov eax, dword [0x43024c]
add eax, 0x10f04
push eax
push 0xa006
push 0x400
push 4
push edx
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov ecx, ebx
call fcn.00410f60
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, 0x9c4c
cmp si, ax
jne 0x411335
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
push 8
push eax
push edi
call esi
push 0
push 0x9c4d
push edi
call esi
mov dword [0x430260], 0
jmp 0x411363
mov eax, 0x9c4d
cmp si, ax
jne 0x411387
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c4c
push edi
call esi
push 8
push 0x9c4d
push edi
call esi
mov dword [0x430260], 1
call fcn.0040f350
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x432968]
call esi
push 1
push dword [0x432968]
call esi
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, 0xb000
cmp si, ax
jb 0x4113ad
mov eax, dword [0x430264]
movzx ecx, si
add eax, 0xb000
cmp ecx, eax
jge 0x4113ad
add ecx, 0xffff5000
call fcn.0040f750
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x411590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, str.boot_boot.img
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x10], str.boot_boot.img
mov dword [esp + 0x14], str.bootcore.img.xz
mov dword [esp + 0x18], str.ventoy_ventoy.disk.img.xz
mov dword [esp + 0x1c], str.ventoy_version
mov dword [esp + 0x20], 0
lea esp, [esp]
push eax
push 0x4290b0
push 0
call fcn.0040c5e0
add esp, 0xc
test eax, eax
je 0x411715
mov eax, dword [esp + esi*4 + 0x14]
inc esi
test eax, eax
jne 0x4115e0
mov ecx, dword [0x42f668]
mov ecx, dword [ecx]
call fcn.0040f210
push 0x432920
push str._n_Ventoy2Disk__s_
call fcn.0040c4e0
add esp, 8
mov ecx, ebx
call fcn.0040df50
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x42bb94
push 0
push str.PartStyle
push 0x428f4c
call esi
mov ecx, dword [0x430260]
mov edx, 1
push 0x42bb94
push 0
cmp eax, edx
push str.ShowAllDevice
cmove ecx, edx
push 0x428f4c
mov dword [0x430260], ecx
call esi
dec eax
neg eax
sbb eax, eax
and dword [0x42f214], eax
call fcn.0040cdd0
push 0x430138
push str.Windows_Version:___Windows__s__
call fcn.0040c4e0
push str._n_Enum_All_PhyDrives_
call fcn.0040c4e0
add esp, 0xc
push 0x24800
call fcn.00413be0
add esp, 4
mov dword [0x430244], eax
test eax, eax
jne 0x4116ba
push str.Failed_to_alloc_phy_drive_memory
call fcn.0040c4e0
add esp, 4
jmp 0x4116d9
push 0x24800
push 0
push eax
call fcn.004198c0
add esp, 0xc
call fcn.00407290
call fcn.0040e8e0
call fcn.0040e620
push 0
push 0x4113c0
push 0
push 0x6e
push edi
mov dword [0x432914], edi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push dword [0x430244]
call fcn.00413ba8
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004136c0
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + esi*4 + 0x10]
mov esi, 0x32
mov edi, edi
push edi
push str._File___s__not_found__did_you_download_it_from_official_website___
call fcn.0040c4e0
add esp, 8
dec esi
jne 0x411720
push str.grubgrub.cfg
push esi
call fcn.0040c5e0
add esp, 8
push 0x10
push str.Error
test eax, eax
je 0x411751
push str.Dont_run_me_here__please_use_the_released_install_package.
jmp 0x411756
push str.Please_run_under_the_correct_directory_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x24]
mov eax, 0x490
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004136c0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov dword [edx*4 + 0x431420], eax
inc edx
cmp edx, 0x100
jb 0x411782
ret

Function at 0x411830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov esi, ecx
not eax
test edi, edi
je 0x41185a
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431420]
dec edi
jne 0x411842
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x411980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 0x4a8]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x14], eax
call fcn.00413080
mov ecx, dword [ebx + 4]
sub ecx, dword [edi + 0x10]
add dword [edi + 0x40], ecx
mov dword [ebp - 4], eax
adc dword [edi + 0x44], 0
mov ecx, dword [ebx + 0x10]
sub ecx, dword [edi + 0x14]
add dword [edi + 0x48], ecx
mov eax, dword [edi + 0x44]
adc dword [edi + 0x4c], 0
mov ecx, dword [edi + 0x28]
cmp eax, dword [edi + 0x2c]
ja 0x411abe
jb 0x4119de
cmp dword [edi + 0x40], ecx
ja 0x411abe
mov ebx, dword [edi + 0x34]
mov edx, dword [edi + 0x48]
mov esi, dword [edi + 0x30]
cmp dword [edi + 0x4c], ebx
ja 0x411abe
jb 0x4119fa
cmp edx, esi
ja 0x411abe
cmp dword [edi + 0x1c], 1
jne 0x411a23
mov ecx, dword [ebp - 8]
push dword [edi + 0x18]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
sub edx, dword [edi + 0x14]
add ecx, dword [edi + 0x14]
call fcn.00411830
mov edx, dword [edi + 0x48]
add esp, 4
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x411ac3
mov eax, ecx
and eax, dword [edi + 0x2c]
cmp eax, 0xffffffff
je 0x411a4a
cmp ecx, dword [edi + 0x40]
jne 0x411abe
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x2c], eax
jne 0x411abe
mov eax, esi
and eax, ebx
cmp eax, 0xffffffff
je 0x411a5c
cmp esi, edx
jne 0x411abe
cmp ebx, dword [edi + 0x4c]
jne 0x411abe
mov eax, dword [edi + 0x38]
lea esi, [edi + 0x58]
xor ecx, ecx
add eax, dword [edi + 0x40]
adc ecx, dword [edi + 0x44]
add dword [esi], eax
adc dword [esi + 4], ecx
cmp dword [edi + 0x1c], 1
jne 0x411a7c
add dword [esi], 4
adc dword [esi + 4], 0
add dword [edi + 0x60], edx
mov ebx, 0x18
mov eax, dword [edi + 0x4c]
adc dword [edi + 0x64], eax
mov eax, dword [edi + 0x68]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431420]
dec ebx
jne 0x411a90
add dword [edi + 0x50], 1
not eax
mov dword [edi + 0x68], eax
adc dword [edi + 0x54], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411ad0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [edx + 4]
sub edi, dword [ebx + 0x10]
add dword [ebx + 0x78], edi
mov eax, dword [ebx + 0x18]
adc dword [ebx + 0x7c], 0
not eax
mov esi, dword [edx]
add esi, dword [ebx + 0x10]
test edi, edi
je 0x411b08
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431420]
dec edi
jne 0x411af0
pop edi
not eax
pop esi
mov dword [ebx + 0x18], eax
pop ebx
ret
Function at 0x411b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push esi
push edi
mov dword [ebp - 4], ebx
mov esi, ecx
lea eax, [ebx + 4]
push dword [ebx + 8]
mov edx, dword [ebx]
mov ecx, esi
push eax
call fcn.004118e0
mov edi, eax
add esp, 8
cmp edi, 1
jne 0x411c3a
mov eax, dword [esi + 0x70]
sub eax, 0
je 0x411bd1
dec eax
je 0x411bb6
dec eax
jne 0x411c00
mov eax, dword [esi + 8]
lea edi, [esi + 0x88]
add dword [esi + 0x90], eax
mov ebx, 0x18
mov edx, dword [esi + 0x98]
mov eax, dword [esi + 0xc]
not edx
adc dword [esi + 0x94], eax
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x431420]
dec ebx
jne 0x411b83
add dword [esi + 0x80], 0xffffffff
not edx
mov ebx, dword [ebp - 4]
adc dword [esi + 0x84], 0xffffffff
mov dword [esi + 0x98], edx
jmp 0x411bf9
mov eax, dword [esi + 8]
add dword [esi + 0x88], eax
mov eax, dword [esi + 0xc]
adc dword [esi + 0x8c], eax
mov dword [esi + 0x70], 2
jmp 0x411c00
mov eax, dword [esi + 8]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x80]
cmp eax, dword [esi + 0x50]
jne 0x411c2e
mov eax, dword [esi + 0x84]
cmp eax, dword [esi + 0x54]
jne 0x411c2e
mov dword [esi + 0x70], 1
cmp dword [esi + 0x84], 0
lea eax, [ebx + 4]
ja 0x411b31
jb 0x411c22
cmp dword [esi + 0x80], 0
lea eax, [ebx + 4]
ja 0x411b31
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov ecx, esi
call fcn.00411ad0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411cb0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0xa8], 0x587a37fd
jne 0x411d5c
cmp word [edi + 0xac], 0x5a
jne 0x411d5c
push ebx
push esi
lea esi, [edi + 0xae]
or edx, 0xffffffff
mov ebx, 2
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x431420]
dec ebx
jne 0x411ce1
movzx ecx, byte [edi + 0xb3]
not edx
movzx eax, byte [edi + 0xb2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xb1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xb0]
shl ecx, 8
or ecx, eax
pop esi
pop ebx
cmp edx, ecx
je 0x411d33
mov eax, 7
pop edi
ret
cmp byte [edi + 0xae], 0
je 0x411d43
mov eax, 6
pop edi
ret
movzx ecx, byte [edi + 0xaf]
xor eax, eax
cmp ecx, 1
mov dword [edi + 0x1c], ecx
mov edx, 6
cmovg eax, edx
pop edi
ret
mov eax, 5
pop edi
ret