Function at 0x49c0f0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x330
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x32c], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
lea edi, [esi + 8]
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [edi + 4], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
lea ebx, [esi + 0x10]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [ebx + 4], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
lea ebp, [esi + 0x18]
call edx
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [ebp + 4], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov ecx, 0x54ffc8
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x3c], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x40], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x44], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x4c], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x50], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x54], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x58], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x5c], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x60], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x64], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x68], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x6c], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x70], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi + 0x74], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
call fcn.0048aca0
mov edx, 0x51b9a8
test eax, eax
jne 0x49c3c5
mov edx, 0x51b9a0
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x10], ecx
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49c3d0
sub eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
sar eax, 1
push eax
push edx
call fcn.0043a260
push 0
push 0x527f5c
lea ecx, [esi + 4]
call fcn.0043a260
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x13e]
push eax
mov word [esp + 0x140], dx
call fcn.004d86e0
push str.UtilsNewCenterSom.exe
lea ecx, [esp + 0x144]
push 0x104
push ecx
call fcn.0048b4e0
add esp, 0x18
lea edx, [esp + 0x134]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49c482
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0048bc30
add esp, 8
push eax
lea ecx, [esi + 4]
call fcn.0043a540
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49c482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x114
call fcn.0048ad30
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str._d._d._d
push edx
call fcn.0043a600
add esp, 0x18
push 7
push str.ucenter
mov ecx, esi
call fcn.0043a260
push 7
push 0x51b950
mov ecx, edi
call fcn.0043a260
call fcn.004a0930
mov edx, dword [eax]
lea ecx, [esi + 0xc]
test edx, edx
jne 0x49c4e3
xor eax, eax
jmp 0x49c501
mov eax, edx
lea edi, [eax + 2]
mov dword [esp + 0x10], edi
lea esp, [esp]
mov di, word [eax]
add eax, 2
test di, di
jne 0x49c4f0
sub eax, dword [esp + 0x10]
sar eax, 1
push eax
push edx
call fcn.0043a260
push 3
push 0x51b948
mov ecx, ebx
call fcn.0043a260
call fcn.004a0680
push eax
lea ecx, [esi + 0x14]
call fcn.0043a540
push 3
push 0x51b940
mov ecx, ebp
call fcn.0043a260
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
call fcn.0049eec0
push eax
lea eax, [esp + 0x14]
push 0x515bb0
push eax
call fcn.0043a600
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x1c]
call fcn.0043a540
push 3
push 0x51b938
lea ecx, [esi + 0x20]
call fcn.0043a260
call fcn.004a0a60
mov eax, dword [eax]
lea ecx, [esi + 0x24]
test eax, eax
jne 0x49c58e
xor edx, edx
jmp 0x49c5a2
mov edx, eax
lea ebx, [edx + 2]
mov di, word [edx]
add edx, 2
test di, di
jne 0x49c593
sub edx, ebx
sar edx, 1
push edx
push eax
call fcn.0043a260
push 2
push 0x51b930
lea ecx, [esi + 0x28]
call fcn.0043a260
call fcn.004a0ba0
mov ecx, dword [eax]
test ecx, ecx
jne 0x49c5c7
xor eax, eax
jmp 0x49c5df
mov eax, ecx
lea edi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x49c5d0
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0x28]
call fcn.0043a260
push 2
push 0x51b928
lea ecx, [esi + 0x30]
call fcn.0043a260
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 0x34]
call fcn.0043a540
push 6
push 0x51b918
lea ecx, [esi + 0x38]
call fcn.0043a260
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x3c]
call fcn.0043a540
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
call eax
mov edi, eax
add edi, 0x10
push str.safe
mov dword [esp + 0x20], edi
call fcn.0043f080
add esp, 4
mov ebx, 1
test eax, eax
je 0x49c67e
call fcn.0043c6f0
cmp dword [eax + 4], 0
jne 0x49c667
call fcn.0043c6f0
mov ecx, eax
call fcn.0043cbc0
push ebx
lea ecx, [esp + 0x20]
push ecx
push str.safe
call fcn.0045b0a0
mov edi, dword [esp + 0x28]
add esp, 0xc
push 3
push 0x51735c
lea ecx, [esi + 0x40]
call fcn.0043a260
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x44]
call fcn.0043a540
push ebx
push 0x51b914
lea ecx, [esi + 0x48]
call fcn.0043a260
push ebx
push 0x51b910
lea ecx, [esi + 0x50]
call fcn.0043a260
push ebx
push 0x51b90c
lea ecx, [esi + 0x58]
call fcn.0043a260
push ebx
push 0x51b908
lea ecx, [esi + 0x60]
call fcn.0043a260
push ebx
push 0x51b904
lea ecx, [esi + 0x68]
call fcn.0043a260
push ebx
push str.lkjihg
lea ecx, [esi + 0x70]
call fcn.0043a260
test byte [0x544588], bl
jne 0x49c713
or dword [0x544588], ebx
mov ecx, 0x544528
call fcn.00478230
push 0x513830
call fcn.004d869c
add esp, 4
mov ecx, 0x544528
call fcn.0049e920
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49c739
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49c759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49c779
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49c799
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x33c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x330
ret