Function at 0x407d80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c941
mov eax, dword fs:[0]
push eax
mov eax, 0x2a08
call fcn.004b0330
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a10], ecx
call fcn.0040ba30
push eax
call fcn.0040b910
mov ecx, eax
call fcn.004010d0
push 0x104
lea eax, [ebp - 0xa3c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0xa3c]
push ecx
call fcn.00404220
add esp, 8
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov word [ebp - 0x115c], ax
push 0x206
push 0
lea ecx, [ebp - 0x115a]
push ecx
call fcn.004af7d0
add esp, 0xc
call fcn.0040b910
mov ecx, eax
call fcn.00401390
push eax
push 0x549ccc
lea edx, [ebp - 0x115c]
push edx
call fcn.004af679
add esp, 0xc
xor eax, eax
mov word [ebp - 0xf54], ax
push 0x206
push 0
lea ecx, [ebp - 0xf52]
push ecx
call fcn.004af7d0
add esp, 0xc
lea edx, [ebp - 0x115c]
push edx
push 0x104
lea eax, [ebp - 0xf54]
push eax
push 0x549cd4
push 0x549cd8
push 0x549cf4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
mov word [ebp - 0x1f9c], cx
push 0x206
push 0
lea edx, [ebp - 0x1f9a]
push edx
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x115c]
push eax
push 0x104
lea ecx, [ebp - 0x1f9c]
push ecx
push 0x549d08
push 0x549d0c
push 0x549d28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0x156c], dx
push 0x206
push 0
lea eax, [ebp - 0x156a]
push eax
call fcn.004af7d0
add esp, 0xc
lea ecx, [ebp - 0x115c]
push ecx
push 0x104
lea edx, [ebp - 0x156c]
push edx
push 0x549d3c
push 0x549d40
push 0x549d64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [ebp - 0x25b4], ax
push 0x206
push 0
lea ecx, [ebp - 0x25b2]
push ecx
call fcn.004af7d0
add esp, 0xc
lea edx, [ebp - 0x115c]
push edx
push 0x104
lea eax, [ebp - 0x25b4]
push eax
push 0x549d78
push 0x549d7c
push 0x549da0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
mov word [ebp - 0x1b8c], cx
push 0x206
push 0
lea edx, [ebp - 0x1b8a]
push edx
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x115c]
push eax
push 0x104
lea ecx, [ebp - 0x1b8c]
push ecx
push 0x549db4
push 0x549db8
push 0x549dd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0x1364], dx
push 0x206
push 0
lea eax, [ebp - 0x1362]
push eax
call fcn.004af7d0
add esp, 0xc
lea ecx, [ebp - 0x115c]
push ecx
push 0x104
lea edx, [ebp - 0x1364]
push edx
push 0x549dec
push 0x549df0
push 0x549e08
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004af7d0
add esp, 0xc
lea edx, [ebp - 0x115c]
push edx
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x549e1c
push 0x549e20
push 0x549e38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
mov word [ebp - 0x62c], cx
push 0x206
push 0
lea edx, [ebp - 0x62a]
push edx
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x115c]
push eax
push 0x104
lea ecx, [ebp - 0x62c]
push ecx
push 0x549e4c
push 0x549e50
push 0x549e74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0x1984], dx
push 0x206
push 0
lea eax, [ebp - 0x1982]
push eax
call fcn.004af7d0
add esp, 0xc
lea ecx, [ebp - 0x115c]
push ecx
push 0x104
lea edx, [ebp - 0x1984]
push edx
push 0x549e88
push 0x549e8c
push 0x549eac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [ebp - 0x21a4], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a2]
push ecx
call fcn.004af7d0
add esp, 0xc
lea edx, [ebp - 0x115c]
push edx
push 0x104
lea eax, [ebp - 0x21a4]
push eax
push 0x549ec0
push 0x549ec4
push 0x549ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
mov word [ebp - 0x23ac], cx
push 0x206
push 0
lea edx, [ebp - 0x23aa]
push edx
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x115c]
push eax
push 0x104
lea ecx, [ebp - 0x23ac]
push ecx
push 0x549ef4
push 0x549ef8
push 0x549f1c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0x1774], dx
push 0x206
push 0
lea eax, [ebp - 0x1772]
push eax
call fcn.004af7d0
add esp, 0xc
lea ecx, [ebp - 0x115c]
push ecx
push 0x104
lea edx, [ebp - 0x1774]
push edx
push 0x549f30
push 0x549f34
push 0x549f4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [ebp - 0x1d94], ax
push 0x206
push 0
lea ecx, [ebp - 0x1d92]
push ecx
call fcn.004af7d0
add esp, 0xc
mov byte [ebp - 0xd4c], 0
push 0x103
push 0
lea edx, [ebp - 0xd4b]
push edx
call fcn.004af7d0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xc44], ax
push 0x206
push 0
lea ecx, [ebp - 0xc42]
push ecx
call fcn.004af7d0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x424], dx
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.004af7d0
add esp, 0xc
lea ecx, [ebp - 0xa3c]
push ecx
push 0x549f60
lea edx, [ebp - 0xc44]
push edx
call fcn.004af679
add esp, 0xc
lea eax, [ebp - 0xc44]
push eax
push 0x104
lea ecx, [ebp - 0x424]
push ecx
push 0x549f7c
push 0x549f84
push 0x549f98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1774]
push edx
lea eax, [ebp - 0x23ac]
push eax
lea ecx, [ebp - 0x21a4]
push ecx
lea edx, [ebp - 0x1984]
push edx
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x1364]
push edx
lea eax, [ebp - 0x1b8c]
push eax
lea ecx, [ebp - 0x25b4]
push ecx
lea edx, [ebp - 0x156c]
push edx
lea eax, [ebp - 0x1f9c]
push eax
lea ecx, [ebp - 0xf54]
push ecx
lea edx, [ebp - 0x424]
push edx
push 0x549fa8
push 0x549fb0
push 0x549fb8
push str._s__s._s__s__s__s__s__s__s__s__s__s__s__s__s__s
lea eax, [ebp - 0x1d94]
push eax
call fcn.004af679
add esp, 0x48
mov dword [ebp - 0x25b8], 0
jmp 0x4082dc
mov ecx, dword [ebp - 0x25b8]
add ecx, 1
mov dword [ebp - 0x25b8], ecx
cmp dword [ebp - 0x25b8], 0x10
jge 0x40839b
xor edx, edx
mov word [ebp - 0x29cc], dx
push 0x206
push 0
lea eax, [ebp - 0x29ca]
push eax
call fcn.004af7d0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x27c4], cx
push 0x206
push 0
lea edx, [ebp - 0x27c2]
push edx
call fcn.004af7d0
add esp, 0xc
mov eax, dword [ebp - 0x25b8]
push eax
push str.SkinStylebg_d
lea ecx, [ebp - 0x27c4]
push ecx
call fcn.004af679
add esp, 0xc
lea edx, [ebp - 0x115c]
push edx
push 0x104
lea eax, [ebp - 0x29cc]
push eax
push 0x54a03c
lea ecx, [ebp - 0x27c4]
push ecx
push 0x54a040
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x54a054
lea edx, [ebp - 0x1d94]
push edx
call fcn.004af779
add esp, 8
lea eax, [ebp - 0x29cc]
push eax
lea ecx, [ebp - 0x1d94]
push ecx
call fcn.004af779
add esp, 8
jmp 0x4082cd
lea edx, [ebp - 0xd4c]
push edx
lea eax, [ebp - 0x1d94]
push eax
call fcn.0040f920
add esp, 8
xor ecx, ecx
mov word [ebp - 0x834], cx
push 0x206
push 0
lea edx, [ebp - 0x832]
push edx
call fcn.004af7d0
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0x20
call fcn.0048b8bd
add esp, 4
mov dword [ebp - 0x29d4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x29d4], 0
je 0x40840a
mov ecx, dword [ebp - 0x29d4]
call fcn.0040a290
mov dword [ebp - 0x2a14], eax
jmp 0x408414
mov dword [ebp - 0x2a14], 0
mov eax, dword [ebp - 0x2a14]
mov dword [ebp - 0x29d0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x29d0]
mov dword [ebp - 0x1778], ecx
cmp dword [ebp - 0x1778], 0
jne 0x408443
xor eax, eax
jmp 0x4084f0
push 0x54a058
lea edx, [ebp - 0xa3c]
push edx
push 0x54a078
lea eax, [ebp - 0x834]
push eax
call fcn.004af679
add esp, 0x10
push 0x54a084
lea ecx, [ebp - 0x29f0]
call fcn.00404890
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x834]
push ecx
lea ecx, [ebp - 0x2a0c]
call fcn.004063a0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x29f0]
push edx
lea eax, [ebp - 0x2a0c]
push eax
mov ecx, dword [ebp - 0x1778]
call fcn.00409fb0
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0c]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29f0]
call fcn.00404910
cmp dword [ebp - 0x10], 0
jne 0x4084d7
xor eax, eax
jmp 0x4084f0
lea ecx, [ebp - 0xd4c]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x14]
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret