joyce8/EMBER2024-capa huggingface dataset:
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, 0x4301b0
call fcn.00430150
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.00419d10
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.0040e11e
pop ecx
pop ecx
cmp word [ebp - 0x224], 0
je 0x4025e4
lea ecx, [ebp - 0x224]
call fcn.0040bf89
test eax, eax
je 0x4025e4
push 0x43a650
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x10]
push 0x43a730
push eax
call fcn.0040f56f
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0040ef7e
mov ecx, eax
call fcn.0040bf61
mov esi, eax
test esi, esi
je 0x4025e4
lea edx, [ebp - 0x224]
mov ecx, 0x4472c8
call fcn.0040efc0
lea ecx, [ebp - 0x10]
call fcn.0040eef5
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, 0x430208
call fcn.00430150
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.0041f9a6
pop ecx
pop ecx
lea ecx, [ebp + 0x2c]
call fcn.0040e06a
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x64]
call fcn.0040eeb4
push ecx
xor edi, edi
lea ecx, [ebp + 0x64]
push 0x43ace4
mov edx, 0x43ac24
mov dword [ebp - 4], edi
call fcn.0040f52b
lea ecx, [ebp + 0x64]
call fcn.0040ef7e
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.0041f9a6
xor ebx, ebx
lea eax, [ebp + 0x2c]
inc ebx
push ebx
push str.xxxxxxxxxx
push eax
call fcn.0041fc48
add esp, 0x14
test eax, eax
je 0x402866
mov ecx, 0x4472c8
call fcn.0040ef7e
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0041f9a6
lea ecx, [ebp - 0x244]
call fcn.0040bda4
lea eax, [ebp - 0x244]
push esi
push eax
call fcn.0041f9c8
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.0040eeb4
push ecx
push 0x43ace4
mov edx, 0x43ac24
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x68]
call fcn.0040f52b
lea ecx, [ebp + 0x68]
call fcn.0040ef7e
push eax
lea eax, [ebp]
push eax
call fcn.0041f9a6
push ebx
lea eax, [ebp]
push str.xxxxxxxxxx
push eax
call fcn.0041fc48
add esp, 0x14
test eax, eax
je 0x40285a
push 6
lea eax, [ebp + 0x32]
push eax
lea eax, [ebp + 6]
push eax
call fcn.0041fc48
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.0040ef7e
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.00419d10
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.0041fa57
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.0040eef5
jmp 0x40285c
mov ebx, edi
lea ecx, [ebp + 0x68]
call fcn.0040eef5
jmp 0x402868
mov ebx, edi
lea ecx, [ebp + 0x64]
call fcn.0040eef5
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.0041f9a6
pop ecx
pop ecx
mov ecx, edi
call fcn.0040bda4
push ecx
push str.PC_SOFT25.0Framework
mov edx, 0x104
mov ecx, edi
call fcn.0040e11e
pop ecx
pop ecx
mov ecx, edi
call fcn.0040bda4
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4033aa
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4302ab
call fcn.00430150
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.0041f9a6
push str.WDUPDATE.NET
push edi
call fcn.0041f9c8
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.0040ef7e
push eax
mov ecx, esi
call fcn.004032cc
lea ecx, [ebp - 0x10]
call fcn.0040eef5
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.0041fa57
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.0041fa57
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 0x404748
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4302ab
call fcn.00430150
mov eax, 0x2154
call fcn.00430120
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0041f9a6
lea eax, [ebp - 0x21c]
push str.WDUPDATE.NET
push eax
call fcn.0041f9c8
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 0x4047dc
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.0040ef7e
push eax
mov ecx, esi
call fcn.004032cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040eef5
cmp edi, 1
jne 0x404837
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 0x404819
lea eax, [ebp - 0x2160]
push str.La_pr
push eax
call fcn.0041f9a6
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 0x404837
mov ecx, esi
call fcn.004044c6
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 0x40484d
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x11ac]
test ecx, ecx
je 0x40488a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x11ac]
test ecx, ecx
je 0x40486f
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0xfa0]
call fcn.0040bbe5
test eax, eax
je 0x40488a
lea ecx, [esi + 0xfa0]
pop esi
jmp fcn.0040b98c
pop esi
ret

Function at 0x40488c
Capabilities:
Create mailslot

Disassembly:
mov eax, 0x4302ab
call fcn.00430150
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.00419d10
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 0x404933
or ecx, eax
cmp dword [esi + 0xc48], ebx
je 0x404933
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.0040ef7e
push eax
mov ecx, esi
call fcn.004032cc
lea ecx, [ebp - 0x10]
call fcn.0040eef5
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 0x404949
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x43039f
call fcn.00430150
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.0041fa57
pop ecx
pop ecx
test eax, eax
jne 0x404a74
xor ebx, ebx
cmp dword [esi + 0xc48], ebx
je 0x4049ce
push str.132___Retour
mov ecx, esi
call fcn.004032cc
mov ecx, edi
call fcn.0040bda4
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.004127c1
pop ecx
pop ecx
test eax, eax
jne 0x404a85
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 0x404a6b
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.0040ef7e
push eax
mov ecx, esi
call fcn.004032cc
lea ecx, [ebp - 0x14]
call fcn.0040eef5
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 0x404a76
Function at 0x404cbc
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 0x404ce6
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x404cf1
push dword [ebp + 0x7c]
push eax
call fcn.0041f9a6
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 0x404dd3
call fcn.0042fd00
mov esi, esp
test esi, esi
je 0x404dd3
push edi
push 0
push esi
call fcn.00419d10
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 0x404dd3
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 0x404dd3
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 0x404db6
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 0x404dd3
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x74]
push edi
push dword [ebp + 0x7c]
push esi
call fcn.0041fa14
xor eax, eax
add esp, 0xc
mov word [esi + edi*2 - 2], ax
inc eax
jmp 0x404dd5
xor eax, eax
lea esp, [ebp - 0x27c]
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc

Function at 0x404de5
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
mov edi, ecx
xor edx, edx
mov eax, dword [edi + 0x11b0]
sub eax, edx
je 0x404e6d
sub eax, 1
je 0x404e01
xor eax, eax
jmp 0x404e8a
lea ecx, [edi + 0x1424]
mov eax, dword [ecx]
test eax, eax
je 0x404e19
cmp word [eax], dx
je 0x404e19
call fcn.0040ef7e
jmp 0x404e73
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.0041f9f9
pop ecx
test eax, eax
jne 0x404e80
lea eax, [edi + 0xc]
push eax
push esi
call fcn.0041f9a6
mov ecx, esi
call fcn.0040bda4
push str.INSTALL
push esi
call fcn.0041f9c8
add esp, 0x10
jmp 0x404e80
lea eax, [edi + 0x216]
mov esi, dword [esp + 0xc]
push eax
push esi
call fcn.0041f9a6
pop ecx
pop ecx
mov ecx, esi
call fcn.0040bda4
xor eax, eax
inc eax
pop edi
pop esi
ret 4
Function at 0x405936
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4302ab
call fcn.00430150
sub esp, 0x424
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, ecx
push edi
mov dword [ebp - 0x18], eax
lea edi, [eax + 0x420]
push edi
push 0x104
lea ecx, [eax + 0x216]
push ecx
push 0x43ace4
lea ebx, [eax + 0x834]
mov dword [ebp - 0x14], ecx
push 0x43c1d0
push ebx
call esi
push edi
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0x43ace4
push 0x43c1e0
push ebx
call esi
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x14]
call fcn.0041f9c8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040bda4
push edi
push 0x104
lea eax, [ebp - 0x430]
mov edi, str.WDUPDATE.NET
push eax
push edi
push str.FICUPDATE
push ebx
call esi
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 0x216]
lea esi, [eax + 0x62a]
push ebx
push esi
call fcn.0041f9a6
lea eax, [ebp - 0x430]
push eax
push esi
call fcn.0041f9c8
add esp, 0x10
mov ecx, esi
call fcn.0040bbe5
test eax, eax
jne 0x405a3f
push edi
push ebx
lea eax, [ebp - 0x10]
push str._s_s
push eax
call fcn.00402a02
add esp, 0x10
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040ef7e
mov ecx, eax
call fcn.0040bbe5
test eax, eax
je 0x405a37
lea ecx, [ebp - 0x10]
call fcn.0040ef7e
push eax
push esi
call fcn.0041f9a6
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040eef5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405d28
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [ecx + 0x11b9], 0
push ebx
push esi
push edi
jne 0x405dbf
lea esi, [ecx + 0x420]
push esi
push 0
lea edi, [ecx + 0x834]
push str.DELAICHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 9
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push 0x43ace4
push str.LASTCHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x30]
call fcn.00406227
test ebx, ebx
jle 0x405dbf
cmp word [ebp - 0x1c], 0
je 0x405dbf
and dword [ebp - 4], 0
lea edx, [ebp - 4]
lea ecx, [ebp - 0x30]
call fcn.00406256
and dword [ebp - 8], 0
lea edx, [ebp - 8]
lea ecx, [ebp - 0x1c]
call fcn.00406256
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
cmp eax, ebx
jl 0x405dc7
push esi
lea eax, [ebp - 0x30]
push eax
push str.LASTCHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x405dc2
Function at 0x405dcb
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
push ebx
push edi
mov edi, ecx
lea ebx, [edi + 0x62a]
mov ecx, ebx
mov dword [esp + 8], ebx
call fcn.0040bbe5
test eax, eax
je 0x405e52
push ebp
push esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x18]
push 0x104
push eax
push 0x43cd9c
mov esi, str.DELAICHECKVERSION
lea ebp, [edi + 0x834]
push esi
push ebp
call ebx
add edi, 0x420
lea eax, [esp + 0x14]
push edi
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebp
call esi
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0x104
push eax
push 0x43cd9c
push str.SILENTCHECKVERSION
push ebp
call ebx
push edi
lea eax, [esp + 0x18]
push eax
push str.SILENTCHECKVERSION
push ebp
call esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x210
ret

Function at 0x406729
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
cmp word [ecx], 0
je 0x40674d
push ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x40674f
xor eax, eax
pop ebp
ret 0x14

Function at 0x406ce7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4471d8]
push ebx
push esi
push edi
and dword [eax + 0xc], 0
push 0x3e9
push dword [eax + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
mov ecx, esi
call fcn.0040e147
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 4]
push edi
lea ecx, [esi + 0x10]
call fcn.00405ee7
push edi
call fcn.0042008d
mov dword [esp], 0x3ea
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
mov ecx, esi
call fcn.0040e147
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [ebp - 4]
push edi
lea ecx, [ebx + 0x14]
call fcn.00405ee7
push edi
call fcn.0042008d
pop ecx
push 0
push 0
push 2
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406ef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4304dd
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
call fcn.0040723d
lea ecx, [esi + 0x30]
call fcn.0040fc2d
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x20]
call fcn.004066ac
mov dword [esi + 0x20], edi
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x1c]
call fcn.004066ac
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x18]
call fcn.004066ac
mov dword [esi + 0x18], edi
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x14]
call fcn.004066ac
mov dword [esi + 0x14], edi
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x10]
call fcn.004066ac
mov dword [esi + 0x10], edi
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0xc]
call fcn.004066ac
mov dword [esi + 0xc], edi
mov dword [ebp - 4], 6
mov ecx, dword [esi + 4]
call fcn.004066ac
mov dword [esi + 4], edi
mov dword [ebp - 4], 7
mov ecx, dword [esi]
call fcn.004066ac
mov ecx, dword [ebp - 0xc]
mov dword [esi], edi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x406fb3
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4304f7
call fcn.00430150
sub esp, 0x210
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
mov edi, dword [ebp + 0xc]
push ebx
push 0x104
push eax
push 0x43ace4
push 0x43c1d0
push edi
mov dword [ebp - 0x10], ecx
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [eax + 4]
call fcn.00405ee7
push ebx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x43ace4
push 0x43c1e0
push edi
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ecx + 0x20]
call fcn.00405ee7
mov ecx, dword [ebp - 0x10]
push str.PC_SOFT
lea ecx, [ecx + 0xc]
call fcn.00405ee7
push ebx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x43cd9c
push 0x43dd3c
push edi
call esi
push 0x30
pop ecx
xor eax, eax
cmp word [ebp - 0x21c], cx
mov ecx, dword [ebp - 0x10]
push ebx
setne al
push 0x104
mov dword [ecx + 0x28], eax
lea eax, [ebp - 0x21c]
push eax
push 0x43cd9c
push str.HTTPSECURE
push edi
call esi
mov ebx, dword [ebp - 0x10]
xor eax, eax
push 0x30
pop ecx
cmp word [ebp - 0x21c], cx
mov ecx, ebx
setne al
mov dword [ebp + 0xc], eax
je 0x4070a6
push str.HTTPS
jmp 0x4070ab
push str.HTTP
call fcn.00405ee7
xor edi, edi
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
mov dword [ebp - 4], edi
push eax
push 0x43dd38
lea esi, [ebx + 4]
push 1
mov ecx, esi
call fcn.0040604d
test eax, eax
je 0x407111
push esi
lea ecx, [ebp + 0xc]
call fcn.00405f42
push esi
push 0x43dd38
push edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040604d
cmp dword [ebp + 8], edi
mov eax, 0x43ace4
cmovne eax, dword [ebp + 8]
push eax
call fcn.00420aa9
pop ecx
mov dword [ebx + 8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
call fcn.004066ac
jmp 0x407123
cmp dword [ebp + 0xc], 0
mov ecx, 0x1bb
push 0x50
pop eax
cmovne eax, ecx
mov dword [ebx + 8], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp + 8]
call fcn.004066ac
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8