Function at 0x42bc00
Capabilities:
Check if file exists
Get file attributes
Parse pe header
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4449b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1240
call fcn.00420f40
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov dword [ebp - 0x10], esp
je 0x42d338
mov al, byte [0x452040]
test al, al
je 0x42bc5a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42bc5a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0x17]
mov esi, 0x446870
mov edi, 0x446868
push 0
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xcc], edi
call fcn.00403e51
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0x13]
push 0
push ecx
push edx
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1f4], esi
mov dword [ebp - 0x1d4], edi
call fcn.0040cc06
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x28f]
mov byte [ebp - 0x290], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.NO_DOUBT
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 2
push eax
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x64f]
mov byte [ebp - 0x650], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x650]
stosw word es:[edi], ax
push ecx
push edx
stosb byte es:[edi], al
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x290]
push 0
push ecx
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x100], 0x432d00
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], 0
call esi
push eax
lea edx, [ebp - 0x290]
lea eax, [ebp - 0x650]
push edx
push eax
call fcn.00442d6c
add esp, 0x14
test eax, eax
je 0x42d317
mov ecx, dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x503]
mov byte [ebp - 0x504], 0
mov ebx, dword [ecx]
mov ecx, 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
mov edx, dword [ebp + 8]
cmp edi, dword [edx + 4]
jge 0x42c36b
lea eax, [ebp - 0x504]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x504]
push ecx
call esi
inc eax
add ebx, eax
add edi, eax
push ebx
call fcn.0042443b
add esp, 4
mov dword [ebp - 0x68], eax
push ebx
call esi
mov edx, dword [ebp - 0x68]
inc eax
add edi, eax
push edx
mov dword [ebp - 0x94], edi
add ebx, eax
call fcn.00420f25
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
mov ecx, eax
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
add ebx, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x94]
push str.skin.ini
add ecx, eax
lea eax, [ebp - 0x504]
push eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x60], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x42c1bd
lea ecx, [ebp + 0xf]
push eax
lea edx, [ebp - 0x504]
mov esi, 0x446870
mov edi, 0x446868
push ecx
push edx
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x170], edi
call fcn.0040cc06
lea eax, [ebp - 0x17]
push 0
push eax
push 0x44caa4
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x298], edi
call fcn.0040cc06
lea ecx, [ebp - 0x2b8]
lea edx, [ebp - 0x1f4]
push ecx
lea eax, [ebp - 0xc0]
push edx
push eax
mov byte [ebp - 4], 4
call fcn.0041f710
add esp, 0xc
lea ecx, [ebp - 0x190]
lea edx, [ebp - 0x400]
push ecx
push eax
push edx
mov byte [ebp - 4], 5
call fcn.0041f710
add esp, 0xc
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xffff
jge 0x42c19f
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x3d8]
push eax
call fcn.00438170
push 4
lea ecx, [ebp - 0x388]
push 0
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004348f0
mov esi, eax
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x3b0]
push edx
mov byte [ebp - 4], 8
call fcn.00437ae0
push esi
push eax
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 9
push eax
call fcn.0043cc50
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0xa
je 0x42bf1f
add eax, 4
jmp 0x42bf21
xor eax, eax
mov ecx, dword [0x4465a8]
push ecx
push 0
push eax
lea ecx, [ebp - 0xe8]
call fcn.00404361
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
call fcn.00403643
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 8
call fcn.00403643
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 7
call fcn.00403643
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 6
call fcn.00403643
lea edx, [ebp - 0x11]
push 1
push edx
lea ecx, [ebp - 0x90]
call fcn.00436680
lea eax, [ebp - 0x200]
push 0x104
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xb
call fcn.0041a663
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xc
call fcn.0040cf8e
mov ecx, edi
mov dword [esi + 8], eax
and ecx, 0xffff
push ecx
push str._hx.rra
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 0xb
call fcn.0040cb9b
mov ecx, dword [0x4465a8]
lea eax, [ebp - 0x90]
neg eax
sbb eax, eax
lea edx, [ebp - 0x8c]
and eax, edx
push ecx
push 0
push eax
lea ecx, [ebp - 0xe8]
call fcn.00404b62
lea ecx, [ebp - 0xec]
call fcn.0040cf8e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42c187
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00403643
lea ecx, [ebp - 0x400]
mov byte [ebp - 4], 5
call fcn.00403643
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00403643
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
call fcn.00403643
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 2
call fcn.00403643
lea edx, [ebp - 0x13]
push 1
push edx
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xffffffff
call fcn.00436680
push 4
mov byte [ebp - 4], 0xd
call fcn.00420f25
add esp, 4
test eax, eax
je 0x42c0a1
mov dword [eax], 1
jmp 0x42c0a3
xor eax, eax
mov esi, 0x4473b8
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x1cc], esi
push 0
push 0
push 2
push 0x80
push 1
lea eax, [ebp - 0xec]
push 0x40000000
push eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xe
call fcn.0041f93e
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
jne 0x42c0f3
mov eax, 1
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x98]
push 0
push ecx
push eax
mov eax, dword [ebp - 0x1c4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42c137
lea ecx, [ebp - 0x1c0]
push 1
push ecx
lea ecx, [ebp - 0x54c]
call fcn.0041f789
lea edx, [ebp - 0x54c]
push 0x4485c0
push edx
call fcn.00422a17
mov edx, dword [0x4465a8]
lea eax, [ebp - 0xec]
neg eax
sbb eax, eax
lea ecx, [ebp - 0xe8]
and eax, ecx
push edx
push 0
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0xc]
call fcn.00404361
mov dword [ebp - 0x1cc], esi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xf
call fcn.0041fa3c
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 2
call fcn.00403643
jmp 0x42c34e
lea ecx, [ebp - 0x90]
inc edi
mov byte [ebp - 4], 6
call fcn.00403643
inc dword [ebp - 0x60]
jmp 0x42beb6
push 0x50
lea ecx, [ebp - 0x338]
call fcn.00436370
lea ecx, [ebp - 0x338]
push 0x448048
push ecx
call fcn.00422a17
push 8
call fcn.00420f25
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
test ebx, ebx
mov byte [ebp - 4], 0x10
je 0x42c1fd
mov eax, dword [ebp - 0x68]
push eax
mov dword [ebx + 4], eax
call fcn.00420f25
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx], eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x42c1ff
xor ebx, ebx
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 0x4465b4
mov dword [ebp - 0x3c], 0x4465ac
call fcn.004362a0
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
mov byte [ebp - 0x58], al
call fcn.00415c34
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.00436290
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.004362f0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
test edx, edx
je 0x42c28e
lea eax, [ebp - 0x504]
test eax, eax
je 0x42c276
lea edi, [ebp - 0x504]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c278
xor ecx, ecx
lea edx, [ebp - 0x12]
push 1
push edx
lea eax, [ebp - 0x504]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040cc96
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
lea eax, [ebp + edx - 0x5c]
mov eax, dword [ebp + edx - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x20], 0
call fcn.004366e0
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf4]
add ecx, 0x30
push eax
mov byte [ebp - 4], 0x17
call fcn.00436550
mov esi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x16
call fcn.00403643
mov dword [esi + 0x34], ebx
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x3c]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x19
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x48]
neg ecx
sbb ecx, ecx
mov dword [esi], eax
and ecx, edx
call fcn.0041a600
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x28], ecx
call fcn.00415c34
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00420a94
mov edi, dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
jmp 0x42bd7b
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.0040cf8e
push eax
push 1
push str.VERSION
push str.SKINS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x1d8
mov dword [esi + 0x50], eax
call fcn.00420f25
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x1a
je 0x42c44a
mov ecx, esi
call fcn.0040f85d
lea edx, [ebp + 0xf]
push 1
push edx
lea ecx, [esi + 0x158]
call fcn.00415b55
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x13]
push eax
push ecx
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x1b
call fcn.004349a0
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x1c
call fcn.00434b30
lea ecx, [ebp - 0x19]
lea edx, [ebp - 0x14]
push ecx
push edx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x1d
call fcn.00434cc0
lea eax, [ebp - 0x21]
lea ecx, [ebp - 0x15]
push eax
push ecx
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x1e
call fcn.00434e50
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x1f
call fcn.00435100
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
mov ebx, esi
jmp 0x42c44c
xor ebx, ebx
mov ecx, 0x451714
mov byte [ebp - 4], 2
test ecx, ecx
mov esi, ecx
jne 0x42c460
mov esi, 0x451a54
push esi
call fcn.00420f08
add esp, 4
lea ecx, [ebx + 0x15c]
push eax
push esi
call fcn.004161f6
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x31b]
mov byte [ebp - 0x31c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [ebp - 0x31c]
push str.TEXTCOLOR
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 8]
lea ecx, [eax + 8]
call fcn.0040cf8e
push eax
lea ecx, [ebp - 0x290]
push 0x64
push ecx
lea edx, [ebp - 0x31c]
push 0x451a40
push edx
push 0x451704
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 8
lea esi, [ebx + 0x1c4]
call dword [sym.imp.USER32.dll_GetSysColor]
push esi
mov dword [esi], eax
sub esp, 0x28
lea eax, [ebp + 0xf]
mov ecx, esp
mov dword [ebp + 0xc], esp
push 1
lea edx, [ebp - 0x290]
push eax
push edx
call fcn.00434670
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00432570
lea eax, [ebx + 0x184]
mov ecx, esi
push eax
push 0x451704
call fcn.0042efe0
lea ecx, [ebx + 0x194]
push ecx
push 0x451704
mov ecx, esi
call fcn.0042f360
lea edi, [ebx + 0x1b4]
mov ecx, esi
push edi
push 0x451704
call fcn.0042fd00
push edi
push 0x451704
mov ecx, esi
call fcn.00430a40
xor edi, edi
lea ecx, [ebp - 0x5c]
push edi
mov dword [ebx + 0x14c], esi
mov dword [ebp - 0x5c], 0x447198
mov dword [ebp - 0x3c], 0x447190
call fcn.004362a0
mov edx, 0x451714
mov byte [ebp - 4], 0x20
test edx, edx
mov eax, edx
jne 0x42c57b
mov eax, 0x451a54
lea ecx, [ebp + 0xf]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00435ba0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
push edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x22
call fcn.004362f0
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x5c]
push edx
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x20], edi
call fcn.00436fe0
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0x24
call fcn.00436d70
mov esi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x23
call fcn.00403643
mov dword [esi + 0x34], ebx
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x3c]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x26
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x48]
neg ecx
sbb ecx, ecx
mov dword [esi], eax
and ecx, edx
call fcn.0041a600
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
mov byte [ebp - 4], 0x25
call fcn.00415c34
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
lea eax, [ebp + edx - 0x5c]
mov eax, dword [ebp + edx - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x2ff
xor eax, eax
lea edi, [ebp - 0x124f]
mov byte [ebp - 0x1250], 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, [ebp - 0x167]
mov byte [ebp - 0x168], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
add ecx, 8
stosb byte es:[edi], al
call fcn.0040cf8e
push eax
lea edx, [ebp - 0x1250]
push 0xc00
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
lea ebx, [ebp - 0x1250]
cmp byte [ebx], 0
je 0x42ccdf
lea eax, [ebp - 0x168]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [ebp - 0x90]
lea ebx, [ebx + eax + 1]
mov dword [ebp - 0x90], 0x447198
mov dword [ebp - 0x70], 0x447190
call fcn.004362a0
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x27
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00435a60
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x28
call fcn.00436290
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x29
call fcn.004362f0
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x42c751
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x42c736
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c738
xor ecx, ecx
lea edx, [ebp - 0x18]
push 1
push edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00435870
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 4]
lea eax, [ebp + edx - 0x90]
mov eax, dword [ebp + edx - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.ALL_
mov byte [ebp - 4], 0x2c
call fcn.00420f08
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push str.ALL_
call fcn.00435c70
cmp eax, dword [0x4465a8]
je 0x42cc69
test eax, eax
jne 0x42cc69
push 0x1d8
call fcn.00420f25
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x2f
je 0x42c863
mov ecx, esi
call fcn.0040f85d
lea ecx, [ebp - 0x16]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.00415b55
lea edx, [ebp - 0x15]
lea eax, [ebp - 0x21]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x30
call fcn.004349a0
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x19]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x31
call fcn.00434b30
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x13]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x32
call fcn.00434cc0
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x33
call fcn.00434e50
lea ecx, [ebp - 0x2e]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x34
call fcn.00435100
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x42c865
xor esi, esi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x5c], 0x447198
mov dword [ebp - 0x3c], 0x447190
call fcn.004362a0
lea eax, [ebp - 0x2b]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x35
call fcn.00435a60
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x36
call fcn.00436290
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x37
call fcn.004362f0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x39
test edx, edx
je 0x42c8f0
lea eax, [ebp - 0x168]
test eax, eax
je 0x42c8d8
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c8da
xor ecx, ecx
lea edx, [ebp - 0x29]
push 1
push edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00435870
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
lea eax, [ebp + edx - 0x5c]
mov eax, dword [ebp + edx - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [0x447170]
lea eax, [ebp - 0x5c]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x58]
and eax, ecx
push edx
push 0
push eax
lea ecx, [esi + 0x15c]
mov byte [ebp - 4], 0x3a
call fcn.00415f02
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x3c]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x3c
and eax, ecx
mov edx, dword [eax]
mov edi, dword [edx + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x5c]
mov dword [edi], eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 0x48]
and ecx, eax
call fcn.0041a600
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x58]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
mov byte [ebp - 4], 0x3b
mov dword [ebp - 0x98], ecx
call fcn.00415c34
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x2c
mov ecx, dword [eax + 4]
mov edx, dword [ebp + ecx - 0x5c]
lea eax, [ebp + ecx - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x31c]
push str.TEXTCOLOR
push eax
mov byte [ebp - 0x31c], 0
mov byte [ebp - 0x290], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0040cf8e
push eax
lea edx, [ebp - 0x290]
push 0x64
push edx
lea eax, [ebp - 0x31c]
push 0x451a40
lea ecx, [ebp - 0x168]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 8
lea edi, [esi + 0x1c4]
call dword [sym.imp.USER32.dll_GetSysColor]
push edi
mov dword [edi], eax
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x2c]
push 1
lea eax, [ebp - 0x290]
push edx
push eax
call fcn.00434670
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00432570
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0042efe0
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0042f360
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x1b4]
lea edx, [ebp - 0x168]
push edi
push edx
call fcn.0042fd00
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x168]
push edi
push eax
call fcn.00430a40
mov ecx, dword [ebp + 8]
push 0
mov dword [esi + 0x14c], ecx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x447198
mov dword [ebp - 0xa4], 0x447190
call fcn.004362a0
lea edx, [ebp - 0x2d]
lea ecx, [ebp - 0xc0]
push edx
mov byte [ebp - 4], 0x3d
call fcn.00435a60
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x3e
call fcn.00436290
push 0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x3f
call fcn.004362f0
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x41
test ecx, ecx
je 0x42cb0e
lea edx, [ebp - 0x168]
test edx, edx
je 0x42caf3
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42caf5
xor ecx, ecx
lea eax, [ebp - 0x2a]
push 1
push eax
push ecx
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00435870
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + eax - 0xc4]
lea eax, [ebp + eax - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0xc4]
push edx
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x42
mov dword [ebp - 0x20], 0
call fcn.00436fe0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [edx + 0x54]
mov byte [ebp - 4], 0x43
call fcn.00436d70
mov edi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x42
call fcn.00403643
mov dword [edi + 0x34], esi
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xa4]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x45
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xc4]
mov dword [esi], eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 0xb0]
and ecx, eax
call fcn.0041a600
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0xc0]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
mov byte [ebp - 4], 0x44
mov dword [ebp - 0x94], ecx
call fcn.00415c34
mov eax, dword [ebp - 0xc4]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + ecx - 0xc4]
lea eax, [ebp + ecx - 0xc4]
push edx
call edi
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x70]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x47
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x90]
mov dword [esi], eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 0x7c]
and ecx, eax
call fcn.0041a600
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x8c]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
mov byte [ebp - 4], 0x46
mov dword [ebp - 0x60], ecx
call fcn.00415c34
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 4]
mov edx, dword [ebp + ecx - 0x90]
push edx
call edi
jmp 0x42c696
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x70]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x2e
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x90]
mov dword [esi], eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 0x7c]
and ecx, eax
call fcn.0041a600
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x8c]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
mov byte [ebp - 4], 0x2d
mov dword [ebp - 0x64], ecx
call fcn.00415c34
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 4]
mov edx, dword [ebp + ecx - 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42c696
lea ebx, [ebp - 0x1250]
cmp byte [ebx], 0
je 0x42d16e
lea eax, [ebp - 0x168]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [ebp - 0x90]
lea ebx, [ebx + eax + 1]
mov dword [ebp - 0x90], 0x447198
mov dword [ebp - 0x70], 0x447190
call fcn.004362a0
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x48
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00435a60
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x49
call fcn.00436290
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x4a
call fcn.004362f0
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x42cda0
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x42cd85
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42cd87
xor ecx, ecx
lea edx, [ebp - 0x2a]
push 1
push edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00435870
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 4]
lea eax, [ebp + edx - 0x90]
mov eax, dword [ebp + edx - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x451714
mov byte [ebp - 4], 0x4d
call fcn.00420f08
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push 0x451714
call fcn.00435c70
cmp eax, dword [0x4465a8]
je 0x42cdee
test eax, eax
je 0x42ce04
lea ecx, [ebp - 0x168]
push ecx
push str.SKINS
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x42ce7d
lea eax, [ebp - 0x90]
lea edx, [ebp - 0x70]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x4f
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x7c]
neg ecx
sbb ecx, ecx
mov dword [esi], eax
and ecx, edx
call fcn.0041a600
lea ecx, [ebp - 0x90]
lea eax, [ebp - 0x8c]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
mov byte [ebp - 4], 0x4e
mov dword [ebp - 0x98], ecx
call fcn.00415c34
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42cce5
push 0x1d8
call fcn.00420f25
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x50
je 0x42cf39
mov ecx, esi
call fcn.0040f85d
lea ecx, [ebp - 0x2d]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.00415b55
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x29]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x51
call fcn.004349a0
lea ecx, [ebp - 0x2b]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x52
call fcn.00434b30
lea eax, [ebp - 0x2e]
lea ecx, [ebp - 0x18]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x53
call fcn.00434cc0
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x15]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x54
call fcn.00434e50
lea ecx, [ebp - 0x21]
lea edx, [ebp - 0x14]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x55
call fcn.00435100
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x42cf3b
xor esi, esi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x4d
mov dword [ebp - 0x5c], 0x447198
mov dword [ebp - 0x3c], 0x447190
call fcn.004362a0
lea eax, [ebp - 0x19]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x56
call fcn.00435a60
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x57
call fcn.00436290
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x58
call fcn.004362f0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x5a
test edx, edx
je 0x42cfc6
lea eax, [ebp - 0x168]
test eax, eax
je 0x42cfae
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42cfb0
xor ecx, ecx
lea edx, [ebp - 0x12]
push 1
push edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00435870
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
lea eax, [ebp + edx - 0x5c]
mov eax, dword [ebp + edx - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [0x447170]
lea eax, [ebp - 0x5c]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x58]
and eax, ecx
push edx
push 0
push eax
lea ecx, [esi + 0x15c]
mov byte [ebp - 4], 0x5b
call fcn.00415f02
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x3c]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x5d
and eax, ecx
mov edx, dword [eax]
mov edi, dword [edx + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x5c]
mov dword [edi], eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 0x48]
and ecx, eax
call fcn.0041a600
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x58]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
mov byte [ebp - 4], 0x5c
mov dword [ebp - 0x20], ecx
call fcn.00415c34
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x4d
mov ecx, dword [eax + 4]
mov edx, dword [ebp + ecx - 0x5c]
lea eax, [ebp + ecx - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x31c]
push str.TEXTCOLOR
push eax
mov byte [ebp - 0x31c], 0
mov byte [ebp - 0x290], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [ebp + 8]
lea ecx, [edi + 8]
call fcn.0040cf8e
push eax
lea ecx, [ebp - 0x290]
push 0x64
push ecx
lea edx, [ebp - 0x31c]
push 0x451a40
lea eax, [ebp - 0x168]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esi + 0x1c4]
lea edx, [ebp - 0x13]
push ecx
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x28], esp
push 1
push edx
lea eax, [ebp - 0x290]
push eax
call fcn.00434670
mov ecx, edi
call fcn.00432570
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0042efe0
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0042f360
lea edx, [esi + 0x1b4]
lea eax, [ebp - 0x168]
push edx
push eax
mov ecx, edi
call fcn.00430a40
lea ecx, [ebp - 0x11]
push 1
lea edx, [ebp - 0x168]
push ecx
push edx
lea ecx, [ebp - 0x190]
mov dword [esi + 0x14c], edi
call fcn.00434670
lea eax, [ebp - 0x190]
lea ecx, [edi + 0x54]
push eax
mov byte [ebp - 4], 0x5e
call fcn.004355c0
lea ecx, [ebp - 0x190]
mov dword [eax], esi
mov byte [ebp - 4], 0x4d
call fcn.00403643
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.00403643
jmp 0x42cce5
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x30]
push ecx
call fcn.0043ce40
add esp, 0xffffffdc
lea edx, [ebp - 0xec]
mov ecx, esp
mov dword [ebp + 8], esp
push 1
push edx
call fcn.00436790
call fcn.0041f559
mov eax, dword [esi + 0x68]
add esp, 0x28
test eax, eax
mov dword [ebp - 4], 1
je 0x42d1bf
push str.GetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d1bf
call eax
shr eax, 1
and al, 1
mov byte [esi + 0x64], al
lea ecx, [ebp - 0x1f4]
mov byte [0x452040], 1
mov byte [ebp - 4], 0
call fcn.00403643
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.00403643
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0
call fcn.00403643
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.00403643
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret