joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a31
Capabilities:
Read .ini file

Disassembly:
push 0x68
mov eax, 0x564e6d
call fcn.0053cea9
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x5ca9b4
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], eax
mov esi, edx
call fcn.00403439
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00403595
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0040363e
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00401afd
cmp dword [esi + 0x14], 0x10
jb 0x404a90
mov ecx, dword [esi]
jmp 0x404a92
mov ecx, esi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x404a9e
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
push ebx
push str.Period
push eax
call edi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x70], eax
jb 0x404ab9
mov esi, dword [esi]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x404ac5
lea eax, [ebp - 0x2c]
push esi
push ebx
push str.LogLevel
push eax
call edi
mov esi, eax
call fcn.00403465
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
call fcn.00403465
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x64], ecx
call fcn.00403465
push dword [ebp - 0x6c]
mov dword [eax + 4], esi
call fcn.00403465
mov edi, eax
call fcn.00403ed3
call fcn.00403465
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [eax + 0x24]
call fcn.00401dbd
call fcn.00403465
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.00403f62
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401afd
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401afd
mov esi, dword [ebp - 0x68]
cmp esi, ebx
je 0x404b51
mov eax, dword [esi]
cmp eax, ebx
je 0x404b4a
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call fcn.00437a37
pop ecx
call fcn.0053cf2c
ret
Function at 0x405b98
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x562c23
call fcn.0053cea9
mov ebx, ecx
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x34], ebx
je 0x405c88
cmp byte [ebx + 0x49], 0
je 0x405c88
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x405bd0
xor al, al
jmp 0x405c8a
push 0
push 8
pop edi
lea esi, [ebp - 0x2c]
call fcn.00405936
and dword [ebp - 4], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x405c27
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push eax
push edx
push dword [ebp - 0x38]
call dword [esi + 0x18]
xor edi, edi
sub eax, edi
je 0x405c2c
dec eax
je 0x405c30
dec eax
dec eax
je 0x405c84
xor bl, bl
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401afd
mov al, bl
jmp 0x405c8a
mov edx, dword [ebp - 0x2c]
jmp 0x405bf5
mov byte [ebx + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x405c3c
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x405c62
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x405c4f
lea eax, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push eax
call fcn.005397c9
add esp, 0x10
cmp esi, eax
jne 0x405c16
cmp byte [ebx + 0x49], 0
je 0x405c84
cmp esi, edi
jne 0x405be7
push edi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.00401d66
mov ebx, dword [ebp - 0x34]
jmp 0x405be7
mov bl, 1
jmp 0x405c18
mov al, 1
call fcn.0053cf2c
ret
Function at 0x40746c
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, eax
mov ecx, dword [esi + 0x40]
xor al, al
push edi
mov bl, 1
cmp ecx, 0xffffffff
je 0x407600
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x407600
cmp ecx, 0x29
jne 0x4074b0
cmp dword [esi + 0x10], 0
jne 0x407600
test dword [esi + 0x44], edi
jne 0x4074b0
push 5
call fcn.005564d6
pop ecx
jmp 0x4075e9
cmp ecx, 0x2e
jne 0x4074cc
push 5
lea eax, [esi + 0x18]
push eax
call fcn.004076e5
mov eax, esi
call fcn.00407444
jmp 0x4075e9
cmp ecx, 0x5c
jne 0x407529
mov eax, esi
call fcn.00407444
mov eax, dword [esi + 0x44]
and eax, 0x80
je 0x4074ff
cmp byte [esi + 0x3e], 0x62
jne 0x4074ff
push 4
lea eax, [esi + 0x18]
push eax
call fcn.004076e5
mov eax, esi
call fcn.00407444
jmp 0x4075f0
test eax, eax
je 0x40751d
cmp byte [esi + 0x3e], 0x42
jne 0x40751d
push 4
lea eax, [esi + 0x18]
push eax
call fcn.004076e5
mov eax, dword [esi + 0x1c]
xor dword [eax + 8], 1
jmp 0x4074f3
mov eax, esi
call fcn.0040802e
jmp 0x4075e9
cmp ecx, 0x5b
jne 0x407553
mov eax, esi
call fcn.00407444
mov eax, esi
call fcn.00407fe5
cmp dword [esi + 0x40], 0x5d
je 0x4074c0
push 4
call fcn.005564d6
pop ecx
jmp 0x4074c0
cmp ecx, 0x28
jne 0x40757d
mov eax, esi
call fcn.00407444
call fcn.00408100
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x407574
push 5
call fcn.005564d6
pop ecx
mov eax, esi
call fcn.00407444
jmp 0x4075e5
cmp ecx, 0x5e
jne 0x407589
push 2
jmp 0x4074ea
cmp ecx, 0x24
jne 0x407595
push 3
jmp 0x4074ea
cmp ecx, 0x2a
je 0x4075dd
cmp ecx, 0x2b
je 0x4075dd
cmp ecx, 0x3f
je 0x4075dd
cmp ecx, 0x7b
je 0x4075dd
cmp ecx, 0x7d
jne 0x4075ba
test dword [esi + 0x44], edi
jne 0x4075ba
push 6
jmp 0x4074a5
cmp ecx, 0x5d
jne 0x4075cb
test dword [esi + 0x44], edi
jne 0x4075cb
push 4
jmp 0x4074a5
movzx eax, byte [esi + 0x3e]
push eax
lea eax, [esi + 0x18]
call fcn.004082e2
jmp 0x4074c0
push 0xa
call fcn.005564d6
pop ecx
test bl, bl
je 0x4075f0
mov eax, esi
call fcn.004081f6
mov ecx, dword [esi + 0x40]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x407486
pop edi
pop esi
pop ebx
ret

Function at 0x40997c
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x567a82
call fcn.0053ce40
lea ecx, [ebp - 0x14]
call fcn.00412182
and dword [ebp - 4], 0
push 0x5993e8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040193e
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040274b
push dword [ebp - 0x10]
push 0
push str.GroupEnabled
push 0x599418
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
neg eax
sbb esi, esi
add ecx, 0xfffffff0
neg esi
call fcn.0040274b
mov eax, esi
call fcn.0053cf18
ret

Function at 0x4099df
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x567a82
call fcn.0053ce40
lea ecx, [ebp - 0x14]
call fcn.00412182
and dword [ebp - 4], 0
push 0x5993e8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040193e
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040274b
push dword [ebp - 0x10]
push 0
push str.GroupNumber
push 0x599418
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040274b
mov eax, esi
call fcn.0053cf18
ret
Function at 0x409a3e
Capabilities:
Get hostname
Read .ini file

Disassembly:
push 0x244
mov eax, 0x564def
call fcn.0053cea9
and dword [ebp - 4], 0
and dword [ebp - 0x248], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x250], esi
call fcn.00412182
push 0x5993e8
push eax
xor edi, edi
lea eax, [ebp - 0x240]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24c]
add ecx, 0xfffffff0
call fcn.0040274b
call fcn.00437a9e
push eax
mov ecx, esi
call fcn.00402723
push esi
mov dword [ebp - 0x248], edi
call fcn.00409d60
cmp byte [ebp + 8], 0
pop ecx
je 0x409b4a
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov ebx, str.Name
mov edi, 0x599418
test eax, eax
jne 0x409b01
push dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
push 0x104
push eax
push 0x598e70
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x23c]
push eax
push 0x599470
push esi
call fcn.0040a0e9
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x409b4a
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x244], 0x11
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x409b33
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00402337
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x409b4a
push dword [ebp - 0x240]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, esi
call fcn.0053cf2c
ret

Function at 0x409b60
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x564d8f
call fcn.0053cea9
lea ecx, [ebp - 0x224]
call fcn.00412182
and dword [ebp - 4], 0
push 0x5993e8
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040274b
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x220]
call fcn.00402723
mov byte [ebp - 4], 3
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x598e70
push str.Name
push 0x599418
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x599470
push eax
call fcn.0040a0e9
mov eax, dword [ebp - 0x220]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x409c0d
lea ecx, [eax - 0x10]
jmp 0x409c2d
push ecx
lea esi, [eax - 0x10]
mov dword [ebp - 0x224], esp
mov edi, esp
push esi
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.00409c7e
pop ecx
mov ecx, esi
call fcn.0040274b
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040274b
call fcn.0053cf2c
ret
Function at 0x40a14c
Capabilities:
Link many functions at runtime

Disassembly:
push 0x214
mov eax, 0x564d46
call fcn.0053cea9
mov dword [ebp - 0x220], esi
xor ebx, ebx
push 0x12c
mov dword [ebp - 4], ebx
lea eax, [esi + 0x40]
push ebx
push eax
mov dword [esi], vtable.PanelDriver.0
mov dword [esi + 0x38], ebx
mov byte [esi + 0x16c], bl
call fcn.00538530
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3c], eax
cmp dword [0x5d1688], ebx
jne 0x40a239
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00538530
add esp, 0xc
call fcn.00439647
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0053b4f5
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040235d
mov edi, str.espd01.dll
push edi
mov byte [ebp - 4], 1
call fcn.00537ff9
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040b0de
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
mov dword [0x5d1688], eax
call fcn.0040274b
mov eax, dword [0x5d1688]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
cmp eax, ebx
je 0x40a319
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PDOpen
push eax
call edi
push str.PDClose
push dword [0x5d1688]
mov dword [esi + 8], eax
call edi
push str.PDLock
push dword [0x5d1688]
mov dword [esi + 0xc], eax
call edi
push str.PDUnLock
push dword [0x5d1688]
mov dword [esi + 0x10], eax
call edi
push str.PDSendJobData
push dword [0x5d1688]
mov dword [esi + 0x14], eax
call edi
push str.PDRecvJobData
push dword [0x5d1688]
mov dword [esi + 0x18], eax
call edi
push str.PDSendJobData2
push dword [0x5d1688]
mov dword [esi + 0x24], eax
call edi
push str.PDSendJobData3
push dword [0x5d1688]
mov dword [esi + 0x1c], eax
call edi
push str.PDDecodeData
push dword [0x5d1688]
mov dword [esi + 0x20], eax
call edi
push str.PDCreateJobData
push dword [0x5d1688]
mov dword [esi + 0x28], eax
call edi
push str.PDCreateJobData2
push dword [0x5d1688]
mov dword [esi + 0x2c], eax
call edi
push str.PDCreateJobData3
push dword [0x5d1688]
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov byte [esi + 4], bl
mov eax, esi
call fcn.0053cf2c
ret
Function at 0x40b3d4
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi + 0x28]
mov dword [edi], vtable.Project.0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [edi + 0x40]
call fcn.0040bca0
mov ecx, dword [edi + 0x38]
push 0x10
pop esi
sub ecx, esi
call fcn.0040274b
mov ecx, dword [edi + 0x34]
sub ecx, esi
call fcn.0040274b
mov ecx, dword [edi + 0x30]
sub ecx, esi
call fcn.0040274b
mov ecx, dword [edi + 0x2c]
sub ecx, esi
call fcn.0040274b
mov ecx, dword [edi + 0x28]
sub ecx, esi
call fcn.0040274b
mov ecx, dword [edi + 0x20]
sub ecx, esi
call fcn.0040274b
mov ecx, dword [edi + 0x18]
pop edi
sub ecx, esi
pop esi
jmp fcn.0040274b

Function at 0x40b4a9
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xc3c
mov eax, 0x5671aa
call fcn.0053cea9
mov eax, dword [ebp + 8]
and dword [ebp - 0xc38], 0
mov esi, ecx
lea edi, [ebp - 0xc38]
mov dword [ebp - 0xc3c], eax
call fcn.0040b43a
and dword [ebp - 4], 0
call fcn.00437a9e
push eax
lea ecx, [ebp - 0xc34]
call fcn.00402723
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00538530
mov eax, 0x104
push eax
lea ecx, [ebp - 0x628]
push ecx
push eax
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0xc30]
push ecx
push eax
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.0053b814
add esp, 0x30
mov eax, edi
push eax
lea ecx, [ebp - 0xc34]
call fcn.0040248f
push 0x599930
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.0040193e
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0xc48]
push eax
mov byte [ebp - 4], 2
call fcn.0040193e
push 0x599918
push eax
lea eax, [ebp - 0xc44]
push eax
mov byte [ebp - 4], 3
call fcn.0040193e
add esp, 0x24
push eax
lea ecx, [ebp - 0xc34]
mov byte [ebp - 4], 4
call fcn.0040248f
mov ecx, dword [ebp - 0xc44]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0xc48]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc40]
add ecx, 0xfffffff0
call fcn.0040274b
mov esi, dword [ebp - 0xc34]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b600
push esi
push 0x200
lea eax, [ebp - 0xa28]
push eax
push 0x598e70
push 0x599934
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xa28]
push eax
jmp 0x40b605
push 0x599954
mov ecx, dword [ebp - 0xc3c]
call fcn.0040235d
lea ecx, [esi - 0x10]
call fcn.0040274b
mov ecx, dword [ebp - 0xc38]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0xc3c]
call fcn.0053cf2c
ret 4
Function at 0x40b634
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x11c
mov eax, 0x567c7e
call fcn.0053cea9
mov eax, dword [ebp + 8]
and dword [ebp - 0x124], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, ecx
push esi
push 0x80
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x110]
push eax
push 0x598e70
push str.ProjectUid
push str.Launch
call ebx
lea edi, [ebp - 0x11c]
call fcn.0040b43a
and dword [ebp - 4], 0
push 0x599930
mov eax, edi
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.0040193e
lea ecx, [ebp - 0x110]
push ecx
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 1
call fcn.0040193e
push 0x599918
push eax
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 2
call fcn.0040193e
add esp, 0x24
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
call fcn.0040274b
push dword [ebp - 0x114]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b756
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push 0x80
push eax
push 0x598e70
push 0x599934
push str.String
call ebx
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push eax
call fcn.0040235d
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0x118]
jmp 0x40b7af
lea eax, [ebp - 0x120]
push eax
mov ecx, esi
call fcn.0040b4a9
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
push eax
call fcn.00402431
mov esi, dword [ebp - 0x118]
pop ecx
mov ecx, dword [ebp - 0x120]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.0040274b
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, esi
call fcn.0053cf2c
ret 4
Function at 0x40bcd6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ecx
push 0x80
lea ecx, [ebp - 0x10c]
push ecx
push 0x598e70
push eax
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10c]
push eax
call fcn.00537ff9
pop ecx
test eax, eax
jne 0x40bd20
fld qword [ebp + 0xc]
jmp 0x40bd49
fldz
lea eax, [ebp - 0x114]
push eax
fstp qword [ebp - 0x114]
lea eax, [ebp - 0x10c]
push 0x599b48
push eax
call fcn.0053ba9a
fld qword [ebp - 0x114]
add esp, 0xc
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053792d
leave
ret

Function at 0x40bd55
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push 0x418
mov eax, 0x564d08
call fcn.0053cea9
xor esi, esi
mov dword [ebp - 0x424], esi
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x424]
call fcn.00402723
push 0x410
lea eax, [ebp - 0x420]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00538530
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, esi
je 0x40be16
dec eax
dec eax
lea eax, [ebp - 0x420]
je 0x40bdb0
push eax
push esi
push esi
push 0x8027
jmp 0x40be24
push ebx
push 0x104
push eax
push 0x598e70
push str.TargetFolder
push str.Save
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x420]
push eax
je 0x40bda7
call fcn.00537ff9
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.004023c0
mov esi, dword [ebp - 0x424]
add esi, 0xfffffff0
push esi
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [edi], eax
mov ecx, esi
jmp 0x40be42
lea eax, [ebp - 0x420]
push eax
push esi
push esi
push 0x8005
push esi
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call fcn.0040235d
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, edi
call fcn.0053cf2c
ret
Function at 0x40e68b
Capabilities:
Read .ini file

Disassembly:
push 0x230
mov eax, 0x564cd5
call fcn.0053cea9
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00435102
pop ecx
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x230]
call fcn.00402723
push str.Resources
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push 0x59a28c
push eax
mov byte [ebp - 4], 1
call fcn.0040a0e9
add esp, 0x10
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x224]
call fcn.00402723
mov byte [ebp - 4], 2
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402723
mov byte [ebp - 4], 3
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x228]
call fcn.00402723
and dword [ebp - 0x238], 0
mov dword [ebp - method.CLcMgrStub.virtual_0], vtable.CLcMgrStub.0
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x220], esp
push str.string
call fcn.0040235d
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x230]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x234], esp
mov esi, esp
push eax
mov dword [ebp - 0x234], eax
call fcn.00402431
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.00416e97
push dword [ebp + 8]
lea ebx, [ebp - 0x220]
call fcn.00416eec
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
call fcn.0040248f
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.004163c6
push dword [eax]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x598e70
push str.ProjectAppName
push str.Event_Launch_Win
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push 0x599470
push eax
call fcn.0040a0e9
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x20]
mov eax, dword [eax + 0x18]
cmp dword [eax - 0xc], 0
mov ebx, dword [ebp - 0x22c]
je 0x40e828
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [eax + 0x18]
jmp 0x40e82f
cmp dword [ebx - 0xc], 0
je 0x40e846
push ebx
push dword [ebp - 0x224]
lea eax, [ebp - 0x228]
push eax
call fcn.0040a0e9
add esp, 0xc
jmp 0x40e87d
mov eax, dword [edi + 4]
lea esi, [ebp - 0x220]
call fcn.004206f0
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x228]
push dword [ebp - 0x224]
push eax
call fcn.0040a0e9
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040274b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [ebp - 0x228]
push 0x30
push 0x59a5e8
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.00416e86
lea ecx, [esi - 0x10]
call fcn.0040274b
lea ecx, [ebx - 0x10]
call fcn.0040274b
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x234]
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
call fcn.0053cf2c
ret 4
Function at 0x40f997
Capabilities:
Read .ini file

Disassembly:
push 0x244
mov eax, 0x564c4d
call fcn.0053cea9
mov eax, dword [ebp + 8]
add eax, 0x50
mov ecx, eax
mov dword [ebp - 0x234], eax
call fcn.004514a1
push 0xa
lea ecx, [ebp - 0x250]
call fcn.00439f34
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402723
mov byte [ebp - 4], 1
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x220]
call fcn.00402723
lea esi, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.0040fb90
mov byte [ebp - 4], 3
push dword [ebp - 0x228]
mov esi, str.Devices
push edi
push str.SupportedDeviceCount
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x22c], eax
xor eax, eax
cmp dword [ebp - 0x22c], edi
jle 0x40fad5
mov edi, 0x598e70
lea ebx, [eax + 1]
push ebx
lea eax, [ebp - 0x21c]
push str.Device_04d
push eax
call fcn.0040a0e9
add esp, 0xc
push dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
push dword [ebp - 0x21c]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040235d
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x40fab3
lea ecx, [ebp - 0x224]
call fcn.0040fc2f
push dword [ebp - 0x224]
lea ecx, [ebp - 0x250]
call fcn.0043a162
push edi
mov ecx, eax
call fcn.00402337
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, ebx
cmp eax, dword [ebp - 0x22c]
jl 0x40fa35
xor edi, edi
lea eax, [ebp - 0x250]
push eax
call fcn.0040f820
mov eax, dword [ebp - 0x244]
neg eax
sbb eax, eax
mov dword [ebp - 0x230], eax
cmp eax, edi
je 0x40fb4d
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x250]
call fcn.0043a027
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], edi
je 0x40fb45
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], edi
je 0x40fb45
mov ecx, dword [ebp - 0x234]
push eax
call fcn.0043a162
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
call fcn.0040248f
cmp dword [ebp - 0x230], edi
jne 0x40faf5
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040274b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00439fef
mov al, 1
call fcn.0053cf2c
ret 4

Function at 0x40fdfb
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, eax
mov ecx, esi
call fcn.0040ffd9
test al, al
je 0x40fe0d
mov al, 1
pop esi
ret
xor ecx, ecx
cmp byte [esi + 0x10], cl
je 0x40fe1c
cmp dword [esi + 0x1c], ecx
pop esi
setne al
ret
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 8]
push eax
push ecx
push str.ModelDependency
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
neg eax
pop esi
ret