Function at 0x42ab40
Capabilities:
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5cc
mov eax, dword [0x4775a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
push str.iNodeCustom.vrf
push edi
lea eax, [ebp - 0x134]
push 0x4685c4
push eax
call fcn.0043ce2a
xor ebx, ebx
push 0x104
lea ecx, [ebp - 0x38f]
push ebx
push ecx
mov byte [ebp - 0x390], bl
call fcn.0043cdb0
push 0x104
lea edx, [ebp - 0x497]
push ebx
push edx
mov byte [ebp - 0x498], bl
call fcn.0043cdb0
push 0x104
lea eax, [ebp - 0x59f]
push ebx
push eax
mov byte [ebp - 0x5a0], bl
call fcn.0043cdb0
push str.iNodeCustom.ini
push edi
lea ecx, [ebp - 0x5a0]
push 0x4685c4
push ecx
call fcn.0043ce2a
add esp, 0x44
push 0x105
lea edx, [ebp - 0x498]
push edx
push str.CusIconName
lea eax, [ebp - 0x5a0]
push str.LogoOptions
push eax
call fcn.004294a0
lea ecx, [ebp - 0x498]
push ecx
push edi
lea edx, [ebp - 0x390]
push 0x4685c4
push edx
call fcn.0043ce2a
lea eax, [ebp - 0x5a4]
push eax
lea ecx, [ebp - 0x5a8]
push ecx
lea edx, [ebp - 0x134]
push edx
mov dword [ebp - 0x5a8], ebx
mov dword [ebp - 0x5a4], ebx
call fcn.00437800
add esp, 0x30
test eax, eax
jne 0x42ac4d
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bde4
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x5a8], ebx
jne 0x42ac3b
cmp dword [ebp - 0x5a4], 0x100
jne 0x42ac3b
push esi
push 0xef
lea eax, [ebp - 0x287]
push ebx
push eax
mov byte [ebp - 0x288], bl
call fcn.0043cdb0
lea ecx, [ebp - 0x134]
push 0x46e6c4
push ecx
call fcn.0043dbaa
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x42af26
push esi
push 0xf0
lea edx, [ebp - 0x288]
push 1
push edx
call fcn.0043d7d2
xor eax, eax
push ebx
push 0xf0
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call fcn.0043da72
push esi
push 0x10
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.0043d7d2
push esi
call fcn.0043d4f7
push str.iNodeCustom.ini
push edi
lea ecx, [ebp - 0x134]
push 0x4685c4
push ecx
call fcn.0043ce2a
add esp, 0x40
lea edx, [ebp - 0x5a4]
push edx
lea eax, [ebp - 0x5a8]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.00437800
add esp, 0xc
test eax, eax
je 0x42af26
cmp dword [ebp - 0x5a8], ebx
jne 0x42af26
cmp dword [ebp - 0x5a4], 0x9e8c
ja 0x42af26
lea edx, [ebp - 0x5ac]
push edx
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0xc]
push 6
push ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], bx
mov dword [ebp - 0x5ac], 0x64
call fcn.00432260
add esp, 0x10
test eax, eax
je 0x42af26
lea edx, [ebp - 0x134]
push 0x46e6c4
push edx
call fcn.0043dbaa
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42af26
mov eax, dword [ebp - 0x5a4]
push esi
push eax
push 1
push 0x496eb8
call fcn.0043d7d2
push esi
call fcn.0043d4f7
mov edi, dword [ebp - 0x5a4]
add esp, 0x14
lea edi, [edi + 0x496eb8]
mov ecx, 0x3c
lea esi, [ebp - 0x288]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea ecx, [ebp - 0x134]
push ecx
push ebx
push str.CustomIcon
push str.LogoOptions
mov byte [ebp - 0x5cc], 0xff
mov dword [ebp - 0x5cb], eax
mov dword [ebp - 0x5c7], eax
mov dword [ebp - 0x5c3], eax
mov dword [ebp - 0x5bf], eax
mov dword [ebp - 0x5bb], eax
mov dword [ebp - 0x5b7], eax
mov dword [ebp - 0x5b3], eax
mov word [ebp - 0x5af], ax
mov byte [ebp - 0x5ad], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x42ae35
cmp dword [ebp + 0xc], ebx
je 0x42ae35
lea edx, [ebp - 0x5cc]
push edx
lea eax, [ebp - 0x390]
push eax
call fcn.00429560
add esp, 8
mov edi, dword [ebp - 0x5a4]
lea edi, [edi + 0x496fa8]
mov ecx, 8
lea esi, [ebp - 0x5cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x5ac]
mov eax, dword [ebp - 0x5a4]
push ecx
lea edx, [ebp - 0x198]
push edx
lea ecx, [eax + 0x496fc8]
push ecx
call fcn.0043c170
mov edx, dword [ebp - 0x5ac]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5a4]
lea ecx, [edx + eax + 0x110]
push ecx
lea edx, [ebp - 0x1c]
push 0x496eb8
push edx
call fcn.004247e0
add esp, 0x18
mov eax, 0x10
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x42aeda
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x42aeb0
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bde4
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x42af06
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x42af06
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x42af06
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
cmp eax, ebx
jne 0x42af26
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bde4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043bde4
mov esp, ebp
pop ebp
ret