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

Disassembly:
push 0xffffffffffffffff
push 0x4896c7
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.00442fb0
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 0x456bce
lea ecx, [esp + 0x40]
mov dword [esp + 0xc8], ecx
jmp 0x45633c
mov esi, dword [esp + 0x14]
push 0x40
call fcn.0046712e
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov dword [esp + 0x61c], 0
je 0x45636b
lea edx, [esp + 0x21]
push 1
push edx
mov ecx, ebp
call fcn.0045cde0
jmp 0x45636d
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.004692ea
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.0045d310
mov edi, eax
mov ecx, dword [edi]
mov dword [esp + 0x61c], 1
call fcn.00442fb0
mov ebx, eax
mov dword [edi + 8], ebx
lea edi, [esi + 8]
mov ecx, edi
call fcn.00442fb0
push eax
mov eax, dword [esp + 0x628]
push 0x104
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x1a8]
push 0x4a9e54
push edx
push eax
call ebx
mov al, byte [esp + 0x34]
mov dword [esp + 0x61c], 0xffffffff
test al, al
je 0x456456
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x456437
mov dword [esp + 0x18], 0x4a9e50
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00467004
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 0x4564d7
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 [0x48b6b0]
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 0x4a5fd8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.00442fb0
mov ecx, dword [esp + 0x624]
push eax
lea edx, [esp + 0x230]
push 0x3e8
push edx
lea eax, [esp + 0xf0]
push 0x4a9e54
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.0045b5a0
mov ecx, esi
call fcn.00459200
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 0x4a5ffc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.00442fb0
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x4a9e54
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.0045b5a0
mov ecx, esi
call fcn.00459840
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.00442fb0
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x4a9e54
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.0045b5a0
mov ecx, esi
call fcn.00459490
mov ecx, dword [ebx]
lea edx, [esp + 0x22c]
push ecx
push 0x4a5fec
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
mov edi, 0x48b6d0
je 0x45669f
mov edi, eax
mov eax, dword [0x48b674]
mov dword [esp + 0x6c], 0x48b670
mov dword [esp + 0x8c], 0x48b668
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 0x4566d9
mov eax, 0x4a9e50
lea ecx, [esp + 0x23]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.0045ccb0
lea ecx, [esp + 0x80]
mov byte [esp + 0x61c], 4
call fcn.0045c910
push 0
lea ecx, [esp + 0x90]
mov byte [esp + 0x620], 5
call fcn.0045c950
mov edx, dword [0x48b674]
mov dword [esp + 0x61c], 6
mov dword [esp + 0x40], 0x48b670
mov dword [esp + 0x60], 0x48b668
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.0045cb70
lea ecx, [esp + 0x54]
mov byte [esp + 0x61c], 8
call fcn.0045c910
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x620], 9
call fcn.0045c950
lea ecx, [esp + 0x40]
mov byte [esp + 0x61c], 0xb
test ecx, ecx
je 0x4567c2
lea edx, [esp + 0x22c]
test edx, edx
je 0x4567a7
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4567a9
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.0045c980
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 [0x48b680]
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.0040c468
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.00438016
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.0045ee80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x44]
cmp ecx, eax
jne 0x456b18
push 0xc
call fcn.0046712e
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x61c], 0xd
je 0x456923
push 0x30
call fcn.0046712e
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [esi], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.0046712e
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [esi + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.0046712e
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x61c], 0xe
je 0x456913
mov ecx, eax
call fcn.00456bf0
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x456925
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x456925
xor esi, esi
mov dword [ebp + 0x3c], esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x456934
mov edi, 0x48b6d0
mov ecx, dword [0x48b6cc]
mov dword [esp + 0x9c], 0x48b6c8
mov dword [esp + 0xbc], 0x48b6c0
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 0x456972
mov eax, 0x4a9e50
lea edx, [esp + 0x1e]
lea ecx, [esp + 0xa0]
push edx
push eax
call fcn.0045d240
lea ecx, [esp + 0xb0]
mov byte [esp + 0x61c], 0x10
call fcn.0045c910
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x620], 0x11
call fcn.0045c950
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.0045eb50
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.00438016
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.00454fb0
lea edx, [esp + 0x10]
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x208]
mov dword [esp + 0x18], 0
call fcn.0045ef80
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xd4]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0x624], 0x15
call fcn.0045ed40
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 0x456b1e
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.0045e2f0
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 0x456338
mov ecx, dword [esp + 0x614]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x610
ret 8