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

Disassembly:
push 0xffffffffffffffff
push 0x447c97
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.004049fb
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 0x4300de
lea ecx, [esp + 0x40]
mov dword [esp + 0xc8], ecx
jmp 0x42f84c
mov esi, dword [esp + 0x14]
push 0x40
call fcn.00420e10
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov dword [esp + 0x61c], 0
je 0x42f87b
lea edx, [esp + 0x21]
push 1
push edx
mov ecx, ebp
call fcn.004363e0
jmp 0x42f87d
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.0042a0ac
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.0041e837
mov edi, eax
mov ecx, dword [edi]
mov dword [esp + 0x61c], 1
call fcn.004049fb
mov ebx, eax
mov dword [edi + 8], ebx
lea edi, [esi + 8]
mov ecx, edi
call fcn.004049fb
push eax
mov eax, dword [esp + 0x628]
push 0x104
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x1a8]
push 0x458a44
push edx
push eax
call ebx
mov al, byte [esp + 0x34]
mov dword [esp + 0x61c], 0xffffffff
test al, al
je 0x42f966
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x42f947
mov dword [esp + 0x18], 0x458a40
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00420c3f
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esp + 0x14]
push edx
lea ecx, [eax + 4]
call fcn.00402488
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42f9e7
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.00404613
mov edx, dword [0x4494e0]
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.004021ed
lea ecx, [esp + 0x148]
mov dword [esp + 0x61c], 0xffffffff
call fcn.004014d4
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 0x458794
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.004049fb
mov ecx, dword [esp + 0x624]
push eax
lea edx, [esp + 0x230]
push 0x3e8
push edx
lea eax, [esp + 0xf0]
push 0x458a44
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.00434aa0
mov ecx, esi
call fcn.00432710
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 0x4587b8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.004049fb
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x458a44
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.00434aa0
mov ecx, esi
call fcn.00432d50
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.004049fb
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x458a44
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.00434aa0
mov ecx, esi
call fcn.004329a0
mov ecx, dword [ebx]
lea edx, [esp + 0x22c]
push ecx
push 0x4587a8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
mov edi, 0x4494f4
je 0x42fbaf
mov edi, eax
mov eax, dword [0x449e80]
mov dword [esp + 0x6c], 0x449e7c
mov dword [esp + 0x8c], 0x449e74
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 0x42fbe9
mov eax, 0x458a40
lea ecx, [esp + 0x23]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.00435fb0
lea ecx, [esp + 0x80]
mov byte [esp + 0x61c], 4
call fcn.00436310
push 0
lea ecx, [esp + 0x90]
mov byte [esp + 0x620], 5
call fcn.00436350
mov edx, dword [0x449e80]
mov dword [esp + 0x61c], 6
mov dword [esp + 0x40], 0x449e7c
mov dword [esp + 0x60], 0x449e74
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.00437d70
lea ecx, [esp + 0x54]
mov byte [esp + 0x61c], 8
call fcn.00436310
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x620], 9
call fcn.00436350
lea ecx, [esp + 0x40]
mov byte [esp + 0x61c], 0xb
test ecx, ecx
je 0x42fcd2
lea edx, [esp + 0x22c]
test edx, edx
je 0x42fcb7
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42fcb9
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.00435ca0
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 [0x449d28]
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.00411696
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.00420016
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.004106a4
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.00437320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x44]
cmp ecx, eax
jne 0x430028
push 0xc
call fcn.00420e10
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x61c], 0xd
je 0x42fe33
push 0x30
call fcn.00420e10
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [esi], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.00420e10
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [esi + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.00420e10
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x61c], 0xe
je 0x42fe23
mov ecx, eax
call fcn.00430100
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x42fe35
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x42fe35
xor esi, esi
mov dword [ebp + 0x3c], esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x42fe44
mov edi, 0x4494f4
mov ecx, dword [0x4494f0]
mov dword [esp + 0x9c], 0x4494ec
mov dword [esp + 0xbc], 0x4494e4
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 0x42fe82
mov eax, 0x458a40
lea edx, [esp + 0x1e]
lea ecx, [esp + 0xa0]
push edx
push eax
call fcn.00436220
lea ecx, [esp + 0xb0]
mov byte [esp + 0x61c], 0x10
call fcn.00436310
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x620], 0x11
call fcn.00436350
lea eax, [esp + 0x9c]
push 1
push eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x624], 0x12
call fcn.00401974
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.00436ca0
mov esi, dword [eax]
lea ecx, [esp + 0x170]
mov byte [esp + 0x61c], 0x12
call fcn.004014d4
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.00420016
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.004106a4
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.0042e690
lea edx, [esp + 0x10]
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x208]
mov dword [esp + 0x18], 0
call fcn.00437420
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xd4]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0x624], 0x15
call fcn.004371f0
mov esi, dword [eax]
lea ecx, [esp + 0x200]
mov byte [esp + 0x61c], 6
call fcn.004098ee
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x34], eax
jmp 0x43002e
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.004364f0
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.004046c5
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x70]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.004106a4
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 0x42f848
mov ecx, dword [esp + 0x614]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x610
ret 8