Function at 0x42b860
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 0x4447b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1240
call fcn.00420c00
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov dword [ebp - 0x10], esp
je 0x42cf98
mov al, byte [0x452040]
test al, al
je 0x42b8ba
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42b8ba
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, 0x446878
mov edi, 0x446870
push 0
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xcc], edi
call fcn.00403e8f
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.0040cb18
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], 0x432960
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.00442b6c
add esp, 0x14
test eax, eax
je 0x42cf77
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 0x42bfcb
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.0042410b
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.00420be5
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 0x42be1d
lea ecx, [ebp + 0xf]
push eax
lea edx, [ebp - 0x504]
mov esi, 0x446878
mov edi, 0x446870
push ecx
push edx
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x170], edi
call fcn.0040cb18
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.0040cb18
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.0041f3bb
add esp, 0xc
lea ecx, [ebp - 0x190]
lea edx, [ebp - 0x400]
push ecx
push eax
push edx
mov byte [ebp - 4], 5
call fcn.0041f3bb
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 0x42bdff
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x3d8]
push eax
call fcn.00437db0
push 4
lea ecx, [ebp - 0x388]
push 0
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00434550
mov esi, eax
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x3b0]
push edx
mov byte [ebp - 4], 8
call fcn.00437720
push esi
push eax
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 9
push eax
call fcn.0043c8b0
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0xa
je 0x42bb7f
add eax, 4
jmp 0x42bb81
xor eax, eax
mov ecx, dword [0x4465b0]
push ecx
push 0
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040439f
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
call fcn.0040e0a8
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 8
call fcn.0040e0a8
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 7
call fcn.0040e0a8
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 6
call fcn.0040e0a8
lea edx, [ebp - 0x11]
push 1
push edx
lea ecx, [ebp - 0x90]
call fcn.004362b0
lea eax, [ebp - 0x200]
push 0x104
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xb
call fcn.0041f5b0
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xc
call fcn.0040cea0
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.0040caad
mov ecx, dword [0x4465b0]
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.00404ba0
lea ecx, [ebp - 0xec]
call fcn.0040cea0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42bde7
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.0040e0a8
lea ecx, [ebp - 0x400]
mov byte [ebp - 4], 5
call fcn.0040e0a8
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.0040e0a8
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
call fcn.0040e0a8
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 2
call fcn.0040e0a8
lea edx, [ebp - 0x13]
push 1
push edx
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xffffffff
call fcn.004362b0
push 4
mov byte [ebp - 4], 0xd
call fcn.00420be5
add esp, 4
test eax, eax
je 0x42bd01
mov dword [eax], 1
jmp 0x42bd03
xor eax, eax
mov esi, 0x4473c0
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.0041f616
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
jne 0x42bd53
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 0x42bd97
lea ecx, [ebp - 0x1c0]
push 1
push ecx
lea ecx, [ebp - 0x54c]
call fcn.0041f434
lea edx, [ebp - 0x54c]
push 0x4485c8
push edx
call fcn.004226d7
mov edx, dword [0x4465b0]
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.0040439f
mov dword [ebp - 0x1cc], esi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xf
call fcn.0041f714
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 2
call fcn.0040e0a8
jmp 0x42bfae
lea ecx, [ebp - 0x90]
inc edi
mov byte [ebp - 4], 6
call fcn.0040e0a8
inc dword [ebp - 0x60]
jmp 0x42bb16
push 0x50
lea ecx, [ebp - 0x338]
call fcn.00435fa0
lea ecx, [ebp - 0x338]
push 0x448050
push ecx
call fcn.004226d7
push 8
call fcn.00420be5
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
test ebx, ebx
mov byte [ebp - 4], 0x10
je 0x42be5d
mov eax, dword [ebp - 0x68]
push eax
mov dword [ebx + 4], eax
call fcn.00420be5
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 0x42be5f
xor ebx, ebx
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 0x4465bc
mov dword [ebp - 0x3c], 0x4465b4
call fcn.00435ed0
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
mov byte [ebp - 0x58], al
call fcn.00415b54
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.00435ec0
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00435f20
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
test edx, edx
je 0x42beee
lea eax, [ebp - 0x504]
test eax, eax
je 0x42bed6
lea edi, [ebp - 0x504]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42bed8
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.0040cba8
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.00436310
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf4]
add ecx, 0x30
push eax
mov byte [ebp - 4], 0x17
call fcn.00436180
mov esi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x16
call fcn.0040e0a8
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.0041a455
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.00415b54
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.00420754
mov edi, dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
jmp 0x42b9db
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.0040cea0
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.00420be5
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x1a
je 0x42c0aa
mov ecx, esi
call fcn.0040f7a4
lea edx, [ebp + 0xf]
push 1
push edx
lea ecx, [esi + 0x158]
call fcn.00415a75
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x13]
push eax
push ecx
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x1b
call fcn.00434600
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x1c
call fcn.00434790
lea ecx, [ebp - 0x19]
lea edx, [ebp - 0x14]
push ecx
push edx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x1d
call fcn.00434920
lea eax, [ebp - 0x21]
lea ecx, [ebp - 0x15]
push eax
push ecx
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x1e
call fcn.00434ab0
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x1f
call fcn.00434d60
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
mov ebx, esi
jmp 0x42c0ac
xor ebx, ebx
mov ecx, 0x451714
mov byte [ebp - 4], 2
test ecx, ecx
mov esi, ecx
jne 0x42c0c0
mov esi, 0x451a54
push esi
call fcn.00420bc8
add esp, 4
lea ecx, [ebx + 0x15c]
push eax
push esi
call fcn.00416088
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.0040cea0
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.004342d0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004321d0
lea eax, [ebx + 0x184]
mov ecx, esi
push eax
push 0x451704
call fcn.0042ec40
lea ecx, [ebx + 0x194]
push ecx
push 0x451704
mov ecx, esi
call fcn.0042efc0
lea edi, [ebx + 0x1b4]
mov ecx, esi
push edi
push 0x451704
call fcn.0042f960
push edi
push 0x451704
mov ecx, esi
call fcn.004306a0
xor edi, edi
lea ecx, [ebp - 0x5c]
push edi
mov dword [ebx + 0x14c], esi
mov dword [ebp - 0x5c], 0x4471a0
mov dword [ebp - 0x3c], 0x447198
call fcn.00435ed0
mov edx, 0x451714
mov byte [ebp - 4], 0x20
test edx, edx
mov eax, edx
jne 0x42c1db
mov eax, 0x451a54
lea ecx, [ebp + 0xf]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004357e0
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.00435f20
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.00436c20
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0x24
call fcn.004369b0
mov esi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x23
call fcn.0040e0a8
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.0041a455
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.00415b54
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.0040cea0
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 0x42c93f
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], 0x4471a0
mov dword [ebp - 0x70], 0x447198
call fcn.00435ed0
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x27
push ecx
lea ecx, [ebp - 0x8c]
call fcn.004380e0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x28
call fcn.00435ec0
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x29
call fcn.00435f20
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x42c3b1
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x42c396
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c398
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.004354d0
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.00420bc8
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push str.ALL_
call fcn.004358b0
cmp eax, dword [0x4465b0]
je 0x42c8c9
test eax, eax
jne 0x42c8c9
push 0x1d8
call fcn.00420be5
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x2f
je 0x42c4c3
mov ecx, esi
call fcn.0040f7a4
lea ecx, [ebp - 0x16]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.00415a75
lea edx, [ebp - 0x15]
lea eax, [ebp - 0x21]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x30
call fcn.00434600
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x19]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x31
call fcn.00434790
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x13]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x32
call fcn.00434920
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x33
call fcn.00434ab0
lea ecx, [ebp - 0x2e]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x34
call fcn.00434d60
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x42c4c5
xor esi, esi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x5c], 0x4471a0
mov dword [ebp - 0x3c], 0x447198
call fcn.00435ed0
lea eax, [ebp - 0x2b]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x35
call fcn.004380e0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x36
call fcn.00435ec0
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x37
call fcn.00435f20
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x39
test edx, edx
je 0x42c550
lea eax, [ebp - 0x168]
test eax, eax
je 0x42c538
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c53a
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.004354d0
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 [0x447178]
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.00415e1c
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.0041a455
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.00415b54
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.0040cea0
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.004342d0
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004321d0
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0042ec40
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0042efc0
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x1b4]
lea edx, [ebp - 0x168]
push edi
push edx
call fcn.0042f960
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x168]
push edi
push eax
call fcn.004306a0
mov ecx, dword [ebp + 8]
push 0
mov dword [esi + 0x14c], ecx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x4471a0
mov dword [ebp - 0xa4], 0x447198
call fcn.00435ed0
lea edx, [ebp - 0x2d]
lea ecx, [ebp - 0xc0]
push edx
mov byte [ebp - 4], 0x3d
call fcn.004380e0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x3e
call fcn.00435ec0
push 0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x3f
call fcn.00435f20
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x41
test ecx, ecx
je 0x42c76e
lea edx, [ebp - 0x168]
test edx, edx
je 0x42c753
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c755
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.004354d0
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.00436c20
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [edx + 0x54]
mov byte [ebp - 4], 0x43
call fcn.004369b0
mov edi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x42
call fcn.0040e0a8
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.0041a455
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.00415b54
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.0041a455
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.00415b54
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 0x42c2f6
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.0041a455
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.00415b54
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 0x42c2f6
lea ebx, [ebp - 0x1250]
cmp byte [ebx], 0
je 0x42cdce
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], 0x4471a0
mov dword [ebp - 0x70], 0x447198
call fcn.00435ed0
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x48
push ecx
lea ecx, [ebp - 0x8c]
call fcn.004380e0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x49
call fcn.00435ec0
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x4a
call fcn.00435f20
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x42ca00
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x42c9e5
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c9e7
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.004354d0
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.00420bc8
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push 0x451714
call fcn.004358b0
cmp eax, dword [0x4465b0]
je 0x42ca4e
test eax, eax
je 0x42ca64
lea ecx, [ebp - 0x168]
push ecx
push str.SKINS
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x42cadd
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.0041a455
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.00415b54
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 0x42c945
push 0x1d8
call fcn.00420be5
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x50
je 0x42cb99
mov ecx, esi
call fcn.0040f7a4
lea ecx, [ebp - 0x2d]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.00415a75
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x29]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x51
call fcn.00434600
lea ecx, [ebp - 0x2b]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x52
call fcn.00434790
lea eax, [ebp - 0x2e]
lea ecx, [ebp - 0x18]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x53
call fcn.00434920
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x15]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x54
call fcn.00434ab0
lea ecx, [ebp - 0x21]
lea edx, [ebp - 0x14]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x55
call fcn.00434d60
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x42cb9b
xor esi, esi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x4d
mov dword [ebp - 0x5c], 0x4471a0
mov dword [ebp - 0x3c], 0x447198
call fcn.00435ed0
lea eax, [ebp - 0x19]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x56
call fcn.004380e0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x57
call fcn.00435ec0
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x58
call fcn.00435f20
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x5a
test edx, edx
je 0x42cc26
lea eax, [ebp - 0x168]
test eax, eax
je 0x42cc0e
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42cc10
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.004354d0
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 [0x447178]
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.00415e1c
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.0041a455
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.00415b54
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.0040cea0
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.004342d0
mov ecx, edi
call fcn.004321d0
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0042ec40
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0042efc0
lea edx, [esi + 0x1b4]
lea eax, [ebp - 0x168]
push edx
push eax
mov ecx, edi
call fcn.004306a0
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.004342d0
lea eax, [ebp - 0x190]
lea ecx, [edi + 0x54]
push eax
mov byte [ebp - 4], 0x5e
call fcn.00435220
lea ecx, [ebp - 0x190]
mov dword [eax], esi
mov byte [ebp - 4], 0x4d
call fcn.0040e0a8
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.0040e0a8
jmp 0x42c945
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x30]
push ecx
call fcn.0043caa0
add esp, 0xffffffdc
lea edx, [ebp - 0xec]
mov ecx, esp
mov dword [ebp + 8], esp
push 1
push edx
call fcn.004363c0
call fcn.0041f20b
mov eax, dword [esi + 0x68]
add esp, 0x28
test eax, eax
mov dword [ebp - 4], 1
je 0x42ce1f
push str.GetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ce1f
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.0040e0a8
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e0a8
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.0040e0a8
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e0a8
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