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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x439448
mov esi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x412baf
push str.SHGetSpecialFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412b95
push 1
push 0x2b
push esi
push ebx
call eax
mov ebx, eax
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x412c3e
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 0x412bfa
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
push esi
push ebx
push ebx
push str.CommonFilesDir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
setns bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x412c3e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
mov edx, esi
and ax, cx
cmp ax, 0xc
jne 0x412c28
mov ecx, str.C:Program_FilesFichiers_communs
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x412c17
jmp 0x412c3e
mov ecx, str.C:Program_FilesCommon_Files
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x412c2f
mov ecx, esi
call fcn.0040755f
push ecx
push str.PC_SOFT23.0Framework
mov edx, 0x104
mov ecx, esi
call fcn.0040a570
pop ecx
pop ecx
mov ecx, esi
call fcn.0040755f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412fc3
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42f3fd
call fcn.0042ef64
sub esp, 0x214
push ebx
mov ebx, ecx
push esi
lea edx, [ebx + 0x420]
lea ecx, [ebx + 0xc]
mov esi, edx
sub esi, ecx
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x412fe4
push edi
lea edi, [edx - 2]
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x412ff9
push 6
pop ecx
mov esi, str.WDUPDATE.NET
rep movsd dword es:[edi], dword [esi]
push edx
push 0
push str.RESEAU
movsw word es:[edi], word [esi]
lea edi, [ebx + 0x834]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebx + 0xc48], 0
lea esi, [ebx + 0x420]
mov dword [ebp - 0x14], eax
je 0x413067
push eax
push esi
push edi
lea eax, [ebp - 0x10]
push str.100___Lecture_de_la_cl
push eax
call fcn.00402d4f
add esp, 0x14
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040b37e
push eax
mov ecx, ebx
call fcn.00412ee3
lea ecx, [ebp - 0x10]
call fcn.0040b313
push esi
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x4368b0
push str.PROTOCOLE
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x220]
push str.LOCAL
push eax
call fcn.0041c2a7
pop ecx
pop ecx
pop edi
test eax, eax
jne 0x4130a5
and dword [ebx + 0x11b0], eax
jmp 0x4130c6
lea eax, [ebp - 0x220]
push str.HTTP
push eax
call fcn.0041c2a7
pop ecx
pop ecx
test eax, eax
jne 0x4130cb
mov dword [ebx + 0x11b0], 1
mov eax, dword [ebp - 0x14]
jmp 0x4130cd
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x414382
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42f3fd
call fcn.0042ef64
mov eax, 0x2158
call fcn.0042d240
push ebx
mov ebx, ecx
push esi
lea esi, [ebp - 0x220]
push edi
lea edx, [ebx + 0xc]
sub esi, edx
movzx eax, word [edx]
mov word [esi + edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4143a6
lea edi, [ebp - 0x220]
sub edi, 2
xor edx, edx
mov ax, word [edi + 2]
add edi, 2
cmp ax, dx
jne 0x4143c0
push 6
pop ecx
mov esi, str.WDUPDATE.NET
lea eax, [ebp - 0x220]
rep movsd dword es:[edi], dword [esi]
push eax
push edx
push str.INSTALLENCOURS
movsw word es:[edi], word [esi]
lea edi, [ebx + 0x834]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebx + 0xc48], 0
mov esi, eax
mov dword [ebp - 0x14], esi
je 0x414431
push esi
lea eax, [ebp - 0x10]
push str.125___Lecture_du_flag_dinstall_en_cours_:__i
push eax
call fcn.00402d4f
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040b37e
push eax
mov ecx, ebx
call fcn.00412ee3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040b313
cmp esi, 1
jne 0x414494
lea eax, [ebp - 0x220]
push eax
push 0xfa0
lea eax, [ebp - 0x2164]
push eax
push 0
push str.MSG_INSTALLENCOURS
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x414476
mov ecx, 0x87
lea edi, [ebp - 0x2164]
mov esi, str.La_pr
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x834]
push 0x24
push edi
lea eax, [ebp - 0x2164]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x414494
mov ecx, ebx
call fcn.004140bf
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
test esi, esi
mov dword fs:[0], ecx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4144ac
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x11ac]
test ecx, ecx
je 0x4144e9
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x11ac]
test ecx, ecx
je 0x4144ce
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0xfa0]
call fcn.00407388
test eax, eax
je 0x4144e9
lea ecx, [esi + 0xfa0]
pop esi
jmp fcn.00407126
pop esi
ret

Function at 0x4144eb
Capabilities:
Create mailslot

Disassembly:
mov eax, 0x42f3fd
call fcn.0042ef64
sub esp, 0x210
lea eax, [ebp - 0x21c]
push esi
push edi
push 0x20a
xor edi, edi
mov esi, ecx
push edi
push eax
call fcn.0041b200
lea eax, [esi + 0x834]
push eax
lea eax, [ebp - 0x21c]
push str..mailslot_s
push eax
call fcn.00405699
add esp, 0x18
lea eax, [ebp - 0x21c]
push edi
push 0xffffffffffffffff
push 0x2000
push eax
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov dword [esi + 0xf9c], eax
cmp eax, 0xffffffff
jne 0x414588
cmp dword [esi + 0xc48], edi
je 0x414588
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.Echec_de_la_cr
push eax
call fcn.00402d4f
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0040b37e
push eax
mov ecx, esi
call fcn.00412ee3
lea ecx, [ebp - 0x10]
call fcn.0040b313
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp dword [esi + 0xf9c], 0xffffffff
pop edi
setne al
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4145a4
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42f507
call fcn.0042ef64
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 0x436988
push eax
call fcn.00405699
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
push 0x14
lea eax, [ebp - 0x40]
push eax
push 0x4368b0
push 0x43b42c
push 0x43b434
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x40]
push str.WXF7
push eax
call fcn.0041c2a7
pop ecx
pop ecx
test eax, eax
jne 0x4146cf
xor ebx, ebx
cmp dword [esi + 0xc48], ebx
je 0x414629
push str.132___Retour
mov ecx, esi
call fcn.00412ee3
mov ecx, edi
call fcn.0040755f
push edi
lea eax, [ebp - 0x664]
push str.__sWDSETUP7.EXE_
push eax
call fcn.00405699
push edi
lea eax, [ebp - 0x458]
push str._REP_s
push eax
call fcn.00405699
add esp, 0x14
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x664]
push edi
call fcn.00417bb3
pop ecx
pop ecx
test eax, eax
jne 0x4146e2
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 0x4146c6
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push 0x43a0b8
push eax
call fcn.00402d4f
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040b37e
push eax
mov ecx, esi
call fcn.00412ee3
lea ecx, [ebp - 0x14]
call fcn.0040b313
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
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x4146d1
Function at 0x4149a5
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
mov ecx, dword [ebp + 0x7c]
sub esp, 0x2dc
push ebx
push esi
push edi
test ecx, ecx
jne 0x4149cf
push 0x104
lea eax, [ebp - 0x270]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4149e6
lea edx, [ebp - 0x270]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4149d7
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
jne 0x414a04
xor eax, eax
jmp 0x414ac7
mov eax, edi
call fcn.0042cfb0
mov esi, esp
test esi, esi
je 0x4149fd
push edi
push 0
push esi
call fcn.0041b200
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 0x4149fd
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 0x4149fd
mov ecx, dword [ebp + 0x7c]
mov ebx, 0x43b850
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.00405699
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 0x414aac
push ebx
lea eax, [ebp - 0x64]
push str.StringFileInfo040904E4_s
push eax
call fcn.00405699
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 0x4149fd
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x74]
push edi
push dword [ebp + 0x7c]
push esi
call fcn.0041bec7
xor eax, eax
add esp, 0xc
mov word [esi + edi*2 - 2], ax
inc eax
lea esp, [ebp - 0x27c]
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x6c]
pop ebp
ret 0xc
Function at 0x414ad7
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov eax, dword [esi + 0x11b0]
sub eax, ebp
je 0x414ba1
sub eax, 1
je 0x414af8
xor eax, eax
jmp 0x414bc8
lea ecx, [esi + 0x141c]
mov eax, dword [ecx]
test eax, eax
je 0x414b2a
cmp word [eax], bp
je 0x414b2a
call fcn.0040b37e
mov ebx, dword [esp + 0x10]
mov edx, ebx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x414b16
jmp 0x414bbe
mov ebx, dword [esp + 0x10]
lea eax, [esi + 0x420]
push eax
push 0x104
push ebx
push 0x4368b0
push str.INSTLOCAL
lea eax, [esi + 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x414b57
sub ecx, edx
sar ecx, 1
jne 0x414bbe
add esi, 0xc
mov ecx, ebx
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x414b6f
push edi
mov ecx, ebx
call fcn.0040755f
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x414b89
mov esi, str.INSTALL
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
jmp 0x414bbe
mov ebx, dword [esp + 0x10]
lea ecx, [esi + 0x216]
mov edx, ebx
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x414baf
mov ecx, ebx
call fcn.0040755f
xor eax, eax
inc eax
pop esi
pop ebp
pop ebx
ret 4
Function at 0x415676
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42f3fd
call fcn.0042ef64
sub esp, 0x420
push ebx
push esi
push edi
mov ebx, ecx
lea edi, [ebx + 0x420]
push edi
push 0x104
lea esi, [ebx + 0x216]
push esi
push 0x4368b0
lea eax, [ebx + 0x834]
mov dword [ebp - 0x14], esi
push 0x43af38
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x4368b0
push 0x43af48
lea eax, [ebx + 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x220]
xor edi, edi
mov ecx, edx
mov dword [ebp - 0x10], ecx
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x4156e9
sub edx, ecx
lea edi, [esi - 2]
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x4156fb
mov esi, dword [ebp - 0x10]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x216]
mov ecx, esi
call fcn.0040755f
lea eax, [ebx + 0x420]
push eax
push 0x104
lea eax, [ebp - 0x42c]
push eax
push str.WDUPDATE.NET
push str.FICUPDATE
lea eax, [ebx + 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add ebx, 0x62a
mov ecx, esi
mov edx, ebx
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x41575b
lea edx, [ebp - 0x42c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x415774
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x415784
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00407388
test eax, eax
jne 0x4157f5
push str.WDUPDATE.NET
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x436988
push eax
call fcn.00402d4f
add esp, 0x10
xor ecx, ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x10]
call fcn.0040b37e
mov esi, eax
mov ecx, eax
call fcn.00407388
test eax, eax
je 0x4157ed
sub ebx, esi
movzx eax, word [esi]
mov word [ebx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x4157de
lea ecx, [ebp - 0x10]
call fcn.0040b313
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x415ae0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
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 0x4368b0
push str.LASTCHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x30]
call fcn.00415dcf
test ebx, ebx
jle 0x415b6a
cmp word [ebp - 0x1c], 0
je 0x415b6a
and dword [ebp - 4], 0
lea edx, [ebp - 4]
lea ecx, [ebp - 0x30]
call fcn.00415e00
and dword [ebp - 8], 0
lea edx, [ebp - 8]
lea ecx, [ebp - 0x1c]
call fcn.00415e00
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
cmp eax, ebx
jl 0x415b74
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
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x415b6d

Function at 0x415b78
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.00407388
test eax, eax
je 0x415bff
push ebp
push esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x18]
push 0x104
push eax
push 0x43bafc
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 0x43bafc
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 0x41614e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4422b0]
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.0040a5a0
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.0040c8cd
push edi
call fcn.0041c21f
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.0040a5a0
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.0040c8cd
push edi
call fcn.0041c21f
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
mov esp, ebp
pop ebp
ret
Function at 0x4172a5
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42f6bf
call fcn.0042ef64
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 0x4368b0
push 0x43af38
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.0040c8cd
push ebx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x4368b0
push 0x43af48
push edi
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ecx + 0x20]
call fcn.0040c8cd
mov ecx, dword [ebp - 0x10]
push 0x437998
lea ecx, [ecx + 0xc]
call fcn.0040c8cd
push ebx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x43bafc
push 0x43bbdc
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 0x43bafc
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
test eax, eax
je 0x41739a
push str.HTTPS
jmp 0x41739f
push str.HTTP
call fcn.0040c8cd
xor edi, edi
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
mov dword [ebp - 4], edi
push eax
push 0x43bbd8
lea esi, [ebx + 4]
push 1
mov ecx, esi
call fcn.00415c94
test eax, eax
je 0x417409
push esi
lea ecx, [ebp + 0xc]
call fcn.0040c86a
push esi
push 0x43bbd8
push edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00415c94
cmp dword [ebp + 8], edi
mov eax, 0x4368b0
cmovne eax, dword [ebp + 8]
push eax
call fcn.0041f12f
pop ecx
mov dword [ebx + 8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41741b
call fcn.00405ca7
jmp 0x41741b
cmp dword [ebp + 0xc], 0
mov ecx, 0x1bb
push 0x50
pop eax
cmovne eax, ecx
mov dword [ebx + 8], eax
pop edi
mov dword [ebp - 4], 3
mov ecx, dword [ebp + 8]
pop esi
pop ebx
test ecx, ecx
je 0x417431
call fcn.00405ca7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x41794d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
mov esi, 0x11c
lea eax, [ebp - 0x11c]
push esi
push 0
push eax
call fcn.0041b200
add esp, 0xc
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x118], 6
pop esi
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x417990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x3c], 0x3c
mov esi, edx
mov dword [ebp - 0x38], 0x440
push edi
mov edi, ecx
cmp dword [ebp + 0x28], ebx
je 0x4179b7
mov dword [ebp - 0x34], ebx
jmp 0x4179c0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [ebp - 0x2c], edi
cmp dword [ebp + 0x30], ecx
mov eax, 0x43bc60
xorps xmm0, xmm0
mov dword [ebp - 0x28], esi
cmove eax, ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x20]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
movzx eax, word [eax + 0x30]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x417a0f
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret
Function at 0x417a13
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x44
pop edi
xor eax, eax
mov ebx, edx
push edi
push eax
mov dword [ebp - 4], eax
mov esi, ecx
lea eax, [ebp - 0x58]
push eax
call fcn.0041b200
xor eax, eax
mov dword [ebp - 0x58], edi
inc eax
lea edi, [ebp - 0x14]
mov word [ebp - 0x28], ax
add esp, 0xc
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x14], edi
call fcn.0041794d
test eax, eax
je 0x417a7d
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
mov edx, ebx
push ecx
push dword [ebp + 0xc]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 8]
sub esp, 0x14
call fcn.00417990
add esp, 0x2c
jmp 0x417b92
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x417a82
sub ecx, edx
mov edx, ebx
sar ecx, 1
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 4]
jne 0x417a96
sub edx, edi
sar edx, 1
lea eax, [edx + ecx]
lea eax, [eax*2 + 4]
call fcn.0042cfb0
mov edx, esp
mov ecx, edx
mov dword [ebp - 4], edx
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x417abe
lea edi, [edx - 2]
xor ecx, ecx
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, cx
jne 0x417ad2
mov eax, dword [0x4379c0]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
cmp ax, cx
jne 0x417ae7
sub ebx, esi
lea edi, [edx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x417af7
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
test esi, esi
je 0x417b38
cmp word [esi], bx
je 0x417b38
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x417b24
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
jmp 0x417b3b
xor eax, eax
inc eax
add eax, eax
call fcn.0042cfb0
mov edi, esp
test esi, esi
je 0x417b5f
mov edx, edi
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x417b4e
jmp 0x417b64
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
xor eax, eax
test esi, esi
cmovne eax, edi
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x10], 0
je 0x417b92
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42809f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00427d5f