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

Disassembly:
push ebp
sub esp, 0x6c
mov eax, 0x431375
call fcn.00431294
sub esp, 0x650
mov eax, dword [0x44a544]
push ebx
push esi
add eax, 0x87c
mov esi, ecx
push edi
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.004206c4
pop ecx
pop ecx
lea ecx, [ebp + 0x2c]
call fcn.0040ec7e
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x64]
call fcn.0040fa35
push ecx
xor edi, edi
lea ecx, [ebp + 0x64]
push 0x43c0dc
mov edx, 0x43c01c
mov dword [ebp - 4], edi
call fcn.0041024e
lea ecx, [ebp + 0x64]
call fcn.0040fb1f
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.004206c4
xor ebx, ebx
lea eax, [ebp + 0x2c]
inc ebx
push ebx
push str.xxxxxxxxxx
push eax
call fcn.00420da7
add esp, 0x14
test eax, eax
je 0x402c5e
mov ecx, 0x44a538
call fcn.0040fb1f
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.004206c4
lea ecx, [ebp - 0x244]
call fcn.0040c93f
lea eax, [ebp - 0x244]
push esi
push eax
call fcn.004206e6
add esp, 0xc
lea edx, [ebp]
lea ecx, [ebp - 0x244]
call fcn.004021ec
pop ecx
test eax, eax
je 0x402c5e
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x68]
call fcn.0040fa35
push ecx
push 0x43c0dc
mov edx, 0x43c01c
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x68]
call fcn.0041024e
lea ecx, [ebp + 0x68]
call fcn.0040fb1f
push eax
lea eax, [ebp]
push eax
call fcn.004206c4
push ebx
lea eax, [ebp]
push str.xxxxxxxxxx
push eax
call fcn.00420da7
add esp, 0x14
test eax, eax
je 0x402c52
push 6
lea eax, [ebp + 0x32]
push eax
lea eax, [ebp + 6]
push eax
call fcn.00420da7
add esp, 0xc
test eax, eax
jns 0x402c52
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.0040313a
lea eax, [ebp - 0x65c]
push eax
push str.SOFTWAREPC_SOFTWINDEV29.0APPLI
lea eax, [ebp + 0x60]
push 0x43bb18
push eax
call fcn.00402dfa
add esp, 0x18
mov dword [ebp + 0x6c], edi
lea ecx, [ebp + 0x60]
call fcn.0040fb1f
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 0x402c48
push 0x2a
pop eax
push eax
mov dword [ebp + 0x5c], eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.0041b260
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 0x402c3f
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x32]
push eax
call fcn.00420bd0
neg eax
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.0040fa91
jmp 0x402c54
mov ebx, edi
lea ecx, [ebp + 0x68]
call fcn.0040fa91
jmp 0x402c60
mov ebx, edi
lea ecx, [ebp + 0x64]
call fcn.0040fa91
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 0x402cd5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x43c020
mov edi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x402d22
push str.SHGetSpecialFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402d0c
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 0x402d92
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 0x402d6a
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 0x402d92
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0xc
jne 0x402d85
push str.C:Program_FilesFichiers_communs
jmp 0x402d8a
push str.C:Program_FilesCommon_Files
push edi
call fcn.004206c4
pop ecx
pop ecx
mov ecx, edi
call fcn.0040c93f
push ecx
push str.PC_SOFT29.0Framework
mov edx, 0x104
mov ecx, edi
call fcn.0040ed32
pop ecx
pop ecx
mov ecx, edi
call fcn.0040c93f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403782
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x43143d
call fcn.00431294
sub esp, 0x214
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xc]
push eax
lea ebx, [esi + 0x420]
push ebx
call fcn.004206c4
push str.WDUPDATE.NET
push ebx
call fcn.004206e6
add esp, 0x10
lea eax, [esi + 0x834]
xor edi, edi
push ebx
push edi
push str.RESEAU
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
cmp dword [esi + 0xc48], edi
je 0x40380d
push eax
push ebx
lea eax, [esi + 0x834]
push eax
lea eax, [ebp - 0x14]
push str.100___Lecture_de_la_cl
push eax
call fcn.00402dfa
add esp, 0x14
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0040fb1f
push eax
mov ecx, esi
call fcn.004036a4
lea ecx, [ebp - 0x14]
call fcn.0040fa91
mov eax, dword [ebp - 0x10]
cmp eax, 8
je 0x403874
push ebx
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x43c0dc
push str.PROTOCOLE
lea eax, [esi + 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x220]
push str.LOCAL
push eax
call fcn.00420bd0
pop ecx
pop ecx
test eax, eax
je 0x403867
lea eax, [ebp - 0x220]
push str.HTTP
push eax
call fcn.00420bd0
pop ecx
pop ecx
test eax, eax
jne 0x403872
xor edi, edi
inc edi
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x11b0], edi
jmp 0x403874
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x404b2d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4314c0
call fcn.00431294
mov eax, 0x2154
call fcn.004311f0
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004206c4
lea eax, [ebp - 0x21c]
push str.WDUPDATE.NET
push eax
call fcn.004206e6
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 0x404bc1
push edi
lea eax, [ebp - 0x10]
push str.125___Lecture_du_flag_dinstall_en_cours_:__i
push eax
call fcn.00402dfa
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040fb1f
push eax
mov ecx, esi
call fcn.004036a4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040fa91
cmp edi, 1
jne 0x404c1c
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 0x404bfe
lea eax, [ebp - 0x2160]
push str.La_pr
push eax
call fcn.004206c4
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 0x404c1c
mov ecx, esi
call fcn.004048ab
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 0x404c32
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x11ac]
test ecx, ecx
je 0x404c6f
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x11ac]
test ecx, ecx
je 0x404c54
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0xfa0]
call fcn.0040c6d8
test eax, eax
je 0x404c6f
lea ecx, [esi + 0xfa0]
pop esi
jmp fcn.0040c30e
pop esi
ret

Function at 0x404c71
Capabilities:
Create mailslot

Disassembly:
mov eax, 0x4314c0
call fcn.00431294
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.0041b260
lea eax, [esi + 0x834]
push eax
lea eax, [ebp - 0x21c]
push str..mailslot_s
push eax
call fcn.00402de0
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 0x404d18
or ecx, eax
cmp dword [esi + 0xc48], ebx
je 0x404d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.Echec_de_la_cr
push eax
call fcn.00402dfa
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040fb1f
push eax
mov ecx, esi
call fcn.004036a4
lea ecx, [ebp - 0x10]
call fcn.0040fa91
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 0x404d2e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x43143d
call fcn.00431294
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.00402de0
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
push 0x14
lea eax, [ebp - 0x40]
push eax
push 0x43c0dc
push 0x43dabc
push 0x43dac4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x40]
push str.WXF7
push eax
call fcn.00420bd0
pop ecx
pop ecx
test eax, eax
jne 0x404e59
xor ebx, ebx
cmp dword [esi + 0xc48], ebx
je 0x404db3
push str.132___Retour
mov ecx, esi
call fcn.004036a4
mov ecx, edi
call fcn.0040c93f
push edi
lea eax, [ebp - 0x664]
push str.__sWDSETUP7.EXE_
push eax
call fcn.00402de0
push edi
lea eax, [ebp - 0x458]
push str._REP_s
push eax
call fcn.00402de0
add esp, 0x14
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x664]
push edi
call fcn.0041377f
pop ecx
pop ecx
test eax, eax
jne 0x404e6a
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 0x404e50
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push str.Impossible_de_lancer_lapplication_de_contr
push eax
call fcn.00402dfa
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040fb1f
push eax
mov ecx, esi
call fcn.004036a4
lea ecx, [ebp - 0x14]
call fcn.0040fa91
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 0x404e5b
Function at 0x4050a8
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 0x4050d2
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4050dd
push dword [ebp + 0x7c]
push eax
call fcn.004206c4
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 0x4051bf
call fcn.00430f20
mov esi, esp
test esi, esi
je 0x4051bf
push edi
push 0
push esi
call fcn.0041b260
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 0x4051bf
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 0x4051bf
mov ecx, dword [ebp + 0x7c]
mov ebx, 0x43dee0
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.00402de0
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 0x4051a2
push ebx
lea eax, [ebp - 0x64]
push str.StringFileInfo040904E4_s
push eax
call fcn.00402de0
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 0x4051bf
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x74]
push edi
push dword [ebp + 0x7c]
push esi
call fcn.00420b11
xor eax, eax
add esp, 0xc
mov word [esi + edi*2 - 2], ax
inc eax
jmp 0x4051c1
xor eax, eax
lea esp, [ebp - 0x27c]
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc

Function at 0x4051d1
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
mov edi, ecx
xor edx, edx
mov eax, dword [edi + 0x11b0]
sub eax, edx
je 0x405259
sub eax, 1
je 0x4051ed
xor eax, eax
jmp 0x405276
lea ecx, [edi + 0x1424]
mov eax, dword [ecx]
test eax, eax
je 0x405205
cmp word [eax], dx
je 0x405205
call fcn.0040fb1f
jmp 0x40525f
mov esi, dword [esp + 0xc]
lea eax, [edi + 0x420]
push eax
push 0x104
push esi
push 0x43c0dc
push str.INSTLOCAL
lea eax, [edi + 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
call fcn.00420839
pop ecx
test eax, eax
jne 0x40526c
lea eax, [edi + 0xc]
push eax
push esi
call fcn.004206c4
mov ecx, esi
call fcn.0040c93f
push str.INSTALL
push esi
call fcn.004206e6
add esp, 0x10
jmp 0x40526c
lea eax, [edi + 0x216]
mov esi, dword [esp + 0xc]
push eax
push esi
call fcn.004206c4
pop ecx
pop ecx
mov ecx, esi
call fcn.0040c93f
xor eax, eax
inc eax
pop edi
pop esi
ret 4
Function at 0x405d67
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4314c0
call fcn.00431294
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 0x43c0dc
lea ebx, [eax + 0x834]
mov dword [ebp - 0x14], ecx
push 0x43d5c8
push ebx
call esi
push edi
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0x43c0dc
push 0x43d5d8
push ebx
call esi
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x14]
call fcn.004206e6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040c93f
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.004206c4
lea eax, [ebp - 0x430]
push eax
push esi
call fcn.004206e6
add esp, 0x10
mov ecx, esi
call fcn.0040c6d8
test eax, eax
jne 0x405e70
push edi
push ebx
lea eax, [ebp - 0x10]
push str._s_s
push eax
call fcn.00402dfa
add esp, 0x10
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040fb1f
mov ecx, eax
call fcn.0040c6d8
test eax, eax
je 0x405e68
lea ecx, [ebp - 0x10]
call fcn.0040fb1f
push eax
push esi
call fcn.004206c4
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040fa91
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40615e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [ecx + 0x11b9], 0
push ebx
jne 0x4061e6
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 0x43c0dc
push str.LASTCHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x30]
call fcn.0040651f
pop edi
pop esi
test ebx, ebx
jle 0x4061e6
cmp word [ebp - 0x1c], 0
je 0x4061e6
and dword [ebp - 4], 0
lea edx, [ebp - 4]
lea ecx, [ebp - 0x30]
call fcn.0040654e
and dword [ebp - 8], 0
lea edx, [ebp - 8]
lea ecx, [ebp - 0x1c]
call fcn.0040654e
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
cmp eax, ebx
jge 0x4061e6
xor eax, eax
jmp 0x4061e9
xor eax, eax
inc eax
pop ebx
leave
ret

Function at 0x406c16
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
cmp word [ecx], 0
jne 0x406c26
xor eax, eax
jmp 0x406c3c
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]
pop ebp
ret 0x14

Function at 0x406c81
Capabilities:
Read .ini file

Disassembly:
add ecx, 4
cmp word [ecx], 0
jne 0x406c8e
xor eax, eax
jmp 0x406ca1
push ecx
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
ret 0xc
Function at 0x4071be
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x44a44c]
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.0040ed5b
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.0040626a
push edi
call fcn.00421145
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.0040ed5b
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.0040626a
push edi
call fcn.00421145
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 0x4073c7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4316b7
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
call fcn.004076fb
lea ecx, [esi + 0x30]
call fcn.00410ad0
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x20]
call fcn.00406a78
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x1c]
call fcn.00406a78
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x18]
call fcn.00406a78
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x14]
call fcn.00406a78
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x10]
call fcn.00406a78
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0xc]
call fcn.00406a78
mov dword [ebp - 4], 6
mov ecx, dword [esi + 4]
call fcn.00406a78
mov dword [ebp - 4], 7
mov ecx, dword [esi]
call fcn.00406a78
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x407475
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4316d8
call fcn.00431294
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 0x43c0dc
push 0x43d5c8
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.0040626a
push ebx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x43c0dc
push 0x43d5d8
push edi
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ecx + 0x20]
call fcn.0040626a
mov ecx, dword [ebp - 0x10]
push str.PC_SOFT
lea ecx, [ecx + 0xc]
call fcn.0040626a
push ebx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x43f19c
push 0x43f1a0
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 0x43f19c
push str.HTTPSECURE
push edi
call esi
mov ebx, dword [ebp - 0x10]
xor eax, eax
push 0x30
pop edx
cmp word [ebp - 0x21c], dx
mov ecx, str.HTTP
setne al
mov dword [ebp + 0xc], eax
mov eax, str.HTTPS
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.0040626a
and dword [ebp + 8], 0
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 0x43f198
push 1
lea edi, [ebx + 4]
mov ecx, edi
call fcn.00406376
test eax, eax
je 0x4075d8
mov esi, dword [edi]
test esi, esi
je 0x40759d
lock inc dword [esi - 0xc]
mov dword [ebp + 0xc], esi
push edi
push 0x43f198
push 0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00406376
cmp dword [ebp + 8], 0
mov eax, 0x43c0dc
cmovne eax, dword [ebp + 8]
push eax
call fcn.00421a72
pop ecx
mov dword [ebx + 8], eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00406a78
jmp 0x4075ea
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.00406a78
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40a1c0
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x431899
call fcn.00431294
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CProgression.0
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0x64
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0xa
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 2
push ecx
mov dword [esi + 0x38], eax
call fcn.0040a29f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40b408
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0xc]
mov eax, dword [ecx + 0x20c]
test eax, eax
cmovne ecx, eax
call fcn.0040d386
test eax, eax
jne 0x40b54e
push 0x43f6c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40b54e
push str.NtQueryInformationFile
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40b54e
push 0x20e
xor ebx, ebx
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.0041b260
add esp, 0xc
lea eax, [ebp - 0x258]
push 9
push 0x20c
push eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x21c]
call esi
test eax, eax
js 0x40b54e
mov eax, dword [ebp - 0x258]
xor ecx, ecx
shr eax, 1
mov word [ebp + eax*2 - 0x254], cx
lea eax, [ebp - 0x48]
push eax
push dword [edi + 0x21c]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x40b54e
push 0x410
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.0041b260
add esp, 0xc
lea eax, [ebp - 0x668]
push eax
push 0x207
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
movzx eax, word [ebp - 0x668]
lea esi, [ebp - 0x668]
mov dword [ebp - 0xc], 0x3a0020
mov dword [ebp - 8], 0x5c
mov word [ebp - 0xc], ax
cmp ax, 0x41
je 0x40b53b
cmp ax, 0x42
je 0x40b53b
lea ecx, [ebp - 0xc]
call fcn.0040d316
cmp eax, 3
jne 0x40b53b
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x2c]
je 0x40b557
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x40b53b
movzx eax, word [esi]
test ax, ax
jne 0x40b4ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push 2
push eax
push esi
call fcn.00420b11
push 0x102
lea eax, [ebp - 0x254]
push eax
lea eax, [esi + 4]
push eax
call fcn.00420b11
xor eax, eax
add esp, 0x18
inc eax
jmp 0x40b550