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

Disassembly:
push 0xffffffffffffffff
push 0x4a2007
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x604
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ecx, [esi + 8]
call fcn.00445b64
push eax
mov eax, dword [esp + 0x628]
push 0
push str.IMAGES
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19d]
mov byte [esp + 0x19c], 0
mov byte [esp + 0xe4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xe5]
mov byte [esp + 0x22c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x22d]
cmp edx, 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], 1
stosb byte es:[edi], al
jl 0x46d0ce
lea ecx, [esp + 0x40]
mov dword [esp + 0xc8], ecx
jmp 0x46c83c
mov esi, dword [esp + 0x14]
push 0x40
call fcn.0047d58e
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov dword [esp + 0x61c], 0
je 0x46c86b
lea edx, [esp + 0x21]
push 1
push edx
mov ecx, ebp
call fcn.00472d50
jmp 0x46c86d
xor ebp, ebp
lea eax, [esp + 0x19c]
push str.IMAGE
push eax
mov dword [esp + 0x624], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x22c]
push 0xa
push ecx
push edx
call fcn.0047f82a
add esp, 0xc
push eax
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x30]
push 0x104
push ecx
mov ecx, ebp
call fcn.00473210
mov edi, eax
mov ecx, dword [edi]
mov dword [esp + 0x61c], 1
call fcn.00445b64
mov ebx, eax
mov dword [edi + 8], ebx
lea edi, [esi + 8]
mov ecx, edi
call fcn.00445b64
push eax
mov eax, dword [esp + 0x628]
push 0x104
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x1a8]
push 0x4c6e14
push edx
push eax
call ebx
mov al, byte [esp + 0x34]
mov dword [esp + 0x61c], 0xffffffff
test al, al
je 0x46c956
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x46c937
mov dword [esp + 0x18], 0x4c6e10
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047d464
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esp + 0x14]
push edx
lea ecx, [eax + 4]
call fcn.0040651d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x46c9d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push 1
push ecx
push edx
lea ecx, [esp + 0x154]
mov dword [esp + 0x1c], eax
call fcn.00402d70
mov edx, dword [0x4a36c0]
lea eax, [esp + 0x148]
neg eax
sbb eax, eax
lea ecx, [esp + 0x14c]
and eax, ecx
push edx
push 0
push eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x628], 2
lea ecx, [eax + 4]
call fcn.00405b19
lea ecx, [esp + 0x148]
mov dword [esp + 0x61c], 0xffffffff
call fcn.00402438
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [esp + 0x19c]
lea eax, [esp + 0xe4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0xe4]
push 0x4c2f74
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.00445b64
mov ecx, dword [esp + 0x624]
push eax
lea edx, [esp + 0x230]
push 0x3e8
push edx
lea eax, [esp + 0xf0]
push 0x4c6e14
push eax
push ecx
call ebx
lea eax, [ebp + 0x30]
lea ecx, [ebp + 0x2c]
push eax
push ecx
sub esp, 0x28
mov dword [ecx], 0
mov dword [eax], 0
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x52]
push 1
lea eax, [esp + 0x260]
push edx
push eax
call fcn.0044554d
mov ecx, esi
call fcn.0046f700
lea ecx, [esp + 0x19c]
lea ebx, [ebp + 0x38]
lea edx, [esp + 0xe4]
push ecx
push edx
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0xe4]
push 0x4c2f98
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.00445b64
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x4c6e14
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea edx, [esp + 0x2f]
sub esp, 0x28
lea eax, [esp + 0x258]
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
push edx
push eax
mov dword [ebx], 0
call fcn.0044554d
mov ecx, esi
call fcn.0046fd40
lea ecx, [esp + 0x19c]
lea edx, [esp + 0xe4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.TRNSPRNTCLR
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.00445b64
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x4c6e14
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x34]
lea edx, [esp + 0x1f]
push eax
sub esp, 0x28
mov dword [eax], 0x808080
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
lea eax, [esp + 0x25c]
push edx
push eax
call fcn.0044554d
mov ecx, esi
call fcn.0046f990
mov ecx, dword [ebx]
lea edx, [esp + 0x22c]
push ecx
push 0x4c2f88
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
mov edi, 0x4a36e0
je 0x46cb9f
mov edi, eax
mov eax, dword [0x4a3684]
mov dword [esp + 0x6c], 0x4a3680
mov dword [esp + 0x8c], 0x4a3678
lea esi, [esp + eax + 0x6c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
test edi, edi
mov dword [esp + 0x61c], 3
mov eax, edi
jne 0x46cbd9
mov eax, 0x4c6e10
lea ecx, [esp + 0x23]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.00472c80
lea ecx, [esp + 0x80]
mov byte [esp + 0x61c], 4
call fcn.004686a0
push 0
lea ecx, [esp + 0x90]
mov byte [esp + 0x620], 5
call fcn.004686e0
mov edx, dword [0x4a3684]
mov dword [esp + 0x61c], 6
mov dword [esp + 0x40], 0x4a3680
mov dword [esp + 0x60], 0x4a3678
lea esi, [esp + edx + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea eax, [esp + 0x1d]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x620], 7
call fcn.004684f0
lea ecx, [esp + 0x54]
mov byte [esp + 0x61c], 8
call fcn.004686a0
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x620], 9
call fcn.004686e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x61c], 0xb
test ecx, ecx
je 0x46ccc2
lea edx, [esp + 0x22c]
test edx, edx
je 0x46cca7
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x46cca9
xor ecx, ecx
lea eax, [esp + 0x2a]
push 1
push eax
push ecx
lea ecx, [esp + 0x238]
push ecx
lea ecx, [esp + 0x50]
call fcn.00445a39
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x40]
lea eax, [esp + eax + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x4a3690]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
lea edx, [esp + 0x44]
and eax, edx
push ecx
push 0
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x628], 0xc
call fcn.0040bcd6
lea eax, [esp + 0x40]
lea edx, [esp + 0x60]
neg eax
sbb eax, eax
mov byte [esp + 0x61c], 6
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x40]
neg esi
sbb esi, esi
lea edx, [esp + 0x54]
and esi, edx
mov eax, dword [esi]
push eax
call fcn.0044c894
mov eax, dword [esi + 8]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00401245
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x40]
lea eax, [esp + ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [edx + 0x40]
call fcn.00474d40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x44]
cmp ecx, eax
jne 0x46d018
push 0xc
call fcn.0047d58e
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x61c], 0xd
je 0x46ce23
push 0x30
call fcn.0047d58e
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [esi], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.0047d58e
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [esi + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.0047d58e
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x61c], 0xe
je 0x46ce13
mov ecx, eax
call fcn.0046d0f0
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x46ce25
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x46ce25
xor esi, esi
mov dword [ebp + 0x3c], esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x46ce34
mov edi, 0x4a36e0
mov ecx, dword [0x4a36dc]
mov dword [esp + 0x9c], 0x4a36d8
mov dword [esp + 0xbc], 0x4a36d0
lea esi, [esp + ecx + 0x9c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
test edi, edi
mov byte [esp + 0x61c], 0xf
mov eax, edi
jne 0x46ce72
mov eax, 0x4c6e10
lea edx, [esp + 0x1e]
lea ecx, [esp + 0xa0]
push edx
push eax
call fcn.00473140
lea ecx, [esp + 0xb0]
mov byte [esp + 0x61c], 0x10
call fcn.004686a0
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x620], 0x11
call fcn.004686e0
lea eax, [esp + 0x9c]
push 1
push eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x624], 0x12
call fcn.00403d4e
mov dword [esp + 0x198], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x170]
lea edx, [esp + 0xcc]
push ecx
push edx
lea ecx, [eax + 0x30]
mov byte [esp + 0x624], 0x13
call fcn.00474a10
mov esi, dword [eax]
lea ecx, [esp + 0x170]
mov byte [esp + 0x61c], 0x12
call fcn.00402438
mov edi, dword [esi + 0x34]
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xbc]
neg eax
sbb eax, eax
mov byte [esp + 0x61c], 0x14
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x9c]
neg esi
sbb esi, esi
lea eax, [esp + 0xb0]
and esi, eax
mov eax, dword [esi]
push eax
call fcn.0044c894
mov ecx, dword [esi + 8]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x9c]
lea edx, [esp + 0xa0]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00403edb
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x61c], 6
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x9c]
lea eax, [esp + ecx + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
push ebp
push ebx
lea eax, [ebp + 0x34]
mov ecx, dword [ebp + 0x3c]
push eax
call fcn.0046b4b0
lea edx, [esp + 0x10]
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x208]
mov dword [esp + 0x18], 0
call fcn.00474e40
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xd4]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0x624], 0x15
call fcn.00474c00
mov esi, dword [eax]
lea ecx, [esp + 0x200]
mov byte [esp + 0x61c], 6
call fcn.00401093
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x34], eax
jmp 0x46d01e
mov ecx, dword [ecx + 0x34]
mov dword [ebp + 0x3c], ecx
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x628]
lea edx, [esp + 0x94]
lea eax, [esp + 0xdc]
push edx
push eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], 0
call fcn.004741b0
mov eax, dword [eax]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x61c], 0xffffffff
mov dword [eax + 0x10], ebp
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x6c]
mov dword [esi], eax
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x80]
and ecx, eax
call fcn.00402e22
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x70]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00401245
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
mov dword [esp + 0x24], edi
jle 0x46c838
mov ecx, dword [esp + 0x614]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x610
ret 8