Function at 0x45518f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
push ebx
cmp dword [ebp + 8], eax
push esi
push edi
mov esi, ecx
jl 0x4551cb
cmp dword [ebp + 8], 2
jne 0x455241
cmp dword [esi + 0xc], eax
jne 0x455241
test byte [esi + 0x8d], 4
je 0x455241
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], 0xfffffffc
push dword [ebp + 8]
mov ecx, esi
call fcn.0045b3c6
mov edi, dword [0x4e9e94]
mov ebx, dword fs:[0x2c]
test eax, eax
jne 0x455232
mov ecx, dword [esi + 0x48]
call fcn.0045e5b9
test eax, eax
mov dword [ebp - 4], eax
je 0x455205
mov eax, dword [ebx + edi*4]
push 1
mov ecx, dword [eax + 4]
call fcn.0047a90b
mov eax, dword [esi]
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp - 8], eax
je 0x455228
mov eax, dword [ebx + edi*4]
push 0
mov ecx, dword [eax + 4]
call fcn.0047a90b
cmp dword [ebp - 8], 0
je case.0x455270.36
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
je 0x455261
push 1
pop eax
jmp 0x455426
cmp dword [ebp + 0xc], eax
je 0x455426
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x48]
add ecx, 0x6c
push esi
push dword [ebp + 8]
call fcn.0042ba98
jmp 0x455426
mov eax, dword [ebp + 8]
add eax, 0x25
cmp eax, 0x24
ja case.0x455270.36
jmp dword [eax*4 + 0x455631]
mov eax, dword [esi + 0x1c]
jmp 0x455426
mov ecx, esi
call fcn.00421820
test eax, eax
je 0x4552a0
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 4]
test byte [eax + 0x621], 0x40
je case.0x455270.36
add esi, 0x100
push esi
call fcn.0046bde8
pop ecx
jmp 0x455426
mov ecx, esi
call fcn.0045ace7
jmp 0x455426
mov ecx, esi
call fcn.0045b277
jmp 0x455426
push 1
mov ecx, esi
push dword [ebp + 8]
call fcn.0045adf1
jmp 0x455426
mov eax, dword [esi + 0x70]
jmp 0x455426
cmp dword [ebp + 0xc], ecx
je case.0x455270.36
add esi, 0x20
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0046bd52
mov eax, dword [eax]
pop ecx
pop ecx
push 0x1000
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp + 0x10]
call fcn.004010b4
mov eax, dword [ebp + 0xc]
jmp 0x455426
cmp dword [ebp + 0xc], ecx
je case.0x455270.36
mov eax, dword [esi + 0x50]
cmp word [eax], cx
je case.0x455270.36
mov edx, dword [0x4cfce8]
mov word [ebp - 0x28], cx
mov dword [ebp + 8], edx
cmp word [eax], 8
jne 0x45536f
push dword [eax + 8]
lea ecx, [ebp + 8]
call fcn.0040c114
push 0x4d823c
push 0x4d1418
lea ecx, [ebp + 8]
call fcn.004033b6
push 0x5f
push 0xa
lea ecx, [ebp + 8]
call fcn.0040ba6d
jmp 0x4553e8
cmp word [eax], 7
jne 0x4553aa
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0046f819
pop ecx
test eax, eax
pop ecx
je 0x4553aa
lea eax, [ebp - 0x18]
push 1
push eax
lea eax, [ebp - 8]
push eax
call fcn.0047058c
add esp, 0xc
lea ecx, [ebp + 8]
push eax
call fcn.00402dbe
lea ecx, [ebp - 8]
call fcn.004010b4
jmp 0x4553e8
push dword [esi + 0x50]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x4553c4
mov word [ebp - 0x28], 0xa
mov dword [ebp - 0x20], eax
push 8
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
cmp word [ebp - 0x28], 8
jne 0x4553e8
push dword [ebp - 0x20]
lea ecx, [ebp + 8]
call fcn.0040c114
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x455412
push 0x1000
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp + 8]
jmp 0x45530f
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp + 8]
call fcn.004010b4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [esi + 0x7c]
jmp 0x455426
mov eax, dword [esi + 0x80]
jmp 0x455426
mov eax, dword [esi + 0x84]
jmp 0x455426
mov eax, dword [esi + 0xbc]
jmp 0x455426
mov eax, dword [esi + 0x78]
jmp 0x455426
mov eax, dword [esi + 0x30]
cmp dword [eax - 8], ecx
je case.0x455270.36
push str.__r_t_n
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je case.0x455270.36
mov eax, dword [esi + 0x30]
jmp 0x455426
mov ax, word [esi + 0x94]
jmp 0x455537
push dword [esi + 0xb4]
push str._08lX
jmp 0x45560b
mov ecx, dword [esi + 0x48]
call fcn.0045e66c
jmp 0x455426
cmp byte [esi + 0x204], 0
lea eax, [esi + 0x204]
jne 0x455426
lea eax, [esi + 0x100]
jmp 0x455426
mov ecx, esi
call fcn.0045ac2a
jmp 0x455426
mov eax, dword [esi + 0x88]
jmp 0x455426
movsx eax, word [esi + 0x5e]
jmp 0x455605
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
jmp 0x4555ff
mov al, byte [esi + 0x99]
test al, al
je case.0x455270.36
movzx eax, al
push eax
push 0x4d4594
jmp 0x45560b
mov ecx, esi
call fcn.0041d8dd
test eax, eax
je case.0x455270.36
push dword [esi + 0x9c]
jmp 0x455606
mov eax, dword [esi + 0x20]
push dword [eax - 8]
jmp 0x455606
mov eax, dword [esi + 0xb0]
jmp 0x455426
mov eax, dword [esi + 0xb8]
jmp 0x455426
mov ax, word [esi + 0x96]
cmp ax, cx
je case.0x455270.36
movsx eax, ax
jmp 0x455605
mov edi, dword [ebp + 0xc]
cmp edi, ecx
je case.0x455270.36
and byte [edi], 0
mov eax, dword [esi + 0x54]
lea ebx, [esi + 0x54]
test eax, eax
je 0x4555f0
cmp eax, 0xffffffff
jne 0x455599
mov eax, dword [esi]
and byte [ebp + 0xf], 0
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 8]
push dword [eax]
lea eax, [ebp + 0xf]
push 0xfff
push edi
push eax
push 0x4d4cc0
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 4]
jmp 0x4555eb
lea eax, [ebp - 0xc]
push 1
push eax
mov ecx, ebx
call fcn.00414e87
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x1000
push eax
push edi
call esi
lea ecx, [ebp - 0xc]
call fcn.004010b4
cmp byte [edi], 0
jne 0x4555f0
push dword [0x4d8224]
mov ebx, dword [ebx]
lea eax, [ebp - 0x10]
push 0x8000
push ebx
push eax
call fcn.0046d225
add esp, 0x10
push 0x1000
push dword [eax]
push edi
call esi
lea ecx, [ebp - 0x10]
call fcn.004010b4
mov eax, edi
jmp 0x455426
mov eax, dword [esi + 0xa0]
cmp eax, ecx
je case.0x455270.36
push eax
push 0x4d0f38
mov eax, dword [esi + 0x48]
mov edi, 0xec
add eax, edi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x48]
add esp, 0xc
add eax, edi
jmp 0x455426
mov eax, dword [esi + 0xa4]
jmp 0x4555fd