Function at 0x4f39f7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x2c0], 0
mov dword [ebx + 0x2c4], eax
jne 0x4f3a31
push str.imageedit
lea ecx, [ebx + 0x20]
call fcn.005cfc5e
mov dword [ebx + 0x2c0], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0x2c4]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, dword [ebx + 0x2c0]
call fcn.004f3ce7
lea esi, [ebx + 0x2c8]
cmp dword [esi], 0
jne 0x4f3be9
push esi
push dword [ebp + 8]
call fcn.004a08c1
mov eax, 0xff
sub eax, dword [ebx + 0x2d0]
push eax
push dword [esi]
call fcn.00479284
add esp, 0x10
mov dword [ebx + 0x2cc], eax
lea ecx, [ebp - 0x44]
call fcn.00417833
mov eax, dword [0x735a8c]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x18]
push eax
call fcn.00419083
push ecx
mov ecx, esp
push str.image_skinset
call fcn.004177e7
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x28], eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x20]
push eax
call fcn.0041934b
lea esi, [ebx + 0x2d8]
push eax
mov ecx, esi
call fcn.00418bac
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00419521
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f3b1f
push esi
call fcn.0045f600
pop ecx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00418f81
push eax
lea ecx, [ebp - 0x18]
call fcn.0041775d
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push str._d_02d_02d_02d_02d_02d.jpg
push eax
call fcn.0041a1e9
mov edi, dword [ebp - 0x18]
add esp, 0x1c
add edi, 0xfffffff0
mov esi, esp
push edi
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov eax, dword [ebx + 0x2d8]
sub eax, 0x10
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x20]
push eax
call fcn.0041934b
lea esi, [ebx + 0x2d4]
push eax
mov ecx, esi
call fcn.00418bac
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00419521
push 0x64
push dword [esi]
push dword [ebx + 0x2cc]
call fcn.004eb68b
add esp, 0xc
mov ecx, edi
call fcn.00419521
mov ecx, dword [ebp - 0x28]
call fcn.00419521
lea ecx, [ebp - 0x44]
call fcn.00418dd0
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebx + 0x20]
push str.imagetip
call fcn.005cfc5e
mov edi, eax
mov eax, dword [ebx + 0x2c4]
cmp eax, 1
jne 0x4f3c3d
cmp dword [ebp - 0x24], 0x171
mov esi, 0x15d
jl 0x4f3c16
cmp dword [ebp - 0x1c], esi
jge 0x4f3c55
call fcn.00418f81
push eax
lea ecx, [ebp - 0x18]
call fcn.0041775d
push esi
push 0x171
lea eax, [ebp - 0x18]
push 0x6b5cf8
push eax
call fcn.0041a1e9
mov esi, dword [ebp - 0x18]
jmp 0x4f3c88
cmp eax, 4
jne 0x4f3c9b
cmp dword [ebp - 0x24], 0x3de
mov esi, 0x20e
jl 0x4f3c63
cmp dword [ebp - 0x1c], esi
jl 0x4f3c63
mov eax, dword [edi]
mov ecx, edi
push 0x6809b0
call dword [eax + 0x3c]
jmp 0x4f3c9b
call fcn.00418f81
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041775d
push esi
push 0x3de
lea eax, [ebp - 0x1c]
push 0x6b5cf8
push eax
call fcn.0041a1e9
mov esi, dword [ebp - 0x1c]
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x3c]
lea ecx, [esi - 0x10]
call fcn.00419521
push 0x42
xor edi, edi
lea ecx, [ebx + 0x20]
push edi
push 0x2bc
call fcn.005d30ce
push eax
push edi
push 0x3e8
lea ecx, [ebx + 0x20]
call fcn.005d30ce
push eax
push edi
push edi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 8