Function at 0x448640
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 0x465b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1248
call fcn.0043b1a0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov dword [ebp - 0x10], esp
je 0x449d79
mov al, byte [0x47dfb8]
test al, al
je 0x44869a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x44869a
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, 0x467578
mov edi, 0x467570
push 0
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xcc], edi
call fcn.00401aa5
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0x13]
push 0
push ecx
push edx
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1dc], edi
call fcn.00405529
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x297]
mov byte [ebp - 0x298], 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 - 0x298]
mov byte [ebp - 4], 2
push eax
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x657]
mov byte [ebp - 0x658], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x658]
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 - 0x298]
push 0
push ecx
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x100], 0x44f8a0
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], 0
call esi
push eax
lea edx, [ebp - 0x298]
lea eax, [ebp - 0x658]
push edx
push eax
call fcn.0045da76
add esp, 0x14
test eax, eax
je 0x449d58
mov ecx, dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x50b]
mov byte [ebp - 0x50c], 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 0x448dac
lea eax, [ebp - 0x50c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x50c]
push ecx
call esi
inc eax
add ebx, eax
add edi, eax
push ebx
call fcn.0043c655
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.0043ba8f
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 - 0x50c]
push eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x60], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x448c04
lea ecx, [ebp + 0xf]
push eax
lea edx, [ebp - 0x50c]
mov esi, 0x467578
mov edi, 0x467570
push ecx
push edx
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1b4], edi
call fcn.00405529
lea eax, [ebp - 0x17]
push 0
push eax
push 0x476c60
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2a0], edi
call fcn.00405529
lea ecx, [ebp - 0x2c0]
lea edx, [ebp - 0x1fc]
push ecx
lea eax, [ebp - 0xc0]
push edx
push eax
mov byte [ebp - 4], 4
call fcn.00438a9c
add esp, 0xc
lea ecx, [ebp - 0x1d4]
lea edx, [ebp - 0x408]
push ecx
push eax
push edx
mov byte [ebp - 4], 5
call fcn.00438a9c
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 0x448be6
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x3e0]
push eax
call fcn.00452b30
push 4
lea ecx, [ebp - 0x390]
push 0
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00451220
mov esi, eax
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x3b8]
push edx
mov byte [ebp - 4], 8
call fcn.004528a0
push esi
push eax
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 9
push eax
call fcn.00458ab0
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0xa
je 0x44895f
add eax, 4
jmp 0x448961
xor eax, eax
mov ecx, dword [0x467558]
push ecx
push 0
push eax
lea ecx, [ebp - 0xe8]
call fcn.00402392
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 9
call fcn.0040127e
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 8
call fcn.0040127e
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 7
call fcn.0040127e
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 6
call fcn.0040127e
lea edx, [ebp - 0x11]
push 1
push edx
lea ecx, [ebp - 0x90]
call fcn.004521a0
lea eax, [ebp - 0x208]
push 0x104
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xb
call fcn.00438bc5
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xc
call fcn.004058df
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 - 0x208]
mov byte [ebp - 4], 0xb
call fcn.00438ed2
mov ecx, dword [0x467558]
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.00405951
lea ecx, [ebp - 0xec]
call fcn.004058df
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x448bce
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.0040127e
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 5
call fcn.0040127e
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.0040127e
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 3
call fcn.0040127e
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 2
call fcn.0040127e
lea edx, [ebp - 0x12]
push 1
push edx
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xffffffff
call fcn.004521a0
push 4
mov byte [ebp - 4], 0xd
call fcn.0043ba8f
add esp, 4
test eax, eax
je 0x448ae1
mov dword [eax], 1
jmp 0x448ae3
xor eax, eax
xor edi, edi
mov esi, vtable.is::file.0
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x170], edi
mov byte [ebp - 0x16c], 0
mov dword [ebp - 0x1ac], esi
push edi
push edi
push 2
push 0x80
push 1
lea eax, [ebp - 0xec]
push 0x40000000
push eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xe
call fcn.00413377
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
jne 0x448b3c
mov eax, 1
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x98]
push edi
push ecx
push eax
mov eax, dword [ebp - 0x1a4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x448b7f
lea ecx, [ebp - 0x1a0]
push 1
push ecx
lea ecx, [ebp - 0x554]
call fcn.00413a39
lea edx, [ebp - 0x554]
push 0x46c698
push edx
call fcn.0043bd2a
mov edx, dword [0x467558]
lea eax, [ebp - 0xec]
neg eax
sbb eax, eax
lea ecx, [ebp - 0xe8]
and eax, ecx
push edx
push edi
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0xc]
call fcn.00402392
mov dword [ebp - 0x1ac], esi
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xf
call fcn.00413983
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 2
call fcn.0040127e
jmp 0x448d8f
lea ecx, [ebp - 0x90]
inc edi
mov byte [ebp - 4], 6
call fcn.0040127e
inc dword [ebp - 0x60]
jmp 0x4488f6
push 0x50
lea ecx, [ebp - 0x340]
call fcn.00413d21
lea ecx, [ebp - 0x340]
push 0x46a2a8
push ecx
call fcn.0043bd2a
push 8
call fcn.0043ba8f
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
test ebx, ebx
mov byte [ebp - 4], 0x10
je 0x448c44
mov eax, dword [ebp - 0x68]
push eax
mov dword [ebx + 4], eax
call fcn.0043ba8f
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 0x448c46
xor ebx, ebx
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 0x467564
mov dword [ebp - 0x3c], 0x46755c
call fcn.00447f40
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x11
call fcn.00447cf0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00447f70
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
test edx, edx
je 0x448ccf
lea eax, [ebp - 0x50c]
test eax, eax
je 0x448cb7
lea edi, [ebp - 0x50c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x448cb9
xor ecx, ecx
lea edx, [ebp - 0x13]
push 1
push edx
lea eax, [ebp - 0x50c]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405603
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 - 0x234]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x20], 0
call fcn.00453870
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf4]
add ecx, 0x30
push eax
mov byte [ebp - 4], 0x17
call fcn.00453740
mov esi, dword [eax]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x16
call fcn.0040127e
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.004055db
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.0040b642
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.0043ad89
mov edi, dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
jmp 0x4487bb
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.004058df
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.0043ba8f
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x1a
je 0x448e8b
mov ecx, esi
call fcn.0044a150
lea edx, [ebp + 0xf]
push 1
push edx
lea ecx, [esi + 0x158]
call fcn.0040b2c0
lea eax, [ebp - 0x13]
lea ecx, [ebp - 0x14]
push eax
push ecx
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x1b
call fcn.004512d0
lea edx, [ebp - 0x12]
lea eax, [ebp - 0x11]
push edx
push eax
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x1c
call fcn.00451380
lea ecx, [ebp - 0x17]
lea edx, [ebp - 0x15]
push ecx
push edx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x1d
call fcn.00451430
lea eax, [ebp - 0x21]
lea ecx, [ebp - 0x19]
push eax
push ecx
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x1e
call fcn.004515c0
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x1f
call fcn.00451870
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
mov ebx, esi
jmp 0x448e8d
xor ebx, ebx
mov ecx, 0x4773e4
mov byte [ebp - 4], 2
test ecx, ecx
mov esi, ecx
jne 0x448ea1
mov esi, 0x47d8e0
push esi
call fcn.0043ba72
add esp, 4
lea ecx, [ebx + 0x15c]
push eax
push esi
call fcn.0040bfd4
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x323]
mov byte [ebp - 0x324], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [ebp - 0x324]
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.004058df
push eax
lea ecx, [ebp - 0x298]
push 0x64
push ecx
lea edx, [ebp - 0x324]
push 0x47d8e4
push edx
push 0x47d530
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 - 0x298]
push eax
push edx
call fcn.00425c88
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0044f110
lea eax, [ebx + 0x184]
mov ecx, esi
push eax
push 0x47d530
call fcn.0044bb80
lea ecx, [ebx + 0x194]
push ecx
push 0x47d530
mov ecx, esi
call fcn.0044bf00
lea edi, [ebx + 0x1b4]
mov ecx, esi
push edi
push 0x47d530
call fcn.0044c8a0
push edi
push 0x47d530
mov ecx, esi
call fcn.0044d5e0
xor edi, edi
lea ecx, [ebp - 0x5c]
push edi
mov dword [ebx + 0x14c], esi
mov dword [ebp - 0x5c], 0x4675c8
mov dword [ebp - 0x3c], 0x4675c0
call fcn.00447f40
mov edx, 0x4773e4
mov byte [ebp - 4], 0x20
test edx, edx
mov eax, edx
jne 0x448fbc
mov eax, 0x47d8e0
lea ecx, [ebp + 0xf]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004520d0
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.00447f70
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x5c]
push edx
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x20], edi
call fcn.00453e30
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0x24
call fcn.00453c00
mov esi, dword [eax]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x23
call fcn.00406320
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.004055db
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.0040b642
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 - 0x1257]
mov byte [ebp - 0x1258], 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.004058df
push eax
lea edx, [ebp - 0x1258]
push 0xc00
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
lea ebx, [ebp - 0x1258]
cmp byte [ebx], 0
je 0x449720
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], 0x4675c8
mov dword [ebp - 0x70], 0x4675c0
call fcn.00447f40
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x27
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00447cf0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x28
call fcn.00447f30
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x29
call fcn.00447f70
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x449192
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x449177
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x449179
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.00426455
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.0043ba72
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push str.ALL_
call fcn.0040b52a
cmp eax, dword [0x467558]
je 0x4496aa
test eax, eax
jne 0x4496aa
push 0x1d8
call fcn.0043ba8f
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x2f
je 0x4492a4
mov ecx, esi
call fcn.0044a150
lea ecx, [ebp - 0x16]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.0040b2c0
lea edx, [ebp - 0x19]
lea eax, [ebp - 0x21]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x30
call fcn.004512d0
lea ecx, [ebp - 0x15]
lea edx, [ebp - 0x13]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x31
call fcn.00451380
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x12]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x32
call fcn.00451430
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x33
call fcn.004515c0
lea ecx, [ebp - 0x2e]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x34
call fcn.00451870
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x4492a6
xor esi, esi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x5c], 0x4675c8
mov dword [ebp - 0x3c], 0x4675c0
call fcn.00447f40
lea eax, [ebp - 0x2b]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x35
call fcn.00447cf0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x36
call fcn.00447f30
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x37
call fcn.00447f70
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x39
test edx, edx
je 0x449331
lea eax, [ebp - 0x168]
test eax, eax
je 0x449319
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x44931b
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.00426455
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 [0x4675b8]
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.0040c5f4
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.004055db
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.0040b642
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 - 0x324]
push str.TEXTCOLOR
push eax
mov byte [ebp - 0x324], 0
mov byte [ebp - 0x298], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.004058df
push eax
lea edx, [ebp - 0x298]
push 0x64
push edx
lea eax, [ebp - 0x324]
push 0x47d8e4
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 - 0x298]
push edx
push eax
call fcn.00425c88
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0044f110
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0044bb80
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0044bf00
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x1b4]
lea edx, [ebp - 0x168]
push edi
push edx
call fcn.0044c8a0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x168]
push edi
push eax
call fcn.0044d5e0
mov ecx, dword [ebp + 8]
push 0
mov dword [esi + 0x14c], ecx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x4675c8
mov dword [ebp - 0xa4], 0x4675c0
call fcn.00447f40
lea edx, [ebp - 0x2d]
lea ecx, [ebp - 0xc0]
push edx
mov byte [ebp - 4], 0x3d
call fcn.00447cf0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x3e
call fcn.00447f30
push 0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x3f
call fcn.00447f70
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x41
test ecx, ecx
je 0x44954f
lea edx, [ebp - 0x168]
test edx, edx
je 0x449534
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x449536
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.00426455
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 - 0x234]
mov byte [ebp - 4], 0x42
mov dword [ebp - 0x20], 0
call fcn.00453e30
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [edx + 0x54]
mov byte [ebp - 4], 0x43
call fcn.00453c00
mov edi, dword [eax]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x42
call fcn.00406320
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.004055db
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.0040b642
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.004055db
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.0040b642
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 0x4490d7
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.004055db
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.0040b642
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 0x4490d7
lea ebx, [ebp - 0x1258]
cmp byte [ebx], 0
je 0x449baf
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], 0x4675c8
mov dword [ebp - 0x70], 0x4675c0
call fcn.00447f40
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x48
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00447cf0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x49
call fcn.00447f30
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x4a
call fcn.00447f70
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x4497e1
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x4497c6
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4497c8
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.00426455
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 0x4773e4
mov byte [ebp - 4], 0x4d
call fcn.0043ba72
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push 0x4773e4
call fcn.0040b52a
cmp eax, dword [0x467558]
je 0x44982f
test eax, eax
je 0x449845
lea ecx, [ebp - 0x168]
push ecx
push str.SKINS
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4498be
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.004055db
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.0040b642
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 0x449726
push 0x1d8
call fcn.0043ba8f
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x50
je 0x44997a
mov ecx, esi
call fcn.0044a150
lea ecx, [ebp - 0x2d]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.0040b2c0
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x29]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x51
call fcn.004512d0
lea ecx, [ebp - 0x2b]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x52
call fcn.00451380
lea eax, [ebp - 0x2e]
lea ecx, [ebp - 0x18]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x53
call fcn.00451430
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x19]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x54
call fcn.004515c0
lea ecx, [ebp - 0x21]
lea edx, [ebp - 0x15]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x55
call fcn.00451870
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x44997c
xor esi, esi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x4d
mov dword [ebp - 0x5c], 0x4675c8
mov dword [ebp - 0x3c], 0x4675c0
call fcn.00447f40
lea eax, [ebp - 0x13]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x56
call fcn.00447cf0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x57
call fcn.00447f30
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x58
call fcn.00447f70
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x5a
test edx, edx
je 0x449a07
lea eax, [ebp - 0x168]
test eax, eax
je 0x4499ef
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4499f1
xor ecx, ecx
lea edx, [ebp - 0x14]
push 1
push edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00426455
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 [0x4675b8]
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.0040c5f4
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.004055db
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.0040b642
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 - 0x324]
push str.TEXTCOLOR
push eax
mov byte [ebp - 0x324], 0
mov byte [ebp - 0x298], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [ebp + 8]
lea ecx, [edi + 8]
call fcn.004058df
push eax
lea ecx, [ebp - 0x298]
push 0x64
push ecx
lea edx, [ebp - 0x324]
push 0x47d8e4
lea eax, [ebp - 0x168]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esi + 0x1c4]
lea edx, [ebp - 0x12]
push ecx
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x28], esp
push 1
push edx
lea eax, [ebp - 0x298]
push eax
call fcn.00425c88
mov ecx, edi
call fcn.0044f110
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0044bb80
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0044bf00
lea edx, [esi + 0x1b4]
lea eax, [ebp - 0x168]
push edx
push eax
mov ecx, edi
call fcn.0044d5e0
lea ecx, [ebp - 0x11]
push 1
lea edx, [ebp - 0x168]
push ecx
push edx
lea ecx, [ebp - 0x1d4]
mov dword [esi + 0x14c], edi
call fcn.00425c88
lea eax, [ebp - 0x1d4]
lea ecx, [edi + 0x54]
push eax
mov byte [ebp - 4], 0x5e
call fcn.00451d00
lea ecx, [ebp - 0x1d4]
mov dword [eax], esi
mov byte [ebp - 4], 0x4d
call fcn.00406320
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.00406320
jmp 0x449726
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x30]
push ecx
call fcn.00458ca0
add esp, 0xffffffdc
lea edx, [ebp - 0xec]
mov ecx, esp
mov dword [ebp + 8], esp
push 1
push edx
call fcn.0042cb76
call fcn.004388e5
mov eax, dword [esi + 0x68]
add esp, 0x28
test eax, eax
mov dword [ebp - 4], 1
je 0x449c00
push str.GetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x449c00
call eax
shr eax, 1
and al, 1
mov byte [esi + 0x64], al
lea ecx, [ebp - 0x1fc]
mov byte [0x47dfb8], 1
mov byte [ebp - 4], 0
call fcn.0040127e
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.0040127e
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 - 0x1fc]
mov byte [ebp - 4], 0
call fcn.0040127e
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.0040127e
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