Function at 0x46c840
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e7bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov ebx, ecx
push esi
push edi
push ebp
lea ecx, [ebx + 0x340]
mov dword [esp + 0x30], ebx
call fcn.005bc5aa
mov eax, dword [0x6707bc]
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], edi
mov esi, dword [esp + 0x74]
cmp dword [esi + 0x10], edi
jne 0x46c894
mov dword [esp + 0x20], edi
jmp 0x46c89d
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
mov edi, eax
mov byte [edi + 1], 0
mov byte [edi], 0
mov eax, dword [esi + 0x10]
push ebp
dec eax
push eax
push edi
push str.AppSettings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov eax, dword [0x6707bc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov cl, byte [edi]
mov byte [esp + 0x64], 3
test cl, cl
mov eax, edi
je 0x46cc4a
jmp 0x46c8da
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.0046c660
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
push str.type
push ebp
mov dword [esp + 0x3c], eax
call fcn.0052d867
add esp, 0x18
test eax, eax
jne 0x46c9f1
push str.WinEXE
push esi
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46c928
mov dword [ebx + 0x18], eax
jmp 0x46cc35
push str.WinConsoleEXE
push esi
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46c946
mov dword [ebx + 0x18], 1
jmp 0x46cc35
push str.WinDLL
push esi
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46c964
mov dword [ebx + 0x18], 2
jmp 0x46cc35
push str.WinECom
push esi
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46c982
mov dword [ebx + 0x18], 0x3e8
jmp 0x46cc35
push str.LinuxConsoleELF
push esi
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46c9a0
mov dword [ebx + 0x18], 0x2710
jmp 0x46cc35
push str.LinuxECom
push esi
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46c9be
mov dword [ebx + 0x18], 0x2af8
jmp 0x46cc35
mov eax, dword [esp + 0x70]
test eax, eax
je 0x46cc35
push esi
push ebp
lea eax, [esp + 0x18]
push 0x662c78
push eax
call fcn.005b8c49
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bc839
jmp 0x46cc35
push str.name
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46ca11
push esi
lea ecx, [ebx + 0x3c]
call fcn.005bc5aa
jmp 0x46cc35
push str.explain
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46ca31
push esi
lea ecx, [ebx + 0x40]
call fcn.005bc5aa
jmp 0x46cc35
push str.author
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46ca51
push esi
lea ecx, [ebx + 0x44]
call fcn.005bc5aa
jmp 0x46cc35
push str.ZipCode
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46ca71
push esi
lea ecx, [ebx + 0x48]
call fcn.005bc5aa
jmp 0x46cc35
push str.address
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46ca91
push esi
lea ecx, [ebx + 0x4c]
call fcn.005bc5aa
jmp 0x46cc35
push str.photo
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cab1
push esi
lea ecx, [ebx + 0x50]
call fcn.005bc5aa
jmp 0x46cc35
push 0x662c44
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cad1
push esi
lea ecx, [ebx + 0x54]
call fcn.005bc5aa
jmp 0x46cc35
push str.email
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46caf1
push esi
lea ecx, [ebx + 0x58]
call fcn.005bc5aa
jmp 0x46cc35
push str.HomePage
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cb11
push esi
lea ecx, [ebx + 0x5c]
call fcn.005bc5aa
jmp 0x46cc35
push str.copyright
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cb31
push esi
lea ecx, [ebx + 0x60]
call fcn.005bc5aa
jmp 0x46cc35
push str.MajorVersion
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cb54
push esi
call fcn.0052eec9
add esp, 4
mov dword [ebx + 0x64], eax
jmp 0x46cc35
push str.MinorVersion
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cb77
push esi
call fcn.0052eec9
add esp, 4
mov dword [ebx + 0x68], eax
jmp 0x46cc35
push str.BuildNO1
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cb9a
push esi
call fcn.0052eec9
add esp, 4
mov dword [ebx + 0x6c], eax
jmp 0x46cc35
push str.BuildNO2
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cbba
push esi
call fcn.0052eec9
add esp, 4
mov dword [ebx + 0x70], eax
jmp 0x46cc35
push str.EnableExportPublicMethod
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cbe0
lea edx, [ebx + 0x8c]
mov ecx, 0x6756e0
push edx
push esi
call fcn.0046d920
jmp 0x46cc35
push str.plugins
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cc98
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x14
jb 0x46cc74
mov eax, dword [esp + 0x70]
test eax, eax
je 0x46cc31
push 0x13
push esi
push ebp
lea eax, [esp + 0x1c]
push 0x662b98
push eax
call fcn.005b8c49
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bc839
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp byte [edx], 0
jne 0x46c8d6
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov byte [edi + 1], 0
mov byte [edi], 0
mov eax, dword [esi + 0x10]
push ebp
dec eax
push eax
push edi
push str.user_consts
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x46d045
jmp 0x46cd8a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x46cc31
push str.OutputFileName
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cccb
lea ebp, [ebx + 0x344]
push esi
mov ecx, ebp
call fcn.005bc5aa
mov ecx, dword [esp + 0x6c]
push ecx
push ebp
call fcn.0046c580
add esp, 8
jmp 0x46cc35
push str.icon
push ebp
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x46cc35
push esi
lea ecx, [esp + 0x2c]
call fcn.005bc48f
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x6c], 4
call fcn.0046c580
add esp, 8
lea ecx, [esp + 0x48]
call fcn.004918b0
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 5
call fcn.00491e70
test eax, eax
jne 0x46cd4d
mov eax, dword [esp + 0x70]
test eax, eax
je 0x46cd4d
push esi
lea edx, [esp + 0x14]
push 0x662b54
push edx
call fcn.005b8c49
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.005bc839
lea ecx, [esp + 0x48]
push ecx
lea ecx, [ebx + 0x120]
call fcn.00491d50
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 4
mov dword [esp + 0x48], 0x5f7940
call fcn.00491ab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 3
call fcn.005bc421
jmp 0x46cc35
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.0046c660
push 0
push 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0
push eax
call fcn.00503860
add esp, 0x28
test eax, eax
jne 0x46cdf1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x46d038
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push 0x662b38
push edx
call fcn.005b8c49
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.005bc839
jmp 0x46d038
lea ecx, [esp + 0x34]
call fcn.004918b0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push 0
push edx
mov byte [esp + 0x70], 6
call fcn.00511640
add esp, 0xc
test eax, eax
je 0x46ce52
mov eax, dword [esp + 0x70]
test eax, eax
je 0x46d022
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x662b18
push edx
call fcn.005b8c49
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.005bc839
jmp 0x46d022
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x74]
lea edi, [ebx + 0x2d4]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004e7540
test eax, eax
jne 0x46cea1
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
mov eax, ecx
push 0
neg eax
sbb eax, eax
push ecx
mov ecx, dword [esp + 0x1c]
and eax, ebp
push eax
push 0x662b14
push ecx
push 0x10000000
mov ecx, edi
call fcn.004e89a0
jmp 0x46d022
push eax
call fcn.004f4040
add esp, 4
cmp eax, 0x10000000
je 0x46cee7
mov eax, dword [esp + 0x70]
test eax, eax
je 0x46d022
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push 0x662af0
push eax
call fcn.005b8c49
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bc839
jmp 0x46d022
mov esi, dword [esp + 0x74]
mov bp, word [esi]
add esi, 2
push esi
call fcn.00492830
add esp, 4
add esi, eax
lea ecx, [esp + 0x6c]
push esi
call fcn.005bc48f
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x64], 7
mov eax, dword [edx - 8]
test eax, eax
jne 0x46cf26
push 0x662b14
lea ecx, [esp + 0x70]
call fcn.005bc5aa
jmp 0x46cf8d
lea eax, [esp + 0x28]
push 2
push eax
lea ecx, [esp + 0x74]
call fcn.005b886e
mov eax, dword [eax]
push 0x662b14
push eax
call fcn.0052d7b8
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.005bc421
test bl, bl
je 0x46cf89
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x20]
push ecx
push str.E8__
push edx
call fcn.005bc72a
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 8
call fcn.005bc55a
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 7
call fcn.005bc421
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x48]
call fcn.004918b0
push ebp
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 9
call fcn.00491b70
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push eax
call fcn.00491c20
mov ecx, dword [esp + 0x6c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00491c20
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
lea ecx, [esp + 0x4c]
and eax, esi
push eax
call fcn.00492170
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, edi
and eax, edx
mov edx, dword [esp + 0x34]
push eax
push 0xffffffffffffffff
push 0
push edx
call fcn.004f43d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 7
mov dword [esp + 0x48], 0x5f7940
call fcn.00491ab0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 6
call fcn.005bc421
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 3
mov dword [esp + 0x34], 0x5f7940
call fcn.00491ab0
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
jne 0x46cd86
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x46d065
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46d065
push eax
call fcn.004ff5c0
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], 2
call fcn.005bc421
lea ecx, [esp + 4]
mov byte [esp + 0x54], 1
call fcn.005bc421
lea ecx, [esp]
mov byte [esp + 0x54], 0
call fcn.005bc421
lea ecx, [esp + 8]
mov dword [esp + 0x54], 0xffffffff
call fcn.005bc421
mov ecx, dword [esp + 0x4c]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc