Function at 0x4f4490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cbfab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov ecx, dword [esp + 0x60]
mov edx, dword [0x639698]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x68], eax
push edi
lea eax, [esp + 0x18]
push 0x625a90
push eax
call fcn.0058aded
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x20]
add esp, 0xc
push ecx
lea ecx, [esp + 0x1c]
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f453b
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f453b
lea edx, [esp + 0x18]
lea eax, [esp + 0x38]
push edx
push 0x664810
push eax
call fcn.0059390a
mov dword [esp + 0x10], 1
mov byte [esp + 0x68], 2
jmp 0x4f453f
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x68], 4
test al, 1
je 0x4f456c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
and al, 0xfe
mov dword [esp + 0x10], eax
call fcn.005936db
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x78]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
push esi
push str.nItems
push ebp
call ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 1
call fcn.005936db
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call fcn.005936db
xor esi, esi
test edi, edi
jle 0x4f49f4
xor edi, edi
push esi
lea edx, [esp + 0x18]
push str.Name_i
push edx
call fcn.0058aded
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov edx, dword [ecx + edi]
mov ecx, dword [esp + 0x74]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], edx
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 5
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4628
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4628
lea edx, [esp + 0x18]
lea eax, [esp + 0x3c]
push edx
push 0x664810
push eax
call fcn.0059390a
or dword [esp + 0x10], 2
mov byte [esp + 0x68], 6
jmp 0x4f462c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x68], 8
test al, 2
je 0x4f4659
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
and al, 0xfd
mov dword [esp + 0x10], eax
call fcn.005936db
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
push ebp
call ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 5
call fcn.005936db
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call fcn.005936db
mov ecx, dword [0x639698]
mov dword [esp + 0x78], ecx
push esi
lea edx, [esp + 0x18]
push str.Label_i
push edx
mov byte [esp + 0x74], 9
call fcn.0058aded
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [eax + 4]
lea ecx, [ecx + edi + 4]
call fcn.0050cd90
lea edx, [esp + 0x48]
push eax
push edx
call fcn.0050cef0
add esp, 8
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], 0xa
call fcn.00593814
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 9
call fcn.005936db
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], eax
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0xb
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4747
push 0x2f
lea ecx, [esp + 0x20]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4747
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x4c]
push eax
push 0x664810
push ecx
call fcn.0059390a
or dword [esp + 0x10], 4
mov byte [esp + 0x68], 0xc
jmp 0x4f474b
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x68], 0xe
test al, 4
je 0x4f4778
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
and al, 0xfb
mov dword [esp + 0x10], eax
call fcn.005936db
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
push ebp
call ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0xb
call fcn.005936db
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 9
call fcn.005936db
push esi
lea edx, [esp + 0x18]
push str.Text_i
push edx
call fcn.0058aded
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [eax + 4]
lea ecx, [ecx + edi + 0x20]
call fcn.0050cd90
lea edx, [esp + 0x50]
push eax
push edx
call fcn.0050cef0
add esp, 8
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], 0xf
call fcn.00593814
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 9
call fcn.005936db
lea eax, [esp + 0x78]
push eax
call fcn.004ebb10
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x44], edx
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0x10
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4864
push 0x2f
lea ecx, [esp + 0x24]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4864
lea ecx, [esp + 0x20]
lea edx, [esp + 0x54]
push ecx
push 0x664810
push edx
call fcn.0059390a
or dword [esp + 0x10], 8
mov byte [esp + 0x68], 0x11
jmp 0x4f4868
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x68], 0x13
test al, 8
je 0x4f4895
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
and al, 0xf7
mov dword [esp + 0x10], eax
call fcn.005936db
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
push ebp
call ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 0x10
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 9
call fcn.005936db
push esi
lea eax, [esp + 0x18]
push str.BkColor_i
push eax
call fcn.0058aded
mov ecx, dword [0x639698]
add esp, 0xc
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x70]
mov byte [esp + 0x68], 0x14
mov eax, dword [edx + 4]
lea edx, [esp + 0x28]
mov ecx, dword [eax + edi + 0x3c]
push ecx
push 0x625a90
push edx
call fcn.0058aded
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x24]
push edx
mov dword [esp + 0x48], eax
call fcn.00593749
push 0x5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0x15
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4969
push 0x2f
lea ecx, [esp + 0x28]
call fcn.00593ba2
cmp eax, 0xffffffff
jne 0x4f4969
lea eax, [esp + 0x24]
lea ecx, [esp + 0x58]
push eax
push 0x664810
push ecx
call fcn.0059390a
or dword [esp + 0x10], 0x10
mov byte [esp + 0x68], 0x16
jmp 0x4f496d
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
call fcn.00593450
mov al, byte [esp + 0x10]
mov dword [esp + 0x68], 0x18
test al, 0x10
je 0x4f499a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
and al, 0xef
mov dword [esp + 0x10], eax
call fcn.005936db
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
push ebp
call ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x15
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x14
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 9
call fcn.005936db
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 0
call fcn.005936db
mov eax, dword [esp + 0x5c]
inc esi
add edi, 0x40
cmp esi, eax
jl 0x4f45ac
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret