Function at 0x480300
Capabilities:
Read .ini file
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push esi
push edi
lea eax, [ebp - 0x18]
mov edi, ecx
push eax
call fcn.004535f0
add esp, 4
lea eax, [ebp - 0x18]
cmp dword [ebp - 4], 8
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x57e724
push 0
push str.bAutoRun
push 0x57e750
call esi
push 0x57e724
push 1
test eax, eax
push str.bShowTitle
setne al
push 0x57e750
mov byte [edi + 0x1c], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bShowGroup
setne al
push 0x57e750
mov byte [edi + 0x1d], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bShowTag
setne al
push 0x57e750
mov byte [edi + 0x1e], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bLnkNameSingleline
setne al
push 0x57e750
mov byte [edi + 0x1f], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bShowTooltip
setne al
push 0x57e750
mov byte [edi + 0x20], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bAutoDick
setne al
push 0x57e750
mov byte [edi + 0x21], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bDickCorner
setne al
push 0x57e750
mov byte [edi + 0x24], al
call esi
push 0x57e724
test eax, eax
push 1
setne al
push str.bAutoDock
mov byte [edi + 0x25], al
push 0x57e750
call esi
push 0x57e724
push 0
test eax, eax
push str.bDockCorner
setne al
push 0x57e750
mov byte [edi + 0x24], al
call esi
push 0x57e724
push 0
test eax, eax
push str.nDockDelay
setne al
push 0x57e750
mov byte [edi + 0x25], al
call esi
push 0x57e724
push 0
push str.bHideOnStart
push 0x57e750
mov dword [edi + 0x28], eax
call esi
push 0x57e724
push 1
test eax, eax
push str.bTopMost
setne al
push 0x57e750
mov byte [edi + 0x23], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bHideAfterLink
setne al
push 0x57e750
mov byte [edi + 0x22], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bHideUnhot
setne al
push 0x57e750
mov byte [edi + 0x2c], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bMButtonMain
setne al
push 0x57e750
mov byte [edi + 0x2d], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bDoubleDeskMain
setne al
push 0x57e750
mov byte [edi + 0x2e], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bDoubleTaskMain
setne al
push 0x57e750
mov byte [edi + 0x2f], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bFollowMouse
setne al
push 0x57e750
mov byte [edi + 0x30], al
call esi
test eax, eax
setne al
push 0x57e724
push 0
push str.bDoubleClick
push 0x57e750
mov byte [edi + 0x31], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bFullScreenMode
setne al
push 0x57e750
mov byte [edi + 0x32], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bDelConfirm
setne al
push 0x57e750
mov byte [edi + 0x33], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bSaveRunCount
setne al
push 0x57e750
mov byte [edi + 0x34], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bRunCount
setne al
push 0x57e750
mov byte [edi + 0x35], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bHideNotify
setne al
push 0x57e750
mov byte [edi + 0x36], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bShowDate
setne al
push 0x57e750
mov byte [edi + 0x37], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bShowBtnSearch
setne al
push 0x57e750
mov byte [edi + 0x38], al
call esi
push 0x57e724
push 1
test eax, eax
push str.bShowBtnMenu
setne al
push 0x57e750
mov byte [edi + 0x39], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bShowBtnSkin
setne al
push 0x57e750
mov byte [edi + 0x3a], al
call esi
test eax, eax
setne al
mov byte [edi + 0x3b], al
push 0x57e724
push 0
push str.bShowCombineMode
push 0x57e750
call esi
push 0x57e724
push 0
test eax, eax
push str.bMouseEnterActiveGroup
setne al
push 0x57e750
mov byte [edi + 0x3c], al
call esi
push 0x57e724
push 0
test eax, eax
push str.bMouseEnterActiveTag
setne al
push 0x57e750
mov byte [edi + 0x3d], al
call esi
push 0x57e724
push 0
test eax, eax
push str.nActiveGroupDelay
setne al
push 0x57e750
mov byte [edi + 0x3e], al
call esi
push 0x57e724
push 0
push str.nActiveTagDelay
push 0x57e750
mov dword [edi + 0x40], eax
call esi
push 0x57e724
push 0
push str.nCurGroup
push 0x57e750
mov dword [edi + 0x44], eax
call esi
push 0x57e724
push 0
push str.nCurTag
push 0x57e750
mov dword [edi + 0x48], eax
call esi
push 0x57e724
push 0
push str.nMainHotKey
push 0x57e750
mov dword [edi + 0x4c], eax
call esi
push 0x57e724
push 0x184
push str.nWidth
push 0x57e750
mov dword [edi + 0x50], eax
call esi
push 0x57e724
push 0x280
push str.nHeight
push 0x57e750
mov dword [edi + 0x54], eax
call esi
push 0x57e724
push 2
push str.nPosX
push 0x57e750
mov dword [edi + 0x58], eax
call esi
push 0x57e724
push 0
push str.nPosY
push 0x57e750
mov dword [edi + 0x5c], eax
call esi
push 0x57e724
push 0x48
mov dword [edi + 0x60], eax
push str.nGroupWidth
push 0x57e750
call esi
push 0x57e724
push 0
push str.bAutoGroupWidth
push 0x57e750
mov dword [edi + 0x64], eax
call esi
push 0x57e724
push 0x48
test eax, eax
push str.nTagWidth
setne al
push 0x57e750
mov byte [edi + 0x68], al
call esi
push 0x57e724
push 0
push str.bAutoTagHeight
push 0x57e750
mov dword [edi + 0x6c], eax
call esi
push 0x57e724
push 0
test eax, eax
push str.nAttrWidth
setne al
push 0x57e750
mov byte [edi + 0x70], al
call esi
push 0x57e724
push 0
push str.nAttrHeight
push 0x57e750
mov dword [edi + 0xc4], eax
call esi
push 0x57e724
push 0
push str.nVersion
push 0x57e750
mov dword [edi + 0xc8], eax
call esi
push 0x57e724
push 0xffffffffffffffff
push str.nSearchX
push 0x57e750
mov dword [edi + 0x74], eax
call esi
push 0x57e724
push 0xffffffffffffffff
push str.nSearchY
push 0x57e750
mov dword [edi + 0xcc], eax
call esi
push 0x57e724
push 0
push str.nSearchHotKey
push 0x57e750
mov dword [edi + 0xd0], eax
call esi
push 0x57e724
push 0
push str.nSearchCount
push 0x57e750
mov dword [edi + 0xd4], eax
call esi
push 0x57e724
push 0
push str.bOpenEverything
push 0x57e750
mov dword [edi + 0xd8], eax
call esi
push 0x57e724
push 0
test eax, eax
push str.bFocusSearch
setne al
push 0x57e750
mov byte [edi + 0xdc], al
call esi
test eax, eax
push 0x57e724
push 0xff
push str.nAlpha
setne al
push 0x57e750
mov byte [edi + 0xdd], al
call esi
push 0x57e724
push 0
push str.bGroupRight
push 0x57e750
mov dword [edi + 0xe0], eax
call esi
push 0x57e724
push 0
test eax, eax
push str.bTagRight
setne al
push 0x57e750
mov byte [edi + 0x78], al
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
push 0x57e724
setne al
push 0x40
mov byte [edi + 0x79], al
lea eax, [ebp - 0xb0]
push eax
push str.center
push str.TagAlign
push 0x57e750
call esi
lea ecx, [ebp - 0xb0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480922
sub ecx, edx
lea eax, [ebp - 0xb0]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x7c]
call fcn.00402e60
push 0x57e724
push 0x40
lea eax, [ebp - 0xb0]
push eax
push str.gray
push str.Theme
push 0x57e750
call esi
lea ecx, [ebp - 0xb0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480970
sub ecx, edx
lea eax, [ebp - 0xb0]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x94]
call fcn.00402e60
push 0x57e724
push 0x40
lea eax, [ebp - 0xb0]
push eax
push 0x5965b4
push str.OpenDirCmd
push 0x57e750
call esi
lea eax, [ebp - 0xb0]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4809c0
sub eax, edx
lea ecx, [edi + 0xac]
sar eax, 1
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00402e60
mov eax, dword [edi + 0x50]
cmp eax, 0xffff
jle 0x480a37
mov ecx, eax
movzx eax, al
sar ecx, 8
and ecx, 0xff00
or ecx, eax
lea eax, [ebp - 0x30]
push ecx
push 0x57ed34
push eax
mov dword [edi + 0x50], ecx
call fcn.004014d0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x480a19
mov eax, dword [eax]
push 0x57e724
push eax
push str.nMainHotKey
push 0x57e750
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x30]
call fcn.00403070
mov edx, dword [ebp - 4]
pop edi
pop esi
cmp edx, 8
jb 0x480a6f
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x480a65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480a73
push edx
push ecx
call fcn.005342bc
add esp, 8
mov esp, ebp
pop ebp
ret
call fcn.00560610
int3