Function at 0x498c80
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a88b0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x4c], edi
mov ebp, dword [esp + 0x54]
push ebp
push str.CCellDictListSyncModule::ConvertFile_t_s
call fcn.004aee70
add esp, 8
call fcn.0049bf60
mov dword [esp + 0x3c], eax
mov ebx, 1
mov byte [eax + 0x2d], bl
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [eax], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], eax
mov dword [esp + 0x40], edi
mov byte [esp + 0x4c], bl
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edi
lea edx, [esp + 0x1c]
push edx
call eax
mov byte [esp + 0x4c], 2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, edi
je 0x498d3b
lea edx, [eax - 1]
cmp edx, edi
jl 0x498f4f
cmp edx, eax
jg 0x498f4f
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x498d3b
push ebx
push 0x5bd0e8
lea ecx, [esp + 0x20]
push ecx
call fcn.00403fc0
push 5
push str.CDict
lea edx, [esp + 0x20]
push edx
call fcn.00403fc0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x498d81
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
push ecx
mov dword [esp + 0x24], esp
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
call fcn.00403ce0
add eax, 0x10
mov edx, esp
mov dword [edx], eax
call fcn.00499fb0
call fcn.0049bf60
mov dword [esp + 0x30], eax
mov byte [eax + 0x2d], bl
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x4c], 3
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ebx
lea edx, [esp + 0x18]
push edx
call eax
mov byte [esp + 0x4c], 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, edi
je 0x498df7
lea edx, [eax - 1]
cmp edx, edi
jl 0x498f4f
cmp edx, eax
jg 0x498f4f
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x498df7
push ebx
push 0x5bd0e8
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403fc0
push 5
push str.CDict
lea edx, [esp + 0x1c]
push edx
call fcn.00403fc0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x498e39
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
call fcn.00499fb0
call fcn.0049bf60
mov dword [esp + 0x24], eax
mov byte [eax + 0x2d], bl
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
mov dword [esp + 0x28], edi
push 2
lea edx, [esp + 0x24]
push edx
push ecx
lea esi, [ebp - 0x10]
mov eax, esi
mov byte [esp + 0x58], 5
mov dword [esp + 0x28], esp
mov edi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [edi], eax
call fcn.00498f60
push 2
lea eax, [esp + 0x24]
push eax
push ecx
mov eax, esi
mov dword [esp + 0x28], esp
mov edi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [edi], eax
call fcn.00499720
lea eax, [esp + 0x20]
mov byte [esp + 0x4c], 4
call fcn.0049ba30
mov byte [esp + 0x4c], 3
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 0x498ed6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x4c], 2
call fcn.0049ba30
mov byte [esp + 0x4c], bl
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 0x498f08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x38]
mov byte [esp + 0x4c], 0
call fcn.0049ba30
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498f37
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
push 0x80070057
call fcn.00404550
int3