Function at 0x4d9ad0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec937
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x4d9bba
push eax
lea ecx, [ebp - 0x858]
call fcn.004bc730
mov eax, dword [ebp - 0x858]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x4d9b40
push 0x24
push str.10000000_0000_0000_0000_000000000001
lea ecx, [ebp - 0x858]
call fcn.004c0470
push esi
lea ecx, [ebp - 0x868]
call fcn.004bc730
mov eax, dword [ebp - 0x858]
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 1
push dword [eax - 0xc]
push eax
call fcn.004bdc50
push dword [ebp - 0x868]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d9bc1
mov edx, dword [ebp - 0x868]
or esi, 0xffffffff
mov byte [ebp - 4], al
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d9b98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x858]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4d9bba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x4da043
push 0
lea ecx, [ebp - 0x864]
call fcn.004de540
push dword [ebp - 0x868]
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 2
call fcn.004e26f0
mov eax, dword [ebp - 0x858]
mov ecx, str.10000000_0000_0000_0000_000000000001
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d9c16
test dx, dx
je 0x4d9c12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d9c16
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d9bf0
xor edi, edi
jmp 0x4d9c1b
sbb edi, edi
or edi, 1
lea ecx, [ebp - 0x854]
call fcn.004d6300
push 0x208
lea eax, [ebp - 0x854]
push 0
push eax
call fcn.0058c8f0
push 0x103
push dword [ebp - 0x858]
lea eax, [ebp - 0x854]
push eax
call fcn.005afe6d
add esp, 0x18
mov dword [ebp - 0x18], 1
call fcn.004b4040
mov ecx, eax
test ecx, ecx
je 0x4da061
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x870], eax
push 0
lea eax, [ebp - 0x870]
mov byte [ebp - 4], 3
push eax
push str.FontZH
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004e05f0
mov esi, dword [ebp - 0x870]
cmp dword [esi - 0xc], 0
jne 0x4d9cae
mov dword [ebp - 0x18], 0
jmp 0x4d9cd6
push 0x208
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.0058c8f0
push 0x103
lea eax, [ebp - 0x444]
push esi
push eax
call fcn.005afe6d
add esp, 0x18
call fcn.004b4040
mov ecx, eax
test ecx, ecx
je 0x4da06b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x86c], eax
push 0
lea eax, [ebp - 0x86c]
mov byte [ebp - 4], 4
push eax
push str.FontEN
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004e05f0
mov esi, dword [ebp - 0x86c]
cmp dword [esi - 0xc], 0
jne 0x4d9d2a
mov dword [ebp - 0x18], 0
jmp 0x4d9d52
push 0x208
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.0058c8f0
push 0x103
lea eax, [ebp - 0x23c]
push esi
push eax
call fcn.005afe6d
add esp, 0x18
push 0
push str.FontSize
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004dfc80
test eax, eax
jg 0x4d9d76
mov dword [ebp - 0x18], 0
jmp 0x4d9d79
mov dword [ebp - 0x34], eax
push 0xffffffffffffffff
push str.ColorCode
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004dfc80
cmp eax, 0xffffffff
jne 0x4d9d9e
mov dword [ebp - 0x18], 0
jmp 0x4d9da1
mov dword [ebp - 0x30], eax
push 0xffffffffffffffff
push str.ColorOutput
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004dfc80
cmp eax, 0xffffffff
jne 0x4d9dc6
mov dword [ebp - 0x18], 0
jmp 0x4d9dc9
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
push str.ColorSelect
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004dfc80
cmp eax, 0xffffffff
jne 0x4d9dee
mov dword [ebp - 0x18], 0
jmp 0x4d9df1
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
push str.ColorNotSelect
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004dfc80
cmp eax, 0xffffffff
jne 0x4d9e16
mov dword [ebp - 0x18], 0
jmp 0x4d9e19
mov dword [ebp - 0x28], eax
push 0xffffffffffffffff
push str.ColorCursor
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004dfc80
cmp eax, 0xffffffff
jne 0x4d9e3e
mov dword [ebp - 0x18], 0
jmp 0x4d9e41
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x4d9f9d
push edi
push str.StatusBarCustom
push str.SkinInfo
lea ecx, [ebp - 0x864]
call fcn.004dfc80
push 1
push str.StatusBarCnEn
push str.SkinInfo
lea ecx, [ebp - 0x864]
mov dword [ebp - 0x14], eax
call fcn.004dfc80
mov ecx, dword [ebp - 0x1c]
shl eax, 2
xor eax, ecx
and eax, 4
push edi
xor ecx, eax
push str.StatusBarSample
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x864]
push str.SkinInfo
call fcn.004dfc80
mov ecx, dword [ebp - 0x1c]
shl eax, 3
xor eax, ecx
and eax, 8
push 1
xor ecx, eax
push str.StatusBarSharp
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x864]
push str.SkinInfo
call fcn.004dfc80
mov ecx, dword [ebp - 0x1c]
shl eax, 4
xor eax, ecx
and eax, 0x10
push 1
xor ecx, eax
push str.StatusBarPunc
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x864]
push str.SkinInfo
call fcn.004dfc80
mov ecx, dword [ebp - 0x1c]
shl eax, 5
xor eax, ecx
and eax, 0x20
push 1
xor ecx, eax
push str.StatusBarSoftKB
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x864]
push str.SkinInfo
call fcn.004dfc80
mov ecx, dword [ebp - 0x1c]
shl eax, 6
xor eax, ecx
and eax, 0x40
push edi
xor ecx, eax
push str.StatusBarDict
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x864]
push str.SkinInfo
call fcn.004dfc80
mov ecx, dword [ebp - 0x1c]
shl eax, 7
xor eax, ecx
and eax, 0x80
push 1
xor ecx, eax
push str.StatusBarPropSet
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x864]
push str.SkinInfo
call fcn.004dfc80
mov ecx, dword [ebp - 0x1c]
shl eax, 8
xor eax, ecx
and eax, 0x100
push edi
xor ecx, eax
push str.StatusBarMiniAndMenu
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x864]
push str.SkinInfo
call fcn.004dfc80
mov edx, dword [ebp - 0x1c]
shl eax, 0xa
xor eax, edx
and eax, 0x400
xor edx, eax
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x854]
mov ecx, ebx
push eax
call fcn.004d65d0
mov edx, dword [ebp - 0x86c]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d9fcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x870]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d9ff0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x864]
call fcn.004de910
mov edx, dword [ebp - 0x868]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4da01c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x858]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4da03e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004b3510
push 0x80004005
call fcn.004b3510
int3