joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ad00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044a8b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044a930
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044a930
lea ecx, [esi + 0xc]
call fcn.004624e7
lea ecx, [esi + 0x10]
call fcn.004624e7
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044d160
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044d160
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044d160
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046255c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046255c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47eb9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4a624c]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov edx, dword [esp + 0x20]
lea eax, [esp + 4]
push edx
push 0x49b224
push eax
push 8
push 1
push 8
push ecx
mov dword [esp + 0x30], 1
call fcn.0047dcc7
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00462d2c
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00462fb7
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4012e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47ec10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 2
push eax
push 0x69
call fcn.00463bdc
mov ecx, dword [0x4a624c]
lea ebp, [esi + 0x60]
mov dword [ebp], ecx
lea edi, [esi + 0x64]
mov byte [esp + 0x1c], 4
mov ecx, edi
call fcn.0046418e
mov dword [edi], vtable.CEdit.0
mov edx, dword [0x4a624c]
lea edi, [esi + 0xa0]
mov dword [edi], edx
mov eax, dword [0x4a624c]
lea ebx, [esi + 0xa4]
mov dword [ebx], eax
mov ecx, dword [0x4a624c]
mov dword [esi + 0xa8], ecx
push 0x4aa680
mov ecx, edi
mov byte [esp + 0x20], 8
mov dword [esi], method.CDialog.virtual_0
call fcn.00463140
push 0x4aa680
mov ecx, ebx
call fcn.00463140
push 0x4aa680
lea ecx, [esi + 0xa8]
call fcn.00463140
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
call fcn.004630f0
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.004630f0
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.004630f0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
mov dword [esi + 0x5c], edx
mov byte [esp + 0x1c], 1
call fcn.00462fb7
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 0
call fcn.00462fb7
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00462fb7
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x401840
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
or ecx, 0xffffffff
xor eax, eax
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, ebx
repne scasb al, byte es:[edi]
mov ebp, dword [esp + 0x1c]
not ecx
sub edi, ecx
lea edx, [ebp + 0x208]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push 0
push str.SystemCurrentControlSetServicesClassNet
push reloc.t40shapi.dll_Ordinal_2
call esi
test eax, eax
jne 0x401915
lea edx, [esp + 0x1c]
push edx
push 0x20019
push eax
mov eax, dword [esp + 0x2c]
push ebx
push eax
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40190c
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push ebp
push edx
push 0
push str.DriverDesc
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4018e3
cmp dword [esp + 0x14], 1
je 0x401905
mov edi, str.Unknown
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
push eax
call ebx
mov ecx, dword [esp + 0x20]
push ecx
call ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x401920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.t40shapi.dll_Ordinal_2
call esi
test eax, eax
jne 0x401a88
mov edx, dword [esp + 0x18]
lea ecx, [esp + 8]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call esi
test eax, eax
jne 0x401a7b
push ebx
mov ebx, dword [esp + 0x18]
push ebp
lea ecx, [esp + 0xc]
push edi
lea ebp, [ebx + 0x208]
push ecx
lea edx, [esp + 0x24]
push ebp
push edx
push eax
mov eax, dword [esp + 0x24]
push str.ServiceName
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4019a5
cmp dword [esp + 0x20], 1
je 0x4019c7
mov edi, str.Unknown
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ebx
push ecx
push 0
push str.Description
push edx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4019f7
cmp dword [esp + 0x20], 1
je 0x401a19
mov edi, str.Unknown
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea esi, [ebx + 0x104]
push ecx
lea edx, [esp + 0x24]
push esi
push edx
push 0
push str.Title
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401a4f
cmp dword [esp + 0x20], 1
je 0x401a6d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0044d48b
add esp, 4
push ebx
push eax
push str.__d___s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
pop ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 0xc
ret

Function at 0x401b70
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
mov dword [esp + 0x14], 0x10
call fcn.00401800
push eax
push reloc.t40shapi.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401be5
push eax
push eax
push eax
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401be3
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00401b50
add esp, 8
pop esi
add esp, 0x18
ret
mov eax, esi
pop esi
add esp, 0x18
ret
Function at 0x401c30
Capabilities:
Check if file exists
Get disk information

Disassembly:
sub esp, 0x404
mov eax, dword [esp + 0x418]
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
lea ecx, [esp + 0x14]
push 0x200
xor ebx, ebx
push ecx
push ebp
mov byte [esp + 0x1f], 0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x401cec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x401ce2
mov edi, str.Device_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
push ebp
push 1
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x401dc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x401dd0
mov edi, str.._
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x214]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffffffffffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 3
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
push 1
push eax
and ecx, 3
lea eax, [esp + 0x22c]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x401d93
mov ecx, dword [esp + 0x428]
mov edx, dword [esp + 0x424]
push 0
push ecx
mov ecx, dword [esp + 0x428]
push edx
push ecx
lea edx, [esp + 0x42c]
push 4
push edx
push 0x170002
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x401d9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov al, byte [esp + 0x13]
test al, al
je 0x401dd0
lea eax, [esp + 0x14]
push eax
push ebp
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x401dd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
mov byte [esp + 0x13], 1
jmp 0x401cec
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x402750
Capabilities:
Get disk information

Disassembly:
sub esp, 0x104
push ebp
mov ebp, dword [esp + 0x10c]
push esi
mov byte [ebp], 0
call fcn.00402230
test al, al
je 0x40284c
mov al, byte [0x4aa680]
push edi
mov byte [esp + 0x10], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0xa
push 0
push 0
lea ecx, [esp + 0x18]
push 0
stosw word es:[edi], ax
push ecx
push 0xc
push 0
push 0x49b60c
stosb byte es:[edi], al
call esi
test eax, eax
pop edi
je 0x40284c
mov edx, dword [esp + 8]
push edx
push str._08lx
push ebp
call fcn.0044d496
push ebp
call fcn.004021e0
add esp, 0x10
test eax, eax
je 0x402848
push 0xa
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0xc
push 0
push 0x49b60c
call esi
test eax, eax
je 0x40284c
mov ecx, dword [esp + 8]
push ebx
push ecx
lea edx, [esp + 0x14]
push str._08lx
push edx
call fcn.0044d496
add esp, 0xc
lea esi, [esp + 0x10]
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x402830
test cl, cl
je 0x40282c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x402830
add eax, 2
add esi, 2
test cl, cl
jne 0x402808
xor eax, eax
jmp 0x402835
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jne 0x402848
pop esi
mov eax, 1
pop ebp
add esp, 0x104
ret
mov byte [ebp], 0
pop esi
xor eax, eax
pop ebp
add esp, 0x104
ret
Function at 0x407680
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4154
call fcn.0044d530
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [esp + 0x416c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ecx
call ebp
lea edx, [esp + 0x118]
mov ecx, ebx
push edx
call fcn.00407620
mov esi, dword [esp + 0x4168]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0044dbfe
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x160], edx
mov edi, edx
mov edx, ecx
push 0x105
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x164]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x160], 1
call fcn.0044dbfe
mov edi, eax
mov ecx, 0x41
xor eax, eax
mov dword [esp + 0x16c], edi
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x49cf3c
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x164]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x118]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [ebx + 0x14]
lea ecx, [esp + 0x118]
push ecx
mov ecx, ebx
call fcn.004075e0
lea edx, [esp + 0x10]
push edx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4154
ret 8
Function at 0x4093f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
mov al, byte [0x4aa680]
push ebx
push esi
push edi
mov byte [esp + 0x114], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x115]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xd
mov esi, str.softwareMicrosoftwindowsCurrentVersion_app_Paths_
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x32
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x20019
lea ecx, [esp + 0x1c]
push 0
push ecx
push reloc.t40shapi.dll_Ordinal_2
mov dword [esp + 0x20], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4094cb
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
lea eax, [esp + 0x114]
push edx
push eax
push 0
push 0
push 0x4aa680
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x10]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4094ea
mov esi, dword [esp + 0x218]
push 0x4aa680
mov ecx, esi
call fcn.00463025
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x208
ret
mov esi, dword [esp + 0x218]
mov eax, dword [0x4a624c]
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00463140
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x409520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
mov al, byte [0x4aa680]
push esi
push edi
mov byte [esp + 0x10], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11]
mov dword [esp + 8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0xff
push ecx
push 0x20019
stosw word es:[edi], ax
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.t40shapi.dll_Ordinal_2
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4095a0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.Version
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4095be
mov esi, dword [esp + 0x114]
push 0x4aa680
mov ecx, esi
call fcn.00463025
mov eax, esi
pop edi
pop esi
add esp, 0x108
ret
mov esi, dword [esp + 0x114]
mov eax, dword [0x4a624c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00463140
mov eax, esi
pop edi
pop esi
add esp, 0x108
ret
Function at 0x40a830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47f5e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
lea ecx, [esp + 0xc]
call fcn.00461ed4
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x30], 0
call fcn.0040a710
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
jle 0x40a8dc
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
lea edx, [ecx + ebx*4]
push eax
push edx
call fcn.0040a7f0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp esi, eax
jg 0x40a8d1
mov eax, dword [edi + 8]
dec eax
test eax, eax
jl 0x40a8bc
mov ecx, dword [edi + 4]
lea ecx, [ecx + eax*4]
cmp esi, dword [ecx]
jae 0x40a8bc
dec eax
sub ecx, 4
test eax, eax
jge 0x40a8b0
inc eax
push 1
push esi
push eax
mov ecx, edi
call fcn.00462254
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jle 0x40a8a2
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x40a87c
pop edi
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00461f07
mov ecx, dword [esp + 0x20]
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40ce00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x204
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push 0x1ff
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xf], 0x2f
je 0x40ce79
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xf], 0x5c
je 0x40ce79
mov edi, 0x49cdf4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Hilite.txt
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x218]
mov ecx, esi
call fcn.00463025
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x204
ret
Function at 0x40d440
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
sub esp, 0x20c
mov ecx, dword [esp + 0x218]
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push 0xa
push eax
push ecx
mov dword [esp + 0x18], 0
call fcn.0044eb96
mov edx, dword [esp + 0x228]
add esp, 0xc
mov ebx, eax
push 0x8000
push edx
call fcn.0045a06f
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
jne 0x40d492
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret
mov eax, dword [esp + 0x220]
push 0x80
push 0x8101
push eax
call fcn.0045a06f
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x40d4c1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret
push edi
mov edi, dword [str.This_is_a_compressed_file_by_newcoding_n]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push ebp
call fcn.00455b23
mov esi, dword [str.This_is_a_compressed_file_by_newcoding_n]
add esp, 0xc
mov byte [esp + eax + 0x1c], 0
lea eax, [esp + 0x1c]
pop edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40d515
test cl, cl
je 0x40d511
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40d515
add eax, 2
add esi, 2
test cl, cl
jne 0x40d4f1
xor eax, eax
jmp 0x40d51a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40d52a
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret
lea eax, [esp + 0x18]
push 0x200
push eax
push ebp
call fcn.00455b23
add esp, 0xc
test eax, eax
jle 0x40d575
mov esi, dword [esp + 0xc]
xor ecx, ecx
add esi, eax
test eax, eax
mov dword [esp + 0xc], esi
jle 0x40d560
mov dl, byte [esp + ecx + 0x18]
xor dl, bl
mov byte [esp + ecx + 0x18], dl
inc ecx
cmp ecx, eax
jl 0x40d551
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.00456dff
add esp, 0xc
jmp 0x40d52a
push ebp
call fcn.00454189
mov eax, dword [esp + 0x14]
push eax
call fcn.00454189
mov eax, dword [esp + 0x14]
add esp, 8
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x40e460
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47f9eb
push eax
mov dword fs:[0], esp
sub esp, 0x484
push esi
call fcn.00401760
test al, al
je 0x40e4d1
mov eax, dword [esp + 0x4ac]
mov ecx, dword [esp + 0x4a8]
mov edx, dword [esp + 0x4a4]
push eax
mov eax, dword [esp + 0x4a4]
push ecx
mov ecx, dword [esp + 0x4a4]
push edx
mov edx, dword [esp + 0x4a4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop esi
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
add esp, 0x490
ret
mov esi, dword [esp + 0x4ac]
push esi
call fcn.0040e3d0
add esp, 4
test eax, eax
jne 0x40e52a
mov eax, dword [esp + 0x4a8]
mov ecx, dword [esp + 0x4a4]
mov edx, dword [esp + 0x4a0]
push esi
push eax
mov eax, dword [esp + 0x4a4]
push ecx
mov ecx, dword [esp + 0x4a4]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop esi
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
add esp, 0x490
ret
push 0x4aab8c
lea ecx, [esp + 8]
call fcn.00463025
mov edx, dword [esp + 4]
push 0x4aa680
push edx
mov dword [esp + 0x498], 0
call fcn.0044d292
add esp, 8
test eax, eax
jne 0x40e587
mov eax, dword [esp + 0x4a8]
mov ecx, dword [esp + 0x4a4]
mov edx, dword [esp + 0x4a0]
push esi
push eax
mov eax, dword [esp + 0x4a4]
push ecx
mov ecx, dword [esp + 0x4a4]
push edx
push eax
push ecx
jmp 0x40e628
lea edx, [esp + 0x108]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x28c]
push eax
lea edx, [esp + 0x210]
push ecx
push edx
push esi
call fcn.0044d8ca
add esp, 0x14
lea ecx, [esp + 4]
push str._temp_trs_tmp_
call fcn.00463393
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
call fcn.00463393
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 8]
call fcn.00463393
mov edx, dword [esp + 4]
push 0
push edx
call fcn.0045fabd
add esp, 8
test eax, eax
je 0x40e5fb
mov eax, dword [esp + 4]
push eax
push esi
call fcn.0041fc30
add esp, 8
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x4a8]
mov eax, dword [esp + 0x4a4]
push ecx
mov ecx, dword [esp + 0x4a4]
push edx
mov edx, dword [esp + 0x4a4]
push eax
mov eax, dword [esp + 0x4a4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x490], 0xffffffff
call fcn.00462fb7
mov ecx, dword [esp + 0x488]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x490
ret