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

Disassembly:
push 0xffffffffffffffff
push 0x50dd36
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov eax, dword [esp + 0x190]
cmp dword [eax + 0x42c], 0
mov ebp, dword [esp + 0x194]
mov ebx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov esi, edx
jne 0x46720c
call fcn.00438300
push 0x52c8c4
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
jmp 0x4674ac
test esi, esi
jne 0x46722e
call fcn.00438300
push 0x5285ec
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
jmp 0x4674ac
lea ecx, [esp + 0x54]
call fcn.00438f20
mov eax, esi
lea edx, [esp + 0x54]
call fcn.00439130
mov dword [esp + 0x188], 1
cmp byte [esp + 0x170], 0
lea eax, [esp + 0x60]
jne 0x46725f
mov eax, dword [esp + 0x5c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x467277
shr eax, 4
not al
and al, 1
jne 0x4672c6
mov ecx, ebx
call fcn.00438300
push 0x520648
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
cmp byte [esp + 0x170], 0
mov dword [esp + 0x54], vtable.t_str.0
jne 0x4674ac
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x4674ac
push eax
call fcn.004cc2c0
add esp, 4
jmp 0x4674ac
mov edi, dword [ebp + 4]
test edi, edi
je 0x4672d9
call fcn.004424f0
mov dword [ebp + 4], 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x58]
mov edi, ebx
call fcn.00468790
test al, al
jne 0x4672f7
push 0x528a94
jmp 0x46749c
push ebp
mov eax, ebx
call fcn.00427b50
test al, al
jne 0x46730d
push 0x52bc50
jmp 0x46749c
mov ebp, dword [esp + 0x18]
cmp dword [ebp], 0x46534650
jne 0x46748e
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x38
jb 0x46748e
mov edx, dword [ebp + 0x24]
xor eax, eax
add edx, ebp
xor ebx, ebx
cmp dword [ebp + 0x20], ebx
mov dword [esp + 0x50], edx
mov word [esp + 0x20], ax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov word [esp + 0x46], ax
jle 0x467478
lea ecx, [ecx + ebp + 6]
mov dword [esp + 0x18], ecx
cmp word [ecx], 0
jne 0x467463
mov ecx, dword [ebp + 0x28]
imul ecx, ebx
mov esi, dword [edx + ecx*4]
add esi, dword [ebp + 0x2c]
movzx eax, word [esi + ebp]
add esi, ebp
mov word [esp + 0x20], ax
test ax, ax
jne 0x4673ac
mov edx, dword [esi + 2]
mov eax, dword [esi + 6]
mov dword [esp + 0x22], edx
mov dword [esp + 0x26], eax
jmp 0x4673cb
cmp ax, 1
jne 0x4673cb
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esi + 2]
mov edx, dword [esi + 6]
add ecx, eax
add ecx, ebp
add edx, eax
add edx, ebp
mov dword [esp + 0x22], ecx
mov dword [esp + 0x26], edx
mov eax, dword [esi + 0xa]
mov edx, dword [esi + 0x12]
mov ecx, dword [esi + 0xe]
mov dword [esp + 0x2e], eax
mov ax, word [esi + 0x1c]
movsx edi, ax
mov dword [esp + 0x32], ecx
mov dword [esp + 0x36], edx
mov word [esp + 0x3e], ax
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004cf7ac
mov esi, dword [esi + 0x18]
add esi, dword [ebp + 0x2c]
add esp, 4
add esi, ebp
mov dword [esp + 0x3a], eax
test edi, edi
jle 0x467433
sub esi, eax
lea esp, [esp]
mov ecx, dword [esi + eax]
add ecx, dword [ebp + 0x2c]
add eax, 4
add ecx, ebp
sub edi, 1
mov dword [eax - 4], ecx
jne 0x467420
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
push edx
lea edi, [esp + 0x24]
mov ecx, esi
call fcn.00466b50
test al, al
jne 0x467452
mov ecx, esi
call fcn.00438350
mov eax, dword [esp + 0x3a]
push eax
call fcn.004cf7a1
mov edx, dword [esp + 0x54]
add esp, 4
mov ecx, dword [esp + 0x18]
inc ebx
add ecx, 8
cmp ebx, dword [ebp + 0x20]
mov dword [esp + 0x18], ecx
jl 0x467376
push ebp
call fcn.004cf7a1
add esp, 4
lea ecx, [esp + 0x54]
call fcn.00439080
mov al, 1
jmp 0x4674ae
push ebp
call fcn.004cf7a1
add esp, 4
push 0x52ca2c
mov ecx, ebx
call fcn.00402790
lea ecx, [esp + 0x54]
call fcn.00439080
xor al, al
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x178
ret 8