Function at 0x100066a0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1007d930]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [esp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x1005d5f8
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edx, [esp + 4]
push edx
push 0
push str.TaxUpdateDateFix
push 0x1005d638
call esi
mov dword [0x1007f0f0], eax
lea eax, [esp + 4]
push eax
push 0
push str.SubStack
push 0x1005d65c
call esi
lea edx, [esp + 4]
push edx
push 0x7dc
test eax, eax
push str.AdminPort
setne cl
push 0x1005d680
mov byte [0x1007ece8], cl
call esi
push eax
push 0x424dfe
call fcn.10005b40
add esp, 8
lea eax, [esp + 4]
push eax
push 0x7d8
push str.Port1
push 0x1005d698
call esi
push eax
push 0x424dd0
call fcn.10005b40
add esp, 8
lea ecx, [esp + 4]
push ecx
push 0x7d6
push str.Port2
push str.World
call esi
push eax
push 0x424de7
call fcn.10005b40
push 0x10006150
push 0x501d81
call fcn.10005b40
push 0
push 0x100060c0
push 0x4951b7
push 0xe8
call fcn.10005780
push 0
push 0x100060e0
push 0x495351
push 0xe8
call fcn.10005780
push 0
push 0x100064d0
push 0x424d76
push 0xe8
call fcn.10005780
add esp, 0x40
push 0
push 0x10035530
push 0x498ae1
push 0xe8
call fcn.10005780
add esp, 0x10
pop esi
cmp dword [0x1007f0f0], 0
je 0x1000680a
push 0
push 0x10006100
push 0x466100
push 0xe8
call fcn.10005780
add esp, 0x10
push edi
mov ecx, 0x100
mov eax, 0x100061f0
mov edi, 0x1007ecf0
rep stosd dword es:[edi], eax
mov dword [0x1007ecf8], 0x10028d50
mov dword [0x1007ecfc], 0x1002a3e0
mov dword [0x1007ed00], 0x1002a5b0
mov dword [0x1007ed04], 0x10028e80
mov dword [0x1007ed08], 0x100290d0
mov dword [0x1007ed0c], 0x1002ab40
mov dword [0x1007ed10], 0x1002a7a0
mov dword [0x1007ed14], 0x1002a970
mov dword [0x1007ed18], 0x100292f0
mov dword [0x1007ed1c], 0x100291f0
mov dword [0x1007ed20], 0x10028fb0
mov dword [0x1007ed24], 0x10029ab0
mov dword [0x1007ed28], 0x10019740
mov dword [0x1007ef28], 0x10019c30
mov dword [0x1007ed2c], 0x10029ba0
mov dword [0x1007ed30], 0x10029ca0
mov dword [0x1007ed34], 0x10035090
mov dword [0x1007ed38], 0x1002edb0
mov dword [0x1007ed3c], 0x100374b0
mov dword [0x1007ed40], 0x10032190
mov dword [0x1007ed44], 0x1002aed0
mov dword [0x1007ed48], 0x10019ef0
mov dword [0x1007ed4c], 0x1002ebd0
mov dword [0x1007ed50], 0x1002eca0
mov dword [0x1007ed54], 0x1001b2f0
mov dword [0x1007ed58], 0x10029ec0
mov dword [0x1007ed5c], 0x10021670
mov dword [0x1007ed60], 0x10021800
mov dword [0x1007ed64], 0x1000f290
mov dword [0x1007ed68], 0x1000f3e0
mov dword [0x1007ed6c], 0x10011cb0
mov dword [0x1007ed70], 0x10038f10
mov dword [0x1007ed74], 0x10038de0
mov dword [0x1007ed78], 0x100109d0
mov dword [0x1007ed7c], 0x10011ea0
mov dword [0x1007ed80], 0x1001abf0
mov dword [0x1007ed84], 0x10010110
mov dword [0x1007ed88], 0x100103a0
mov dword [0x1007ed8c], 0x10010570
mov dword [0x1007ed90], 0x10010800
mov dword [0x1007ed94], 0x10011920
mov dword [0x1007ed98], 0x1000f230
mov dword [0x1007ed9c], 0x1000fe90
mov dword [0x1007eda0], 0x1000f1e0
mov dword [0x1007edac], 0x1000fd10
mov dword [0x1007edb0], 0x100116c0
mov dword [0x1007eda4], 0x10030d10
mov dword [0x1007eda8], 0x10030eb0
mov dword [0x1007edbc], 0x1001b810
mov dword [0x1007ef2c], 0x1001a930
mov dword [0x1007edc0], 0x1001a790
mov dword [0x1007edb4], 0x1002e980
mov dword [0x1007edb8], 0x1002ea90
mov dword [0x1007edc4], 0x10034e30
mov dword [0x1007edc8], 0x10015580
mov dword [0x1007edcc], 0x10015280
mov dword [0x1007edd0], 0x10015410
mov dword [0x1007edd4], 0x10015c90
mov dword [0x1007edd8], 0x10015870
mov dword [0x1007eddc], 0x100150e0
mov dword [0x1007ede0], 0x10014e90
mov dword [0x1007ede8], 0x10029fd0
mov dword [0x1007ede4], 0x1002a170
mov dword [0x1007edec], 0x10030ac0
mov dword [0x1007edf0], 0x10030880
mov dword [0x1007edf4], 0x10006240
mov dword [0x1007edf8], 0x1002c1d0
mov dword [0x1007ee0c], 0x1002bc90
mov dword [0x1007ee10], 0x1002bf30
mov dword [0x1007ee00], 0x100113e0
mov dword [0x1007edfc], 0x1000fb10
mov dword [0x1007ee04], 0x1000f7f0
mov dword [0x1007ee08], 0x1000f600
mov dword [0x1007ee14], 0x10033700
mov dword [0x1007ee18], 0x100304d0
mov dword [0x1007ee1c], 0x10030210
mov dword [0x1007ee20], 0x10030080
mov dword [0x1007ee24], 0x1002fdf0
mov dword [0x1007ee28], 0x10031490
mov dword [0x1007ee2c], 0x1002fc40
mov dword [0x1007ee30], 0x1002fa80
mov dword [0x1007ee34], 0x1002f830
mov dword [0x1007ee38], 0x1002f690
mov dword [0x1007ee3c], 0x10031230
mov dword [0x1007ee40], 0x10039260
mov dword [0x1007ee44], 0x10039060
mov dword [0x1007ee4c], 0x1002f370
mov dword [0x1007ee48], 0x1002f510
mov dword [0x1007ee50], 0x1002f110
mov dword [0x1007ee54], 0x1002eee0
mov dword [0x1007ee58], 0x100219e0
mov dword [0x1007ee5c], 0x10032ef0
mov dword [0x1007ee60], 0x10036860
mov dword [0x1007ee64], 0x1002b700
mov dword [0x1007ef3c], 0x1002ba00
mov dword [0x1007ef40], 0x1002b0d0
mov dword [0x1007ef44], 0x1002b360
mov dword [0x1007ee68], 0x10023bf0
mov dword [0x1007ee6c], 0x10023e90
mov dword [0x1007ee70], 0x10024130
mov dword [0x1007ee74], 0x100243d0
mov dword [0x1007ee78], 0x10024670
mov dword [0x1007ee7c], 0x10024910
mov dword [0x1007ee80], 0x10024bb0
mov dword [0x1007ee84], 0x10024e50
mov dword [0x1007ee88], 0x100250f0
mov dword [0x1007ee8c], 0x10025390
mov dword [0x1007ee90], 0x10025630
mov dword [0x1007ee94], 0x100258d0
mov dword [0x1007ee98], 0x10025b70
mov dword [0x1007ee9c], 0x10025e10
mov dword [0x1007eea0], 0x100260b0
mov dword [0x1007eea4], 0x10026350
mov dword [0x1007eea8], 0x100265f0
mov dword [0x1007eeac], 0x10026890
mov dword [0x1007eeb0], 0x10026b30
mov dword [0x1007eeb4], 0x10026dd0
mov dword [0x1007eeb8], 0x10027070
mov dword [0x1007eebc], 0x10027310
mov dword [0x1007eec0], 0x100275b0
mov dword [0x1007eec4], 0x10027850
mov dword [0x1007eec8], 0x10027af0
mov dword [0x1007eecc], 0x10027d90
mov dword [0x1007eed0], 0x10028030
mov dword [0x1007eed4], 0x100282d0
mov dword [0x1007eed8], 0x10028570
mov dword [0x1007eedc], 0x10028810
mov dword [0x1007eee0], 0x10028ab0
mov dword [0x1007eee4], 0x10034ab0
mov dword [0x1007eee8], 0x10033510
mov dword [0x1007eeec], 0x10034c90
mov dword [0x1007eef0], 0x1002b4a0
mov dword [0x1007eef4], 0x10034770
mov dword [0x1007eef8], 0x10033080
mov dword [0x1007eefc], 0x10034910
mov dword [0x1007ef00], 0x10033390
mov dword [0x1007ef04], 0x10022390
mov dword [0x1007ef08], 0x10022650
mov dword [0x1007ef0c], 0x10022fb0
mov dword [0x1007ef10], 0x10022b00
mov dword [0x1007ef14], 0x100232b0
mov dword [0x1007ef18], 0x100224f0
mov dword [0x1007ef1c], 0x100228d0
mov dword [0x1007ef20], 0x10033200
mov dword [0x1007ef24], 0x100306d0
mov dword [0x1007ef30], 0x100394a0
mov dword [0x1007ef34], 0x100397d0
mov dword [0x1007ef38], 0x1002ad20
mov dword [0x1007ef4c], 0x100338c0
mov dword [0x1007ef50], 0x10031f90
mov dword [0x1007ef54], 0x10036a70
mov dword [0x1007ef58], 0x10033ff0
mov dword [0x1007ef5c], 0x10034250
mov dword [0x1007ef60], 0x10033e00
mov dword [0x1007ef64], 0x100343d0
mov dword [0x1007ef68], 0x100345a0
mov dword [0x1007ef6c], 0x10033a70
push 0
push 0x10019240
push 0x4436c9
push 0xe8
mov dword [0x1007ef70], 0x1001a3f0
mov dword [0x1007ef9c], 0x100199c0
mov dword [0x1007ef74], 0x10017240
mov dword [0x1007ef78], 0x10017680
mov dword [0x1007ef7c], 0x10017ad0
mov dword [0x1007ef80], 0x10017c30
mov dword [0x1007ef84], 0x10017f20
mov dword [0x1007ef88], 0x10018170
mov dword [0x1007ef8c], 0x100183b0
mov dword [0x1007ef90], 0x10018510
mov dword [0x1007ef94], 0x100188b0
mov dword [0x1007ef98], 0x10018b90
mov dword [0x1007efa0], 0x1001e0c0
mov dword [0x1007efa4], 0x1001e7d0
mov dword [0x1007efa8], 0x1001f6e0
mov dword [0x1007efac], 0x1001d1c0
mov dword [0x1007efb0], 0x1001d350
mov dword [0x1007efb4], 0x1001d570
mov dword [0x1007efb8], 0x1001d700
mov dword [0x1007efbc], 0x1001d890
mov dword [0x1007efc0], 0x1001f3c0
mov dword [0x1007efc4], 0x1001dd70
mov dword [0x1007efd0], 0x10010c40
mov dword [0x1007efd4], 0x10010ec0
mov dword [0x1007efc8], 0x1000f4f0
mov dword [0x1007efcc], 0x10031090
mov dword [0x1007efd8], 0x10032720
mov dword [0x1007efdc], 0x10032a90
mov dword [0x1007f010], 0x10011070
mov dword [0x1007f014], 0x10011240
mov dword [0x1007f018], 0x100062b0
mov dword [0x1007f01c], 0x100063c0
call fcn.10005780
push 0
push 0x10019260
push 0x4ca3cd
push 0xe8
call fcn.10005780
push 0
push 0x10019260
push 0x4ca659
push 0xe8
call fcn.10005780
push 0
push 0x10019260
push 0x4ca87f
push 0xe8
call fcn.10005780
add esp, 0x40
push 0
push 0x10019260
push 0x4ca8bc
push 0xe8
call fcn.10005780
push 0
push 0x10019260
push 0x4cab04
push 0xe8
call fcn.10005780
push 0
push 0x10037140
push 0x4719e6
push 0xe8
call fcn.10005780
mov ecx, dword [esp + 0x23c]
add esp, 0x30
pop edi
xor ecx, esp
call fcn.1003f012
add esp, 0x20c
ret