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

Disassembly:
push 0xffffffffffffffff
push 0x444d27
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.0040cf8e
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 0x42fcae
lea ecx, [esp + 0x40]
mov dword [esp + 0xc8], ecx
jmp 0x42f41c
mov esi, dword [esp + 0x14]
push 0x40
call fcn.00420f25
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov dword [esp + 0x61c], 0
je 0x42f44b
lea edx, [esp + 0x21]
push 1
push edx
mov ecx, ebp
call fcn.00436680
jmp 0x42f44d
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.00427ce3
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.0041a663
mov edi, eax
mov ecx, dword [edi]
mov dword [esp + 0x61c], 1
call fcn.0040cf8e
mov ebx, eax
mov dword [edi + 8], ebx
lea edi, [esi + 8]
mov ecx, edi
call fcn.0040cf8e
push eax
mov eax, dword [esp + 0x628]
push 0x104
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x1a8]
push 0x451a40
push edx
push eax
call ebx
mov al, byte [esp + 0x34]
mov dword [esp + 0x61c], 0xffffffff
test al, al
je 0x42f536
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x42f517
mov dword [esp + 0x18], 0x451a54
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00420f08
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esp + 0x14]
push edx
lea ecx, [eax + 4]
call fcn.004050b5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42f5b7
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.0040cc06
mov edx, dword [0x4465a8]
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.00404361
lea ecx, [esp + 0x148]
mov dword [esp + 0x61c], 0xffffffff
call fcn.00403643
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 0x45178c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.0040cf8e
mov ecx, dword [esp + 0x624]
push eax
lea edx, [esp + 0x230]
push 0x3e8
push edx
lea eax, [esp + 0xf0]
push 0x451a40
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.00434670
mov ecx, esi
call fcn.004322e0
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 0x4517b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.0040cf8e
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x451a40
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.00434670
mov ecx, esi
call fcn.00432920
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.0040cf8e
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x451a40
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.00434670
mov ecx, esi
call fcn.00432570
mov ecx, dword [ebx]
lea edx, [esp + 0x22c]
push ecx
push 0x4517a0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
mov edi, 0x4465bc
je 0x42f77f
mov edi, eax
mov eax, dword [0x44719c]
mov dword [esp + 0x6c], 0x447198
mov dword [esp + 0x8c], 0x447190
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 0x42f7b9
mov eax, 0x451a54
lea ecx, [esp + 0x23]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.00435ba0
lea ecx, [esp + 0x80]
mov byte [esp + 0x61c], 4
call fcn.00436290
push 0
lea ecx, [esp + 0x90]
mov byte [esp + 0x620], 5
call fcn.004362f0
mov edx, dword [0x44719c]
mov dword [esp + 0x61c], 6
mov dword [esp + 0x40], 0x447198
mov dword [esp + 0x60], 0x447190
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.00435a60
lea ecx, [esp + 0x54]
mov byte [esp + 0x61c], 8
call fcn.00436290
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x620], 9
call fcn.004362f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x61c], 0xb
test ecx, ecx
je 0x42f8a2
lea edx, [esp + 0x22c]
test edx, edx
je 0x42f887
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42f889
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.00435870
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 [0x447170]
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.004164c8
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.00420a94
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.00415c34
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.00436a40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x44]
cmp ecx, eax
jne 0x42fbf8
push 0xc
call fcn.00420f25
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x61c], 0xd
je 0x42fa03
push 0x30
call fcn.00420f25
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [esi], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.00420f25
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [esi + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.00420f25
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x61c], 0xe
je 0x42f9f3
mov ecx, eax
call fcn.0042fcd0
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x42fa05
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x42fa05
xor esi, esi
mov dword [ebp + 0x3c], esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x42fa14
mov edi, 0x4465bc
mov ecx, dword [0x4465b8]
mov dword [esp + 0x9c], 0x4465b4
mov dword [esp + 0xbc], 0x4465ac
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 0x42fa52
mov eax, 0x451a54
lea edx, [esp + 0x1e]
lea ecx, [esp + 0xa0]
push edx
push eax
call fcn.00435e10
lea ecx, [esp + 0xb0]
mov byte [esp + 0x61c], 0x10
call fcn.00436290
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x620], 0x11
call fcn.004362f0
lea eax, [esp + 0x9c]
push 1
push eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x624], 0x12
call fcn.00403eac
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.00436550
mov esi, dword [eax]
lea ecx, [esp + 0x170]
mov byte [esp + 0x61c], 0x12
call fcn.00403643
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.00420a94
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.00415c34
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.0042e260
lea edx, [esp + 0x10]
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x208]
mov dword [esp + 0x18], 0
call fcn.00436cc0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xd4]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0x624], 0x15
call fcn.00436840
mov esi, dword [eax]
lea ecx, [esp + 0x200]
mov byte [esp + 0x61c], 6
call fcn.00403643
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x34], eax
jmp 0x42fbfe
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.00435f40
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.0041a600
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x70]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00415c34
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 0x42f418
mov ecx, dword [esp + 0x614]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x610
ret 8