Function at 0x42b220
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 0x446f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1240
call fcn.00420180
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov dword [ebp - 0x10], esp
je 0x42c958
mov al, byte [0x458e88]
test al, al
je 0x42b27a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42b27a
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.00401a27
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.00404716
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], 0x432320
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.00441fd4
add esp, 0x14
test eax, eax
je 0x42c937
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 0x42b98b
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.00421abe
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.00420d90
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 0x42b7dd
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.00404716
lea eax, [ebp - 0x17]
push 0
push eax
push 0x4534c0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x298], edi
call fcn.00404716
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.0041eca0
add esp, 0xc
lea ecx, [ebp - 0x190]
lea edx, [ebp - 0x400]
push ecx
push eax
push edx
mov byte [ebp - 4], 5
call fcn.0041eca0
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 0x42b7bf
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x3d8]
push eax
call fcn.004364b0
push 4
lea ecx, [ebp - 0x388]
push 0
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00433f10
mov esi, eax
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x3b0]
push edx
mov byte [ebp - 4], 8
call fcn.004360c0
push esi
push eax
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 9
push eax
call fcn.0043bed0
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0xa
je 0x42b53f
add eax, 4
jmp 0x42b541
xor eax, eax
mov ecx, dword [0x4494e0]
push ecx
push 0
push eax
lea ecx, [ebp - 0xe8]
call fcn.00402293
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
call fcn.00401291
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 8
call fcn.00401291
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 7
call fcn.00401291
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 6
call fcn.00401291
lea edx, [ebp - 0x11]
push 1
push edx
lea ecx, [ebp - 0x90]
call fcn.00435590
lea eax, [ebp - 0x200]
push 0x104
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xb
call fcn.0041edc9
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xc
call fcn.00404afe
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.0041f0d6
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.00404b70
lea ecx, [ebp - 0xec]
call fcn.00404afe
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42b7a7
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00401291
lea ecx, [ebp - 0x400]
mov byte [ebp - 4], 5
call fcn.00401291
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00401291
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
call fcn.00401291
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 2
call fcn.00401291
lea edx, [ebp - 0x13]
push 1
push edx
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xffffffff
call fcn.00435590
push 4
mov byte [ebp - 4], 0xd
call fcn.00420d90
add esp, 4
test eax, eax
je 0x42b6c1
mov dword [eax], 1
jmp 0x42b6c3
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.0040a71b
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
jne 0x42b713
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 0x42b757
lea ecx, [ebp - 0x1c0]
push 1
push ecx
lea ecx, [ebp - 0x54c]
call fcn.0040ada6
lea edx, [ebp - 0x54c]
push 0x44cc60
push edx
call fcn.00420f48
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.00402293
mov dword [ebp - 0x1cc], esi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xf
call fcn.0040acf0
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 2
call fcn.00401291
jmp 0x42b96e
lea ecx, [ebp - 0x90]
inc edi
mov byte [ebp - 4], 6
call fcn.00401291
inc dword [ebp - 0x60]
jmp 0x42b4d6
push 0x50
lea ecx, [ebp - 0x338]
call fcn.0040da44
lea ecx, [ebp - 0x338]
push 0x44b9c8
push ecx
call fcn.00420f48
push 8
call fcn.00420d90
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
test ebx, ebx
mov byte [ebp - 4], 0x10
je 0x42b81d
mov eax, dword [ebp - 0x68]
push eax
mov dword [ebx + 4], eax
call fcn.00420d90
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 0x42b81f
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.00435510
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
mov byte [ebp - 0x58], al
call fcn.00411124
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.00435500
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00435540
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
test edx, edx
je 0x42b8ae
lea eax, [ebp - 0x504]
test eax, eax
je 0x42b896
lea edi, [ebp - 0x504]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42b898
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.004047f0
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.00436910
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf4]
add ecx, 0x30
push eax
mov byte [ebp - 4], 0x17
call fcn.004365e0
mov esi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x16
call fcn.00401291
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.004047c8
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.00411124
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.0041fd63
mov edi, dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
jmp 0x42b39b
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.00404afe
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.00420d90
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x1a
je 0x42ba6a
mov ecx, esi
call fcn.00414943
lea edx, [ebp + 0xf]
push 1
push edx
lea ecx, [esi + 0x158]
call fcn.00411013
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x13]
push eax
push ecx
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x1b
call fcn.00433ff0
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x1c
call fcn.00434180
lea ecx, [ebp - 0x19]
lea edx, [ebp - 0x14]
push ecx
push edx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x1d
call fcn.00434310
lea eax, [ebp - 0x21]
lea ecx, [ebp - 0x15]
push eax
push ecx
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x1e
call fcn.004344a0
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x1f
call fcn.00434750
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
mov ebx, esi
jmp 0x42ba6c
xor ebx, ebx
mov ecx, 0x45855c
mov byte [ebp - 4], 2
test ecx, ecx
mov esi, ecx
jne 0x42ba80
mov esi, 0x458880
push esi
call fcn.00420a52
add esp, 4
lea ecx, [ebx + 0x15c]
push eax
push esi
call fcn.00411da1
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.00404afe
push eax
lea ecx, [ebp - 0x290]
push 0x64
push ecx
lea edx, [ebp - 0x31c]
push 0x458884
push edx
push 0x45854c
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.00433c90
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00431b90
lea eax, [ebx + 0x184]
mov ecx, esi
push eax
push 0x45854c
call fcn.0042e600
lea ecx, [ebx + 0x194]
push ecx
push 0x45854c
mov ecx, esi
call fcn.0042e980
lea edi, [ebx + 0x1b4]
mov ecx, esi
push edi
push 0x45854c
call fcn.0042f320
push edi
push 0x45854c
mov ecx, esi
call fcn.00430060
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.00435510
mov edx, 0x45855c
mov byte [ebp - 4], 0x20
test edx, edx
mov eax, edx
jne 0x42bb9b
mov eax, 0x458880
lea ecx, [ebp + 0xf]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004351c0
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.00435540
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.00437060
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0x24
call fcn.00436e30
mov esi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x23
call fcn.0040a2af
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.004047c8
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.00411124
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.00404afe
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 0x42c2ff
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.00435510
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x27
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00435080
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x28
call fcn.00435500
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x29
call fcn.00435540
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x42bd71
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x42bd56
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42bd58
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.00434e90
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.00420a52
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push str.ALL_
call fcn.00435290
cmp eax, dword [0x4494e0]
je 0x42c289
test eax, eax
jne 0x42c289
push 0x1d8
call fcn.00420d90
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x2f
je 0x42be83
mov ecx, esi
call fcn.00414943
lea ecx, [ebp - 0x16]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.00411013
lea edx, [ebp - 0x15]
lea eax, [ebp - 0x21]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x30
call fcn.00433ff0
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x19]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x31
call fcn.00434180
lea eax, [ebp - 0x12]
lea ecx, [ebp - 0x13]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x32
call fcn.00434310
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x33
call fcn.004344a0
lea ecx, [ebp - 0x2e]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x34
call fcn.00434750
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x42be85
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.00435510
lea eax, [ebp - 0x2b]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x35
call fcn.00435080
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x36
call fcn.00435500
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x37
call fcn.00435540
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x39
test edx, edx
je 0x42bf10
lea eax, [ebp - 0x168]
test eax, eax
je 0x42bef8
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42befa
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.00434e90
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.00411c77
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.004047c8
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.00411124
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.00404afe
push eax
lea edx, [ebp - 0x290]
push 0x64
push edx
lea eax, [ebp - 0x31c]
push 0x458884
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.00433c90
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00431b90
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0042e600
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0042e980
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x1b4]
lea edx, [ebp - 0x168]
push edi
push edx
call fcn.0042f320
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x168]
push edi
push eax
call fcn.00430060
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.00435510
lea edx, [ebp - 0x2d]
lea ecx, [ebp - 0xc0]
push edx
mov byte [ebp - 4], 0x3d
call fcn.00435080
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x3e
call fcn.00435500
push 0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x3f
call fcn.00435540
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x41
test ecx, ecx
je 0x42c12e
lea edx, [ebp - 0x168]
test edx, edx
je 0x42c113
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c115
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.00434e90
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.00437060
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
push eax
push ecx
lea ecx, [edx + 0x54]
mov byte [ebp - 4], 0x43
call fcn.00436e30
mov edi, dword [eax]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x42
call fcn.0040a2af
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.004047c8
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.00411124
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.004047c8
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.00411124
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 0x42bcb6
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.004047c8
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.00411124
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 0x42bcb6
lea ebx, [ebp - 0x1250]
cmp byte [ebx], 0
je 0x42c78e
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.00435510
lea ecx, [ebp + 0xf]
mov byte [ebp - 4], 0x48
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00435080
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x49
call fcn.00435500
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x4a
call fcn.00435540
lea edx, [ebp - 0x90]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x42c3c0
lea ecx, [ebp - 0x168]
test ecx, ecx
je 0x42c3a5
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c3a7
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.00434e90
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 0x45855c
mov byte [ebp - 4], 0x4d
call fcn.00420a52
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push 0
push 0x45855c
call fcn.00435290
cmp eax, dword [0x4494e0]
je 0x42c40e
test eax, eax
je 0x42c424
lea ecx, [ebp - 0x168]
push ecx
push str.SKINS
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x42c49d
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.004047c8
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.00411124
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 0x42c305
push 0x1d8
call fcn.00420d90
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
mov byte [ebp - 4], 0x50
je 0x42c559
mov ecx, esi
call fcn.00414943
lea ecx, [ebp - 0x2d]
push 1
push ecx
lea ecx, [esi + 0x158]
call fcn.00411013
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x29]
push edx
push eax
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x51
call fcn.00433ff0
lea ecx, [ebp - 0x2b]
lea edx, [ebp - 0x2f]
push ecx
push edx
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x52
call fcn.00434180
lea eax, [ebp - 0x2e]
lea ecx, [ebp - 0x18]
push eax
push ecx
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x53
call fcn.00434310
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x15]
push edx
push eax
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 0x54
call fcn.004344a0
lea ecx, [ebp - 0x21]
lea edx, [ebp - 0x14]
push ecx
push edx
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 0x55
call fcn.00434750
mov byte [esi + 0x180], 0
mov dword [esi + 0x1c4], 0xffffffff
jmp 0x42c55b
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.00435510
lea eax, [ebp - 0x19]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x56
call fcn.00435080
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x57
call fcn.00435500
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x58
call fcn.00435540
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x5a
test edx, edx
je 0x42c5e6
lea eax, [ebp - 0x168]
test eax, eax
je 0x42c5ce
lea edi, [ebp - 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42c5d0
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.00434e90
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.00411c77
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.004047c8
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.00411124
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.00404afe
push eax
lea ecx, [ebp - 0x290]
push 0x64
push ecx
lea edx, [ebp - 0x31c]
push 0x458884
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.00433c90
mov ecx, edi
call fcn.00431b90
lea ecx, [esi + 0x184]
lea edx, [ebp - 0x168]
push ecx
push edx
mov ecx, edi
call fcn.0042e600
lea eax, [esi + 0x194]
lea ecx, [ebp - 0x168]
push eax
push ecx
mov ecx, edi
call fcn.0042e980
lea edx, [esi + 0x1b4]
lea eax, [ebp - 0x168]
push edx
push eax
mov ecx, edi
call fcn.00430060
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.00433c90
lea eax, [ebp - 0x190]
lea ecx, [edi + 0x54]
push eax
mov byte [ebp - 4], 0x5e
call fcn.00434be0
lea ecx, [ebp - 0x190]
mov dword [eax], esi
mov byte [ebp - 4], 0x4d
call fcn.0040a2af
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.0040a2af
jmp 0x42c305
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x30]
push ecx
call fcn.0043c0c0
add esp, 0xffffffdc
lea edx, [ebp - 0xec]
mov ecx, esp
mov dword [ebp + 8], esp
push 1
push edx
call fcn.004355f0
call fcn.0041eae9
mov eax, dword [esi + 0x68]
add esp, 0x28
test eax, eax
mov dword [ebp - 4], 1
je 0x42c7df
push str.GetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c7df
call eax
shr eax, 1
and al, 1
mov byte [esi + 0x64], al
lea ecx, [ebp - 0x1f4]
mov byte [0x458e88], 1
mov byte [ebp - 4], 0
call fcn.00401291
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.00401291
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.00401291
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call fcn.00401291
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