joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
mov edi, ecx
mov bx, dx
push edi
call fcn.0041f670
mov esi, eax
pop ecx
lea eax, [esi*2 + 2]
call fcn.0042fe40
mov ecx, esp
lea eax, [esi + 1]
push eax
push ecx
push 0xffffffffffffffff
push edi
push 0
push 0x4e4
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx ecx, bx
call fcn.0041628c
test eax, eax
je 0x401cd4
mov edi, 0x43ace4
mov esi, 0x4472c8
push edi
push dword [eax]
mov ecx, esi
call fcn.0040ef32
mov edx, eax
lea ecx, [ebp - 0x210]
call fcn.0040be45
pop ecx
pop ecx
push edi
push dword [ebp - 4]
mov ecx, esi
call fcn.0040ef32
mov edx, eax
lea ecx, [ebp - 0x41c]
call fcn.0040be45
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
pop ecx
call edi
mov esi, eax
jmp 0x401cbf
call edi
mov ecx, eax
sub ecx, esi
cmp ecx, 0x1388
ja 0x401cd4
cmp eax, esi
jb 0x401cd4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x41c]
call fcn.00401be5
test eax, eax
je 0x401ca5
lea esp, [ebp - 0x428]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401cdf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x430316
call fcn.00430290
sub esp, 0x14
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.0040dee6
and dword [ebp - 4], 0
mov eax, dword [0x4472d4]
push dword [eax + 0x642]
call fcn.0040df30
push str.INFOEXE
push 0x7d
push dword [0x4472d0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [0x4472d0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x4472d4]
mov edi, dword [ebp - 0x1c]
push dword [ecx + 0x642]
push eax
push edi
call fcn.004198d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
je 0x401dcf
push 0xe
push str.WLL_list
push edi
call fcn.0041fd10
add esp, 0xc
test eax, eax
jne 0x401dcf
lea esi, [edi + 0xe]
mov ecx, 0x101
movzx eax, word [esi]
mov dword [ebp - 0x10], eax
add eax, 0xffffa800
cmp ax, cx
ja 0x401dcf
push ebx
jmp 0x401dc4
push esi
call fcn.0041f670
pop ecx
lea edi, [eax + 1]
add edi, esi
mov dword [ebp - 0x14], edi
movzx edx, word [edi]
add edi, 4
test bl, 4
je 0x401da7
mov ecx, esi
call fcn.00401c10
mov eax, dword [ebp - 0x10]
mov ecx, 0x5800
cmp ax, cx
mov ecx, 0x5900
cmovbe edi, dword [ebp - 0x14]
cmp ax, cx
lea esi, [edi + 4]
cmovbe esi, edi
mov bl, byte [esi + 4]
add esi, 5
test bl, bl
jns 0x401d86
pop ebx
lea ecx, [ebp - 0x20]
call fcn.0040def7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x401de5
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xd8
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x64], eax
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x401ecf
call fcn.0042fe40
mov esi, esp
test esi, esi
je 0x401ecf
push edi
push 0
push esi
call fcn.00419e50
add esp, 0xc
push esi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x64]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x401ecf
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x70]
push eax
push 0x4458c8
push esi
call edi
test eax, eax
je 0x401ecf
mov ecx, dword [ebp + 0x70]
push str.VersionVI
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x64]
push 0x44588c
push eax
call fcn.004029e8
add esp, 0x14
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call edi
test eax, eax
jne 0x401eb8
push str.VersionVI
lea eax, [ebp - 0x64]
push 0x445850
push eax
call fcn.004029e8
add esp, 0xc
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call edi
test eax, eax
je 0x401ecf
push 0x14
push dword [ebp + 0x70]
push ebx
call fcn.0041fb54
xor eax, eax
add esp, 0xc
mov word [ebx + 0x26], ax
inc eax
jmp 0x401ed1
xor eax, eax
lea esp, [ebp - 0x70]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x401edc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push str.FRAMEWORK
push 0x84
push dword [0x4472d0]
mov dword [ebp - 4], ecx
call edi
push eax
push dword [0x4472d0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, eax
mov ecx, 0x4472bc
call fcn.0040ef74
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [0x4472bc]
xor ecx, ecx
test eax, eax
je 0x401f3b
cmp word [eax], cx
jne 0x401f4a
mov edx, 0x43a788
mov ecx, 0x4472bc
call fcn.0040ef74
mov ecx, 0x4472c8
call fcn.0040ef32
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041fae6
lea ecx, [ebp - 0x210]
call fcn.0040bd2b
push dword [ebp - 4]
lea eax, [ebp - 0x210]
push eax
call fcn.0041fb08
add esp, 0x10
lea ecx, [ebp - 0x210]
call fcn.0040bb6c
push str.FRAMEWORK
test eax, eax
je 0x401f99
push 0x85
jmp 0x401f9e
push 0x86
push dword [0x4472d0]
call edi
push eax
push dword [0x4472d0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, 0x4472c0
mov edx, eax
mov ecx, edi
call fcn.0040ef74
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [0x4472c0]
test eax, eax
je 0x401fe1
xor ecx, ecx
cmp word [eax], cx
jne 0x402001
lea ecx, [ebp - 0x210]
call fcn.0040bb6c
mov ecx, edi
mov edx, 0x43a918
test eax, eax
jne 0x401ffc
mov edx, str.Premier_lancement_de_lapplication._r_nLes
call fcn.0040ef74
pop edi
pop esi
leave
ret
Function at 0x4024d3
Capabilities:
Query or enumerate registry value

Disassembly:
xor edx, edx
push esi
inc edx
mov esi, ecx
call 0x4024f1
test eax, eax
je 0x4024e7
xor eax, eax
inc eax
pop esi
ret
mov ecx, esi
xor edx, edx
pop esi
jmp 0x4024f1
mov eax, 0x4302f2
call fcn.00430290
sub esp, 0x218
push esi
push edi
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push 0x80000001
mov edi, edx
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x4025f5
push 0x20a
lea eax, [ebp - 0x224]
push esi
push eax
call fcn.00419e50
add esp, 0xc
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push str.Program
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
js 0x4025ec
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
test edi, edi
je 0x402589
push ecx
push str.FrameworkWin32x86
mov edx, 0x105
lea ecx, [ebp - 0x224]
call fcn.0040e0aa
pop ecx
pop ecx
cmp word [ebp - 0x224], 0
je 0x4025e4
lea ecx, [ebp - 0x224]
call fcn.0040bf10
test eax, eax
je 0x4025e4
push 0x43a650
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x10]
push 0x43a730
push eax
call fcn.0040f523
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0040ef32
mov ecx, eax
call fcn.0040bee8
mov esi, eax
test esi, esi
je 0x4025e4
lea edx, [ebp - 0x224]
mov ecx, 0x4472c8
call fcn.0040ef74
lea ecx, [ebp - 0x10]
call fcn.0040eea9
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4024f1
Capabilities:
Query or enumerate registry value

Disassembly:
xor edx, edx
push esi
inc edx
mov esi, ecx
call 0x4024f1
test eax, eax
je 0x4024e7
xor eax, eax
inc eax
pop esi
ret
mov ecx, esi
xor edx, edx
pop esi
jmp 0x4024f1
mov eax, 0x4302f2
call fcn.00430290
sub esp, 0x218
push esi
push edi
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push 0x80000001
mov edi, edx
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x4025f5
push 0x20a
lea eax, [ebp - 0x224]
push esi
push eax
call fcn.00419e50
add esp, 0xc
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push str.Program
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
js 0x4025ec
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
test edi, edi
je 0x402589
push ecx
push str.FrameworkWin32x86
mov edx, 0x105
lea ecx, [ebp - 0x224]
call fcn.0040e0aa
pop ecx
pop ecx
cmp word [ebp - 0x224], 0
je 0x4025e4
lea ecx, [ebp - 0x224]
call fcn.0040bf10
test eax, eax
je 0x4025e4
push 0x43a650
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x10]
push 0x43a730
push eax
call fcn.0040f523
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0040ef32
mov ecx, eax
call fcn.0040bee8
mov esi, eax
test esi, esi
je 0x4025e4
lea edx, [ebp - 0x224]
mov ecx, 0x4472c8
call fcn.0040ef74
lea ecx, [ebp - 0x10]
call fcn.0040eea9
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40265c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x6c
mov eax, 0x43034a
call fcn.00430290
sub esp, 0x650
mov eax, dword [0x4472d4]
push ebx
push esi
add eax, 0x87c
mov esi, ecx
push edi
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.0041fae6
pop ecx
pop ecx
lea ecx, [ebp + 0x2c]
call fcn.0040dff6
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x64]
call fcn.0040ee68
push ecx
xor edi, edi
lea ecx, [ebp + 0x64]
push 0x43ace4
mov edx, 0x43ac24
mov dword [ebp - 4], edi
call fcn.0040f4df
lea ecx, [ebp + 0x64]
call fcn.0040ef32
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.0041fae6
xor ebx, ebx
lea eax, [ebp + 0x2c]
inc ebx
push ebx
push str.xxxxxxxxxx
push eax
call fcn.0041fd88
add esp, 0x14
test eax, eax
je 0x402866
mov ecx, 0x4472c8
call fcn.0040ef32
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0041fae6
lea ecx, [ebp - 0x244]
call fcn.0040bd2b
lea eax, [ebp - 0x244]
push esi
push eax
call fcn.0041fb08
add esp, 0xc
lea edx, [ebp]
lea ecx, [ebp - 0x244]
call fcn.00401de5
pop ecx
test eax, eax
je 0x402866
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x68]
call fcn.0040ee68
push ecx
push 0x43ace4
mov edx, 0x43ac24
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x68]
call fcn.0040f4df
lea ecx, [ebp + 0x68]
call fcn.0040ef32
push eax
lea eax, [ebp]
push eax
call fcn.0041fae6
push ebx
lea eax, [ebp]
push str.xxxxxxxxxx
push eax
call fcn.0041fd88
add esp, 0x14
test eax, eax
je 0x40285a
push 6
lea eax, [ebp + 0x32]
push eax
lea eax, [ebp + 6]
push eax
call fcn.0041fd88
add esp, 0xc
test eax, eax
jns 0x40285a
push 0x104
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x65c]
xor edx, edx
push edi
push eax
lea ecx, [ebp - 0x450]
call fcn.00402d4d
lea eax, [ebp - 0x65c]
push eax
push str.SOFTWAREPC_SOFTWINDEV25.0APPLI
lea eax, [ebp + 0x60]
push 0x43a730
push eax
call fcn.00402a02
add esp, 0x18
mov dword [ebp + 0x6c], edi
lea ecx, [ebp + 0x60]
call fcn.0040ef32
lea ecx, [ebp + 0x6c]
push ecx
push ebx
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402850
push 0x2a
pop eax
push eax
mov dword [ebp + 0x5c], eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00419e50
add esp, 0xc
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x58]
push eax
push edi
push str.LAST_FRAMEWORK
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402847
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x32]
push eax
call fcn.0041fb97
mov ebx, eax
neg ebx
pop ecx
sbb ebx, ebx
pop ecx
neg ebx
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x60]
call fcn.0040eea9
jmp 0x40285c
mov ebx, edi
lea ecx, [ebp + 0x68]
call fcn.0040eea9
jmp 0x402868
mov ebx, edi
lea ecx, [ebp + 0x64]
call fcn.0040eea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x70
leave
ret
Function at 0x4028dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x43ac28
mov edi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40292a
push str.SHGetSpecialFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402914
push 1
push 0x2b
push edi
push ebx
call eax
mov ebx, eax
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x40299a
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x402972
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
push edi
push ebx
push ebx
push str.CommonFilesDir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jns 0x40299a
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0xc
jne 0x40298d
push str.C:Program_FilesFichiers_communs
jmp 0x402992
push str.C:Program_FilesCommon_Files
push edi
call fcn.0041fae6
pop ecx
pop ecx
mov ecx, edi
call fcn.0040bd2b
push ecx
push str.PC_SOFT25.0Framework
mov edx, 0x104
mov ecx, edi
call fcn.0040e0aa
pop ecx
pop ecx
mov ecx, edi
call fcn.0040bd2b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4033aa
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4303ed
call fcn.00430290
sub esp, 0x214
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xc]
push eax
lea edi, [esi + 0x420]
push edi
call fcn.0041fae6
push str.WDUPDATE.NET
push edi
call fcn.0041fb08
add esp, 0x10
lea ebx, [esi + 0x834]
push edi
push 0
push str.RESEAU
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esi + 0xc48], 0
mov dword [ebp - 0x14], eax
je 0x40342d
push eax
push edi
push ebx
lea eax, [ebp - 0x10]
push str.100___Lecture_de_la_cl
push eax
call fcn.00402a02
add esp, 0x14
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040ef32
push eax
mov ecx, esi
call fcn.004032cc
lea ecx, [ebp - 0x10]
call fcn.0040eea9
push edi
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x43ace4
push str.PROTOCOLE
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x220]
push str.LOCAL
push eax
call fcn.0041fb97
pop ecx
pop ecx
test eax, eax
jne 0x40346a
and dword [esi + 0x11b0], eax
jmp 0x40348b
lea eax, [ebp - 0x220]
push str.HTTP
push eax
call fcn.0041fb97
pop ecx
pop ecx
test eax, eax
jne 0x403490
mov dword [esi + 0x11b0], 1
mov eax, dword [ebp - 0x14]
jmp 0x403492
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x404736
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4303ed
call fcn.00430290
mov eax, 0x2154
call fcn.00430260
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0041fae6
lea eax, [ebp - 0x21c]
push str.WDUPDATE.NET
push eax
call fcn.0041fb08
add esp, 0x10
lea eax, [ebp - 0x21c]
lea ebx, [esi + 0x834]
push eax
push 0
push str.INSTALLENCOURS
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esi + 0xc48], 0
mov edi, eax
je 0x4047ca
push edi
lea eax, [ebp - 0x10]
push str.125___Lecture_du_flag_dinstall_en_cours_:__i
push eax
call fcn.00402a02
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040ef32
push eax
mov ecx, esi
call fcn.004032cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040eea9
cmp edi, 1
jne 0x404825
lea eax, [ebp - 0x21c]
push eax
push 0xfa0
lea eax, [ebp - 0x2160]
push eax
push 0
push str.MSG_INSTALLENCOURS
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x404807
lea eax, [ebp - 0x2160]
push str.La_pr
push eax
call fcn.0041fae6
pop ecx
pop ecx
push 0x24
push ebx
lea eax, [ebp - 0x2160]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x404825
mov ecx, esi
call fcn.004044b4
mov ecx, dword [ebp - 0xc]
xor eax, eax
test edi, edi
mov dword fs:[0], ecx
pop edi
pop esi
setne al
pop ebx
leave
ret

Function at 0x40483b
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x11ac]
test ecx, ecx
je 0x404878
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x11ac]
test ecx, ecx
je 0x40485d
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0xfa0]
call fcn.0040bb6c
test eax, eax
je 0x404878
lea ecx, [esi + 0xfa0]
pop esi
jmp fcn.0040b933
pop esi
ret

Function at 0x40487a
Capabilities:
Create mailslot

Disassembly:
mov eax, 0x4303ed
call fcn.00430290
sub esp, 0x210
lea eax, [ebp - 0x21c]
push ebx
push esi
push 0x20a
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.00419e50
lea eax, [esi + 0x834]
push eax
lea eax, [ebp - 0x21c]
push str..mailslot_s
push eax
call fcn.004029e8
add esp, 0x18
lea eax, [ebp - 0x21c]
push ebx
push 0xffffffffffffffff
push 0x2000
push eax
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov ecx, eax
mov dword [esi + 0xf9c], ecx
cmp ecx, 0xffffffff
jne 0x404921
or ecx, eax
cmp dword [esi + 0xc48], ebx
je 0x404921
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.Echec_de_la_cr
push eax
call fcn.00402a02
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040ef32
push eax
mov ecx, esi
call fcn.004032cc
lea ecx, [ebp - 0x10]
call fcn.0040eea9
mov ecx, dword [esi + 0xf9c]
xor eax, eax
cmp ecx, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
setne al
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x404937
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4304e1
call fcn.00430290
sub esp, 0x658
lea eax, [ebp - 0x24c]
push ebx
push esi
push edi
mov esi, ecx
push str.INST.WXF
lea edi, [esi + 0x216]
push edi
push str._s_s
push eax
call fcn.004029e8
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
push 0x14
lea eax, [ebp - 0x40]
push eax
push 0x43ace4
push 0x43c6c4
push 0x43c6cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x40]
push str.WXF7
push eax
call fcn.0041fb97
pop ecx
pop ecx
test eax, eax
jne 0x404a62
xor ebx, ebx
cmp dword [esi + 0xc48], ebx
je 0x4049bc
push str.132___Retour
mov ecx, esi
call fcn.004032cc
mov ecx, edi
call fcn.0040bd2b
push edi
lea eax, [ebp - 0x664]
push str.__sWDSETUP7.EXE_
push eax
call fcn.004029e8
push edi
lea eax, [ebp - 0x458]
push str._REP_s
push eax
call fcn.004029e8
add esp, 0x14
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x664]
push edi
call fcn.004127ad
pop ecx
pop ecx
test eax, eax
jne 0x404a73
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [esi + 0xc48], ebx
je 0x404a59
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push str.Impossible_de_lancer_lapplication_de_contr
push eax
call fcn.00402a02
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040ef32
push eax
mov ecx, esi
call fcn.004032cc
lea ecx, [ebp - 0x14]
call fcn.0040eea9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x404a64
Function at 0x404caa
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x2dc
lea eax, [ebp - 0x270]
cmp dword [ebp + 0x7c], 0
push ebx
push esi
push edi
jne 0x404cd4
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x404cdf
push dword [ebp + 0x7c]
push eax
call fcn.0041fae6
pop ecx
pop ecx
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x404dc1
call fcn.0042fe40
mov esi, esp
test esi, esi
je 0x404dc1
push edi
push 0
push esi
call fcn.00419e50
add esp, 0xc
lea eax, [ebp - 0x270]
push esi
push edi
push dword [ebp + 0x64]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x404dc1
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x7c]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x404dc1
mov ecx, dword [ebp + 0x7c]
mov ebx, 0x43cae8
push ebx
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x64]
push str.StringFileInfo_04X_04X_s
push eax
call fcn.004029e8
add esp, 0x14
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call edi
test eax, eax
jne 0x404da4
push ebx
lea eax, [ebp - 0x64]
push str.StringFileInfo040904E4_s
push eax
call fcn.004029e8
add esp, 0xc
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call edi
test eax, eax
je 0x404dc1
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x74]
push edi
push dword [ebp + 0x7c]
push esi
call fcn.0041fb54
xor eax, eax
add esp, 0xc
mov word [esi + edi*2 - 2], ax
inc eax
jmp 0x404dc3
xor eax, eax
lea esp, [ebp - 0x27c]
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc

Function at 0x404dd3
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
mov edi, ecx
xor edx, edx
mov eax, dword [edi + 0x11b0]
sub eax, edx
je 0x404e5b
sub eax, 1
je 0x404def
xor eax, eax
jmp 0x404e78
lea ecx, [edi + 0x1424]
mov eax, dword [ecx]
test eax, eax
je 0x404e07
cmp word [eax], dx
je 0x404e07
call fcn.0040ef32
jmp 0x404e61
mov esi, dword [esp + 0xc]
lea eax, [edi + 0x420]
push eax
push 0x104
push esi
push 0x43ace4
push str.INSTLOCAL
lea eax, [edi + 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
call fcn.0041fb39
pop ecx
test eax, eax
jne 0x404e6e
lea eax, [edi + 0xc]
push eax
push esi
call fcn.0041fae6
mov ecx, esi
call fcn.0040bd2b
push str.INSTALL
push esi
call fcn.0041fb08
add esp, 0x10
jmp 0x404e6e
lea eax, [edi + 0x216]
mov esi, dword [esp + 0xc]
push eax
push esi
call fcn.0041fae6
pop ecx
pop ecx
mov ecx, esi
call fcn.0040bd2b
xor eax, eax
inc eax
pop edi
pop esi
ret 4