Function at 0x473ad0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3cd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp dword [0x68d390], edi
jne 0x473b13
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.0046f3b0
add esp, 0xc
mov dword [ebp - 4], edi
cmp esi, 0x78
jge 0x473b66
cmp dword [ebp - 0x8c], 0x10
mov eax, dword [ebp - 0xa0]
jae 0x473b45
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x473b66
shr eax, 4
not al
and al, 1
je 0x473b66
push 1
push esi
push 2
mov ecx, ebx
call fcn.004766c0
lea ecx, [ebp - 0x18c]
call fcn.005ac8c0
push 1
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 1
call fcn.005ac7d0
test al, al
jne 0x473bc8
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], al
call fcn.005ac8b0
cmp dword [ebp - 0x8c], 0x10
jb 0x473bb3
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0052d217
add esp, 4
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push edi
lea ecx, [ebp - 0x134]
call fcn.004061a0
push 0x6731d0
mov ecx, 0x691138
mov byte [ebp - 4], 2
call fcn.004086f0
push 0x6731d0
lea ecx, [ebp - 0x10c]
lea esi, [eax + 0x1c]
call fcn.004086f0
push 0xffffffffffffffff
push edi
push esi
lea ecx, [eax + 0x1c]
call fcn.004018d0
push 0x672f68
mov ecx, 0x691138
call fcn.004086f0
push 0x672f68
lea ecx, [ebp - 0x10c]
lea esi, [eax + 0x1c]
call fcn.004086f0
push 0xffffffffffffffff
push edi
push esi
lea ecx, [eax + 0x1c]
call fcn.004018d0
push 0x672e88
mov ecx, 0x691118
call fcn.004084f0
mov esi, dword [eax + 0x1c]
push 0x672e88
lea ecx, [ebp - 0x12c]
call fcn.004084f0
push 0x6731b4
mov ecx, 0x691118
mov dword [eax + 0x1c], esi
call fcn.004084f0
mov esi, dword [eax + 0x1c]
push 0x6731b4
lea ecx, [ebp - 0x12c]
call fcn.004084f0
mov dword [eax + 0x1c], esi
mov eax, dword [0x68d3c8]
cmp eax, edi
je 0x473c92
lea esi, [eax + 0x1d4]
jmp 0x473f49
push 0x672e88
lea ecx, [ebp - 0x134]
call fcn.0046cf60
push 0x672edc
lea ecx, [ebp - 0x134]
call fcn.00468800
cmp dword [0x68d3a0], edi
je 0x473dd2
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0040deb0
add esp, 8
mov esi, eax
push 0x672e50
mov ecx, 0x691178
mov byte [ebp - 4], 3
call fcn.00408b40
push esi
lea edx, [ebp - 0x1c]
push edx
lea ecx, [eax + 0x44]
call fcn.00468340
cmp dword [eax + 4], edi
mov ecx, dword [eax]
setne bl
cmp dword [ebp - 0x28], 0x10
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
jb 0x473d14
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0052d217
add esp, 4
test bl, bl
je 0x473dbd
push 0x672edc
lea ecx, [ebp - 0x10c]
call fcn.004086f0
push 2
push 0x60f134
lea ecx, [eax + 0x1c]
call fcn.00419290
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0040deb0
add esp, 8
mov esi, eax
push 0x672e50
mov ecx, 0x691178
mov byte [ebp - 4], 4
call fcn.00408b40
push esi
lea ecx, [eax + 0x44]
call fcn.004086f0
push 0x672edc
lea ecx, [ebp - 0x10c]
lea esi, [eax + 0x1c]
call fcn.004086f0
push 0xffffffffffffffff
push edi
push esi
lea ecx, [eax + 0x1c]
call fcn.00404930
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 2
jb 0x473d9e
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0052d217
add esp, 4
push 0x672edc
lea ecx, [ebp - 0x10c]
call fcn.004086f0
push 2
push 0x60f138
lea ecx, [eax + 0x1c]
call fcn.00419290
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, 0x10
jl 0x473cc1
jmp 0x473f65
cmp dword [0x68d3a8], edi
je 0x473f37
push 0x672e6c
mov ecx, 0x691110
call fcn.00468730
test al, al
je 0x473f37
mov esi, dword [0x68d22c]
mov eax, dword [esi]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x473f65
mov bl, 6
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp eax, dword [ecx + 0x34]
je 0x473f24
cmp dword [eax + 0x10], edi
je 0x473f05
mov esi, dword [eax + 0xc]
push 0x673320
mov ecx, 0x691118
call fcn.004084f0
mov eax, dword [eax + 0x1c]
push esi
push eax
call fcn.004782e0
add esp, 8
mov esi, eax
push 0x672408
lea ecx, [esi + 8]
call fcn.004084f0
cmp dword [eax + 0x1c], edi
je 0x473f05
push 0x672c74
lea eax, [ebp - 0x1c]
add esi, 0x28
push eax
mov ecx, esi
call fcn.00468340
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
cmp dword [eax + 4], edi
je 0x473f05
push 0x672c74
mov ecx, esi
call fcn.004086f0
cmp dword [eax + 0x2c], edi
je 0x473f05
push 0x672c74
mov ecx, esi
call fcn.004086f0
add eax, 0x1c
push eax
lea edx, [ebp - 0x1b4]
push 0x60f140
push edx
call fcn.0041cc40
push 0x60f13c
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 5
call fcn.0041bfc0
add esp, 0x18
mov esi, eax
push 0x672edc
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], bl
call fcn.004086f0
push 0xffffffffffffffff
push edi
push esi
lea ecx, [eax + 0x1c]
call fcn.00404930
lea ecx, [ebp - 0x3c]
call fcn.004868c0
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 2
call fcn.004868c0
lea ecx, [ebp - 0x10]
call fcn.00477090
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
jne 0x473e24
mov esi, dword [0x68d22c]
lea ecx, [ebp + 8]
call fcn.00461f70
cmp dword [ebp + 8], esi
jne 0x473e10
jmp 0x473f65
push 0x6731ec
mov ecx, 0x691138
call fcn.004086f0
lea esi, [eax + 0x1c]
push 0x672edc
lea ecx, [ebp - 0x10c]
call fcn.004086f0
push 0xffffffffffffffff
push edi
push esi
lea ecx, [eax + 0x1c]
call fcn.004018d0
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx esi, word [ebp - 0x78]
push 0x671cd0
lea ecx, [ebp - 0x12c]
call fcn.004084f0
mov dword [eax + 0x1c], esi
movzx esi, word [ebp - 0x76]
push 0x671cec
lea ecx, [ebp - 0x12c]
call fcn.004084f0
mov dword [eax + 0x1c], esi
movzx esi, word [ebp - 0x72]
push 0x671d08
lea ecx, [ebp - 0x12c]
call fcn.004084f0
mov dword [eax + 0x1c], esi
movzx esi, word [ebp - 0x70]
push 0x671d24
lea ecx, [ebp - 0x12c]
call fcn.004084f0
mov dword [eax + 0x1c], esi
movzx esi, word [ebp - 0x6e]
push 0x671d40
lea ecx, [ebp - 0x12c]
call fcn.004084f0
mov dword [eax + 0x1c], esi
movzx esi, word [ebp - 0x6c]
push 0x671d5c
lea ecx, [ebp - 0x12c]
call fcn.004084f0
mov dword [eax + 0x1c], esi
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x18c]
call fcn.005acfb0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov bl, 0xa
push edx
mov byte [ebp - 4], bl
call fcn.0046d750
mov ecx, dword [ebp - 0x1c]
push edi
lea eax, [ebp - 0x5c]
push eax
call fcn.0059f7c0
push edi
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0059f7c0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
sub eax, ecx
sar eax, 2
add eax, eax
add eax, eax
cmp eax, edi
jne 0x47406f
push edi
push edi
jmp 0x474071
push eax
push ecx
lea ecx, [ebp - 0x18c]
call fcn.005ace90
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
sar eax, 2
add eax, eax
add eax, eax
cmp eax, edi
jne 0x474093
push edi
push edi
jmp 0x474095
push eax
push ecx
lea ecx, [ebp - 0x18c]
call fcn.005ace90
mov esi, dword [0x68a100]
push 0x673010
mov ecx, 0x691118
call fcn.004084f0
mov dword [eax + 0x1c], esi
mov edx, dword [0x68a3c8]
mov esi, dword [edx + 0x588]
push 0x67302c
mov ecx, 0x691118
call fcn.004084f0
mov dword [eax + 0x1c], esi
mov eax, dword [0x68a3c8]
mov esi, dword [eax + 0x58c]
push 0x673048
mov ecx, 0x691118
call fcn.004084f0
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x1c], esi
call fcn.00470b70
mov eax, dword [0x68d1e8]
cmp eax, edi
je 0x47411c
mov esi, dword [eax + 0x118]
push 0x672ea4
mov ecx, 0x691118
call fcn.004084f0
mov dword [eax + 0x1c], esi
mov eax, dword [0x68d390]
mov ecx, dword [eax + 0x1a0]
cmp ecx, edi
jl 0x474178
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp + 8], ecx
call fcn.0040deb0
add esp, 8
mov esi, eax
push 0x673160
mov ecx, 0x691178
mov byte [ebp - 4], 0xb
call fcn.00408b40
push esi
lea ecx, [eax + 0x24]
call fcn.004084f0
mov dword [eax + 0x1c], 1
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], bl
jb 0x474178
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0052d217
add esp, 4
push 0x691110
lea ecx, [ebp - 0x18c]
call fcn.005acfb0
mov eax, dword [0x68d390]
cmp dword [eax + 0x1a0], edi
jl 0x4741e1
mov edx, dword [eax + 0x1a0]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp + 8], edx
call fcn.0040deb0
add esp, 8
mov esi, eax
push 0x673160
mov ecx, 0x691178
mov byte [ebp - 4], 0xc
call fcn.00408b40
push esi
lea ecx, [eax + 0x24]
call fcn.004084f0
mov dword [eax + 0x1c], edi
cmp dword [ebp - 0x28], 0x10
jb 0x4741e1
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov eax, dword [0x6896b4]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.004778a0
mov esi, dword [ebp - 0x30]
push esi
lea ecx, [ebp + 8]
push 0x6896a4
push ecx
call fcn.00477590
mov ecx, dword [ebp - 0x2c]
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x410
add esp, 0xc
lea ecx, [ebp - 0x18c]
cmp eax, edi
jne 0x47423b
push edi
push edi
jmp 0x47423d
push eax
push esi
call fcn.005ace90
mov ecx, dword [0x68971c]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.005accf0
lea edx, [ebp - 0xac]
push edx
mov ecx, 0x68970c
call fcn.004475c0
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x689724
call fcn.004475c0
lea ecx, [ebp - 0x84]
push ecx
mov ecx, 0x68973c
call fcn.004475c0
lea edx, [ebp - 0x198]
push edx
mov ecx, 0x68970c
call fcn.00511b60
mov ebx, dword [ebp - 0xa4]
cmp ebx, dword [eax + 8]
setne al
test al, al
je 0x47439d
lea esp, [esp]
mov eax, dword [ebp - 0xac]
cmp eax, edi
jne 0x4742be
xor ecx, ecx
jmp 0x4742c0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov eax, ebx
cmp edx, ebx
ja 0x4742cb
sub eax, edx
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax*4]
push edx
lea ecx, [ebp - 0x18c]
call fcn.005acfb0
mov eax, dword [ebp - 0x68]
inc ebx
cmp eax, edi
jne 0x4742e9
xor ecx, ecx
jmp 0x4742eb
mov ecx, dword [eax]
mov eax, dword [ebp - 0x60]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x4742f7
sub eax, edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x410
lea ecx, [ebp - 0x18c]
cmp eax, edi
jne 0x474329
push edi
push edi
jmp 0x47432b
push eax
push esi
call fcn.005ace90
mov eax, dword [ebp - 0x84]
inc dword [ebp - 0x60]
cmp eax, edi
jne 0x474341
xor ecx, ecx
jmp 0x474343
mov ecx, dword [eax]
mov esi, dword [ebp - 0x7c]
mov edx, dword [ecx + 8]
mov eax, esi
cmp edx, esi
ja 0x474351
sub eax, edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
add eax, eax
add eax, eax
cmp eax, edi
jne 0x47436d
push edi
push edi
jmp 0x47436f
push eax
push ecx
lea ecx, [ebp - 0x18c]
call fcn.005ace90
lea edx, [ebp - 0x198]
inc esi
push edx
mov ecx, 0x68970c
mov dword [ebp - 0x7c], esi
call fcn.00511b60
cmp ebx, dword [eax + 8]
setne al
test al, al
jne 0x4742b0
call fcn.0048f3d0
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x4743b2
push eax
call fcn.0052d217
add esp, 4
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
cmp esi, edi
je 0x4743e7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4743e7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4743e7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 8
cmp esi, edi
je 0x47441c
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47441c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47441c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x4c]
cmp eax, edi
je 0x47442c
push eax
call fcn.0052d217
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
cmp eax, edi
je 0x474445
push eax
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - method.CMapData.virtual_0], vtable.CMapData.0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xcc], edi
je 0x47446f
lea ecx, [ebp - 0xcc]
call fcn.0040a830
cmp dword [ebp - 0xec], edi
je 0x474482
lea ecx, [ebp - 0xec]
call fcn.0040a330
cmp dword [ebp - 0x10c], edi
je 0x474495
lea ecx, [ebp - 0x10c]
call fcn.00409d40
cmp dword [ebp - 0x12c], edi
je 0x4744a8
lea ecx, [ebp - 0x12c]
call fcn.00409930
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0
call fcn.005ac8b0
cmp dword [ebp - 0x8c], 0x10
jb 0x4744cf
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0052d217
add esp, 4
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4