Function at 0x4073a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4419ef
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x456600]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x456600]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [ebp + 0x230], ebx
mov dword [ebp + 0x22c], ebx
push 0x10
mov dword [ebp + 0x234], ebx
mov dword [ebp + 0x238], ebx
mov dword [ebp + 0x23c], ebx
mov dword [ebp + 0x240], ebx
mov dword [ebp + 0x244], ebx
mov dword [ebp + 0x248], ebx
mov dword [ebp + 0x24c], ebx
mov dword [ebp + 0x250], ebx
call fcn.0040fe58
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x23c], ebx
cmp eax, ebx
je 0x407448
mov ecx, eax
call fcn.00415683
mov esi, eax
jmp 0x40744a
xor esi, esi
mov dword [esp + 0x23c], 0xffffffff
push ebx
mov dword [ebp + 0x228], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00415ba3
push 0x206
lea ecx, [esp + 0x2a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x30], ax
call fcn.0042e640
mov ecx, dword [0x45a9f4]
add esp, 0xc
lea edi, [esp + 0x24]
call fcn.00401000
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.res.dat
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ecx, edi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407508
mov edx, edi
push edx
lea ecx, [esp + 0x20]
call fcn.004050b0
mov edi, 1
mov ebx, edi
mov dword [esp + 0x23c], edi
mov dword [esp + 0x20], ebx
test byte [0x45a700], bl
jne 0x4074f0
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
lea eax, [esp + 0x1c]
mov esi, 0x45a708
call fcn.00405a00
test al, al
je 0x40750d
mov byte [esp + 0x1b], bl
jmp 0x407512
mov edi, 1
mov byte [esp + 0x1b], 0
mov dword [esp + 0x23c], 0xffffffff
test bl, 1
je 0x407542
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407542
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x4078fa
test byte [0x45a700], 1
jne 0x407569
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, str.Skin_wnd_00.png
call fcn.00405b60
test eax, eax
jne 0x4075a2
test byte [0x45a700], 1
jne 0x407598
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push str.Skin_wnd_00.png
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x234], eax
jne 0x4075c4
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, str.Skin_wnd_01.png
call fcn.00405b60
test eax, eax
jne 0x4075fd
test byte [0x45a700], 1
jne 0x4075f3
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push str.Skin_wnd_01.png
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x238], eax
jne 0x40761f
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, str.Skin_wnd_02.png
call fcn.00405b60
test eax, eax
jne 0x407658
test byte [0x45a700], 1
jne 0x40764e
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push str.Skin_wnd_02.png
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x23c], eax
jne 0x40767a
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, str.Skin_wnd_03.png
call fcn.00405b60
test eax, eax
jne 0x4076b3
test byte [0x45a700], 1
jne 0x4076a9
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push str.Skin_wnd_03.png
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x240], eax
jne 0x4076d5
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, str.Skin_wnd_04.png
call fcn.00405b60
test eax, eax
jne 0x40770e
test byte [0x45a700], 1
jne 0x407704
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push str.Skin_wnd_04.png
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x244], eax
jne 0x407730
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, str.Skin_wnd_05.png
call fcn.00405b60
test eax, eax
jne 0x407769
test byte [0x45a700], 1
jne 0x40775f
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push str.Skin_wnd_05.png
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x248], eax
jne 0x40778b
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, str.Skin_wnd_06.png
call fcn.00405b60
test eax, eax
jne 0x4077c4
test byte [0x45a700], 1
jne 0x4077ba
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push str.Skin_wnd_06.png
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x24c], eax
jne 0x4077e6
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, str.Skin_wnd_07.png
call fcn.00405b60
test eax, eax
jne 0x40781f
test byte [0x45a700], 1
jne 0x407815
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push str.Skin_wnd_07.png
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x250], eax
jne 0x407841
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, 0x449be8
call fcn.00405b60
test eax, eax
jne 0x40787a
test byte [0x45a700], 1
jne 0x407870
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x449be8
call fcn.00405ab0
test byte [0x45a700], 1
mov dword [ebp + 0x230], eax
jne 0x40789c
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x45a708
mov ecx, 0x449c00
call fcn.00405b60
test eax, eax
jne 0x4078d5
test byte [0x45a700], 1
jne 0x4078cb
or dword [0x45a700], edi
push 0x441fe0
call fcn.0042ceb4
add esp, 4
push 0x449c00
call fcn.00405ab0
cmp dword [ebp + 0x230], 0
mov dword [ebp + 0x22c], eax
je 0x4078ec
test eax, eax
je 0x4078ec
mov al, 1
jmp 0x4078fc
push 0
push 0
push 0x449c20
call fcn.0041536c
xor al, al
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0042c4f0
add esp, 0x22c
ret 4