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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c669
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x40], 0x56d14c
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0x11
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0xa
mov byte [ebp - 4], 1
xor edi, edi
cmp edi, dword [ebx + 0xb0]
jge 0x473e96
mov eax, dword [0x5c2a74]
mov dword [ebp - 0xf0], 0x56b594
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
lea eax, [ebp - 0xf0]
push esi
push eax
push edi
lea ecx, [ebx + 8]
mov byte [ebp - 4], 2
call fcn.0051b270
test al, al
je 0x473e81
cmp byte [ebp - 0xb2], 4
jne 0x473e81
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 8], esi
jle 0x473e81
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x473e81
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx - 8]
cmp eax, 5
lea eax, [ebp - 0x70]
jg 0x473e68
lea eax, [ebp - 0xa0]
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push eax
call fcn.00478dc0
lea edx, [ebp - 0x8c]
mov ecx, eax
push edx
call fcn.005422f7
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.0043fb90
inc edi
jmp 0x473db5
xor edi, edi
mov eax, dword [ebx + 0xb0]
mov dword [ebp - 0x18], edi
cmp edi, eax
jge 0x47419b
mov eax, dword [0x5c2a74]
mov dword [ebp - 0xf0], 0x56b594
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
lea eax, [ebp - 0xf0]
push esi
push eax
push edi
lea ecx, [ebx + 8]
mov byte [ebp - 4], 3
call fcn.0051b270
test al, al
je 0x474186
mov al, byte [ebp - 0xa5]
test al, al
je 0x474186
cmp byte [ebp - 0xb2], 4
jne 0x474186
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 8], esi
jle 0x474186
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x474186
lea ecx, [ebp - 0x220]
call fcn.00451a20
mov ecx, dword [ebp - 0x70]
xor edi, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esi
mov eax, dword [ecx - 8]
cmp eax, 5
lea eax, [ebp - 0x70]
jg 0x473f82
lea eax, [ebp - 0xa0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x8c]
push esi
push eax
push edx
lea ecx, [ebp - 0x220]
call fcn.00455570
mov dword [ebp - 0x1c], eax
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x24], ebx
je 0x4740c0
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
inc edi
xor dl, dl
mov dword [ebp - 0x48], edi
xor eax, eax
cmp eax, esi
jge 0x473fc2
cmp dword [ecx + eax*4], edi
je 0x473fc6
inc eax
jmp 0x473fb6
test dl, dl
je 0x473fd7
mov eax, dword [ebp - 0x14]
xor esi, esi
inc eax
mov dword [ebx + 0x10], esi
mov ebx, dword [ebx + 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x473f9d
test byte [ebx + 8], 8
je 0x473ff2
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x10], 3
mov ebx, dword [ebx + 0x1c]
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
jmp 0x473f9d
mov eax, dword [0x5c2a74]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
mov edi, dword [ecx + 4]
push edi
call fcn.0053b08b
xor edx, edx
div dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x474093
mov esi, dword [eax + edx*4]
test esi, esi
je 0x474093
mov eax, dword [esi + 8]
push edi
push eax
call fcn.00526f6c
add esp, 8
test eax, eax
je 0x474031
mov esi, dword [esi]
jmp 0x474018
test esi, esi
je 0x474093
add esi, 0xc
lea ecx, [ebp - 0x20]
push esi
call fcn.005422f7
mov edi, dword [ebp - 0x20]
test edi, edi
mov esi, edi
je 0x474093
mov ecx, dword [ebp - 0x14]
xor eax, eax
inc ecx
mov dword [ebx + 0x10], 1
mov dword [ebp - 0x14], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea edx, [ebx + 1]
push edx
call fcn.0054276d
mov edx, dword [ebp - 0x24]
mov ecx, ebx
mov edi, eax
add esp, 4
mov dword [edx + 4], eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 4]
mov byte [ecx + ebx], 0
mov ebx, edx
jmp 0x4740a7
test byte [ebx + 8], 4
jne 0x4740a0
mov dword [ebx + 0x10], 2
mov dword [ebx + 4], 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.005421be
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebx + 0x1c]
xor esi, esi
jmp 0x473f9d
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x8c]
push edx
push eax
lea ecx, [ebp - 0x220]
call fcn.00455c30
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x4740f3
push eax
mov byte [ebp - 4], 6
call fcn.00542796
add esp, 4
mov dword [ebp - 4], 4
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, esi
jle 0x474144
lea ecx, [eax*4]
mov dword [ebp - 0x4c], eax
push ecx
call fcn.0054276d
mov edx, dword [ebp - 0x1c]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], eax
xor esi, esi
test edx, edx
je 0x47414a
mov eax, dword [edx + 0x10]
inc ecx
test eax, eax
je 0x47412d
cmp eax, 3
je 0x47412d
cmp eax, 1
jne 0x474139
cmp esi, dword [ebp - 0x4c]
jge 0x474138
mov eax, dword [ebp - 0x50]
mov dword [eax + esi*4], ecx
inc esi
mov edx, dword [edx + 0x1c]
jmp 0x474117
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xf0]
push ecx
push edx
lea ecx, [eax + 8]
call fcn.0051c450
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004550c0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.00451dc0
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x44]
xor esi, esi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.0043fb90
inc edi
jmp 0x473e98
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x4741d2
xor edi, edi
cmp edi, dword [ebp - 0x38]
jae 0x4741d2
mov esi, dword [eax + edi*4]
test esi, esi
je 0x4741ca
lea edx, [esi + 0xc]
push 1
push edx
call fcn.0053b067
lea eax, [esi + 8]
push 1
push eax
call fcn.0053b067
mov esi, dword [esi]
jmp 0x4741ac
mov eax, dword [ebp - 0x3c]
inc edi
xor esi, esi
jmp 0x4741a4
push eax
call fcn.00542796
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call fcn.0053d0f3
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x40], 0x56d14c
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 8
cmp eax, esi
je 0x474231
xor edi, edi
cmp edi, dword [ebp - 0x38]
jae 0x474231
mov esi, dword [eax + edi*4]
test esi, esi
je 0x474229
lea ecx, [esi + 0xc]
push 1
push ecx
call fcn.0053b067
lea edx, [esi + 8]
push 1
push edx
call fcn.0053b067
mov esi, dword [esi]
jmp 0x47420b
mov eax, dword [ebp - 0x3c]
inc edi
xor esi, esi
jmp 0x474203
push eax
call fcn.00542796
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call fcn.0053d0f3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret