Function at 0x42c030
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 0x447920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1240
call fcn.00420430
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov dword [ebp - 0x10], esp
je 0x42d768
mov al, byte [0x459038]
test al, al
je 0x42c08a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42c08a
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, 0x449500
mov edi, 0x4494f8
push 0
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xcc], edi
call fcn.004018ff
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.00404613
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], 0x433130
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.00442dcc
add esp, 0x14
test eax, eax
je 0x42d747
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 0x42c79b
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.00421c73
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.00420e10
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 0x42c5ed
lea ecx, [ebp + 0xf]
push eax
lea edx, [ebp - 0x504]
mov esi, 0x449500
mov edi, 0x4494f8
push ecx
push edx
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x170], edi
call fcn.00404613
lea eax, [ebp - 0x17]
push 0
push eax
push 0x4542a0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x298], edi
call fcn.00404613
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.0041e70e
add esp, 0xc
lea ecx, [ebp - 0x190]
lea edx, [ebp - 0x400]
push ecx
push eax
push edx
mov byte [ebp - 4], 5
call fcn.0041e70e
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 0x42c5cf
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x3d8]
push eax
call fcn.00437990
push 4
lea ecx, [ebp - 0x388]
push 0
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00434d20
mov esi, eax
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x3b0]
push edx
mov byte [ebp - 4], 8
call fcn.004374d0
push esi
push eax
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 9
push eax
call fcn.0043cce0
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0xa
je 0x42c34f
add eax, 4
jmp 0x42c351
xor eax, eax
mov ecx, dword [0x4494e0]
push ecx
push 0
push eax
lea ecx, [ebp - 0xe8]
call fcn.004021ed
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
call fcn.004014d4
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 8
call fcn.004014d4
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 7
call fcn.004014d4
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 6
call fcn.004014d4
lea edx, [ebp - 0x11]
push 1
push edx
lea ecx, [ebp - 0x90]
call fcn.004363e0
lea eax, [ebp - 0x200]
push 0x104
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xb
call fcn.0041e837
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xc
call fcn.004049fb
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.0041eb44
mov ecx, dword [0x4494e0]
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.00404a6d
lea ecx, [ebp - 0xec]
call fcn.004049fb
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42c5b7
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.004014d4
lea ecx, [ebp - 0x400]
mov byte [ebp - 4], 5
call fcn.004014d4
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.004014d4
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
call fcn.004014d4
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 2
call fcn.004014d4
lea edx, [ebp - 0x13]
push 1
push edx
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xffffffff
call fcn.004363e0
push 4
mov byte [ebp - 4], 0xd
call fcn.00420e10
add esp, 4
test eax, eax
je 0x42c4d1
mov dword [eax], 1
jmp 0x42c4d3
xor eax, eax
mov esi, vtable.is::file.0
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.00409d5a
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
jne 0x42c523
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 0x42c567
lea ecx, [ebp - 0x1c0]
push 1
push ecx
lea ecx, [ebp - 0x54c]
call fcn.00409ee8
lea edx, [ebp - 0x54c]
push 0x44cb30
push edx
call fcn.00421735
mov edx, dword [0x4494e0]
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.004021ed
mov dword [ebp - 0x1cc], esi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xf
call fcn.00409e7a
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 2
call fcn.004014d4
jmp 0x42c77e
lea ecx, [ebp - 0x90]
inc edi
mov byte [ebp - 4], 6
call fcn.004014d4
inc dword [ebp - 0x60]
jmp 0x42c2e6
push 0x50
lea ecx, [ebp - 0x338]
call fcn.0040cc30
lea ecx, [ebp - 0x338]
push 0x44b998
push ecx
call fcn.00421735
push 8
call fcn.00420e10
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
test ebx, ebx
mov byte [ebp - 4], 0x10
je 0x42c62d
mov eax, dword [ebp - 0x68]
push eax
mov dword [ebx + 4], eax
call fcn.00420e10
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 0x42c62f
xor ebx, ebx
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 0x4494ec
mov dword [ebp - 0x3c], 0x4494e4
call fcn.00436320
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
mov byte [ebp - 0x58], al
call fcn.004106a4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.00436310
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00436350
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
test edx, edx
je 0x42c6be
lea eax, [ebp - 0x504]
test eax, eax
je 0x42c6a6
lea edi, [ebp - 0x504]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c6a8
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.004046ed
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.00437140
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf4]
add ecx, 0x30
push eax
mov byte [ebp - 4], 0x17
call fcn.00436ca0
mov esi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x16
call fcn.004014d4
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.004046c5
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.004106a4
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.00420016
mov edi, dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
jmp 0x42c1ab
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.004049fb
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.00420e10
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x1a
je 0x42c87a
mov ecx, esi
call fcn.00413d71
lea edx, [ebp + 0xf]
push 1
push edx
lea ecx, [esi + 0x158]
call fcn.00410593
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x13]
push eax
push ecx
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x1b
call fcn.00434dd0
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x1c
call fcn.00434f60
lea ecx, [ebp - 0x19]
lea edx, [ebp - 0x14]
push ecx
push edx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x1d
call fcn.00435120
lea eax, [ebp - 0x21]
lea ecx, [ebp - 0x15]
push eax
push ecx
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x1e
call fcn.004352b0
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x1f
call fcn.00435560
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
mov ebx, esi
jmp 0x42c87c
xor ebx, ebx
mov ecx, 0x45871c
mov byte [ebp - 4], 2
test ecx, ecx
mov esi, ecx
jne 0x42c890
mov esi, 0x458a40
push esi
call fcn.00420c3f
add esp, 4
lea ecx, [ebx + 0x15c]
push eax
push esi
call fcn.00410ff6
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.004049fb
push eax
lea ecx, [ebp - 0x290]
push 0x64
push ecx
lea edx, [ebp - 0x31c]
push 0x458a44
push edx
push 0x45870c
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.00434aa0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004329a0
lea eax, [ebx + 0x184]
mov ecx, esi
push eax
push 0x45870c
call fcn.0042f410
lea ecx, [ebx + 0x194]
push ecx
push 0x45870c
mov ecx, esi
call fcn.0042f790
lea edi, [ebx + 0x1b4]
mov ecx, esi
push edi
push 0x45870c
call fcn.00430130
push edi
push 0x45870c
mov ecx, esi
call fcn.00430e70
xor edi, edi
lea ecx, [ebp - 0x5c]
push edi
mov dword [ebx + 0x14c], esi
mov dword [ebp - 0x5c], 0x449e7c
mov dword [ebp - 0x3c], 0x449e74
call fcn.00436320
mov edx, 0x45871c
mov byte [ebp - 4], 0x20
test edx, edx
mov eax, edx
jne 0x42c9ab
mov eax, 0x458a40
lea ecx, [ebp + 0xf]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00435fb0
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.00436350
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.00437ac0
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0x24
call fcn.00437760
mov esi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x23
call fcn.004098ee
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.004046c5
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.004106a4
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.004049fb
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 0x42d10f
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], 0x449e7c
mov dword [ebp - 0x70], 0x449e74
call fcn.00436320
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x27
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00437d70
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x28
call fcn.00436310
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x29
call fcn.00436350
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x42cb81
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x42cb66
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42cb68
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.00435ca0
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.00420c3f
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push str.ALL_
call fcn.00436080
cmp eax, dword [0x4494e0]
je 0x42d099
test eax, eax
jne 0x42d099
push 0x1d8
call fcn.00420e10
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x2f
je 0x42cc93
mov ecx, esi
call fcn.00413d71
lea ecx, [ebp - 0x16]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.00410593
lea edx, [ebp - 0x15]
lea eax, [ebp - 0x21]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x30
call fcn.00434dd0
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x19]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x31
call fcn.00434f60
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x13]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x32
call fcn.00435120
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x33
call fcn.004352b0
lea ecx, [ebp - 0x2e]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x34
call fcn.00435560
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x42cc95
xor esi, esi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x5c], 0x449e7c
mov dword [ebp - 0x3c], 0x449e74
call fcn.00436320
lea eax, [ebp - 0x2b]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x35
call fcn.00437d70
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x36
call fcn.00436310
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x37
call fcn.00436350
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x39
test edx, edx
je 0x42cd20
lea eax, [ebp - 0x168]
test eax, eax
je 0x42cd08
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42cd0a
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.00435ca0
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 [0x449d28]
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.00410f18
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.004046c5
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.004106a4
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.004049fb
push eax
lea edx, [ebp - 0x290]
push 0x64
push edx
lea eax, [ebp - 0x31c]
push 0x458a44
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.00434aa0
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004329a0
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0042f410
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0042f790
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x1b4]
lea edx, [ebp - 0x168]
push edi
push edx
call fcn.00430130
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x168]
push edi
push eax
call fcn.00430e70
mov ecx, dword [ebp + 8]
push 0
mov dword [esi + 0x14c], ecx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x449e7c
mov dword [ebp - 0xa4], 0x449e74
call fcn.00436320
lea edx, [ebp - 0x2d]
lea ecx, [ebp - 0xc0]
push edx
mov byte [ebp - 4], 0x3d
call fcn.00437d70
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x3e
call fcn.00436310
push 0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x3f
call fcn.00436350
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x41
test ecx, ecx
je 0x42cf3e
lea edx, [ebp - 0x168]
test edx, edx
je 0x42cf23
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42cf25
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.00435ca0
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.00437ac0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [edx + 0x54]
mov byte [ebp - 4], 0x43
call fcn.00437760
mov edi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x42
call fcn.004098ee
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.004046c5
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.004106a4
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.004046c5
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.004106a4
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 0x42cac6
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.004046c5
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.004106a4
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 0x42cac6
lea ebx, [ebp - 0x1250]
cmp byte [ebx], 0
je 0x42d59e
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], 0x449e7c
mov dword [ebp - 0x70], 0x449e74
call fcn.00436320
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x48
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00437d70
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x49
call fcn.00436310
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x4a
call fcn.00436350
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x42d1d0
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x42d1b5
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42d1b7
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.00435ca0
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 0x45871c
mov byte [ebp - 4], 0x4d
call fcn.00420c3f
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push 0x45871c
call fcn.00436080
cmp eax, dword [0x4494e0]
je 0x42d21e
test eax, eax
je 0x42d234
lea ecx, [ebp - 0x168]
push ecx
push str.SKINS
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x42d2ad
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.004046c5
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.004106a4
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 0x42d115
push 0x1d8
call fcn.00420e10
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x50
je 0x42d369
mov ecx, esi
call fcn.00413d71
lea ecx, [ebp - 0x2d]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.00410593
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x29]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x51
call fcn.00434dd0
lea ecx, [ebp - 0x2b]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x52
call fcn.00434f60
lea eax, [ebp - 0x2e]
lea ecx, [ebp - 0x18]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x53
call fcn.00435120
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x15]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x54
call fcn.004352b0
lea ecx, [ebp - 0x21]
lea edx, [ebp - 0x14]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x55
call fcn.00435560
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x42d36b
xor esi, esi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x4d
mov dword [ebp - 0x5c], 0x449e7c
mov dword [ebp - 0x3c], 0x449e74
call fcn.00436320
lea eax, [ebp - 0x19]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x56
call fcn.00437d70
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x57
call fcn.00436310
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x58
call fcn.00436350
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x5a
test edx, edx
je 0x42d3f6
lea eax, [ebp - 0x168]
test eax, eax
je 0x42d3de
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42d3e0
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.00435ca0
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 [0x449d28]
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.00410f18
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.004046c5
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.004106a4
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.004049fb
push eax
lea ecx, [ebp - 0x290]
push 0x64
push ecx
lea edx, [ebp - 0x31c]
push 0x458a44
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.00434aa0
mov ecx, edi
call fcn.004329a0
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0042f410
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0042f790
lea edx, [esi + 0x1b4]
lea eax, [ebp - 0x168]
push edx
push eax
mov ecx, edi
call fcn.00430e70
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.00434aa0
lea eax, [ebp - 0x190]
lea ecx, [edi + 0x54]
push eax
mov byte [ebp - 4], 0x5e
call fcn.004359f0
lea ecx, [ebp - 0x190]
mov dword [eax], esi
mov byte [ebp - 4], 0x4d
call fcn.004098ee
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.004098ee
jmp 0x42d115
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x30]
push ecx
call fcn.0043ced0
add esp, 0xffffffdc
lea edx, [ebp - 0xec]
mov ecx, esp
mov dword [ebp + 8], esp
push 1
push edx
call fcn.00436440
call fcn.0041e557
mov eax, dword [esi + 0x68]
add esp, 0x28
test eax, eax
mov dword [ebp - 4], 1
je 0x42d5ef
push str.GetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d5ef
call eax
shr eax, 1
and al, 1
mov byte [esi + 0x64], al
lea ecx, [ebp - 0x1f4]
mov byte [0x459038], 1
mov byte [ebp - 4], 0
call fcn.004014d4
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.004014d4
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.004014d4
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.004014d4
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